summaryrefslogtreecommitdiff
path: root/src/Simplex_tree/test/simplex_tree_unit_test.cpp
AgeCommit message (Collapse)Author
2022-11-04New function to insert several vertices in a Simplex_treeMarc Glisse
+ tweak insert_graph, in case vertex iteration does not happen in an increasing order.
2022-05-22Spelling correctionsalbert-github
A number of spelling corrections as reported by the codespell (see: https://github.com/codespell-project/codespell) program and lists. Some remarks: - not considered are grammatical errors - not considered are names in the code although there are a number that could be improved (like `childs` -> `children`) - in the documentation it could be made clearer what are variables and what is running text (e.g. by placing variables in running text between backticks) - some comments are in the French language, I think it would be better to have them in the English (United States version).
2022-05-17code review: test also the list of all oppposite vertices is the simplex ↵Vincent Rouvreau
given as an input
2022-05-17code review: test also range sizeVincent Rouvreau
2022-04-12identationVincent Rouvreau
2022-04-05Boundary and its opposite vertex iterator for the simplex treeVincent Rouvreau
2020-08-18reset_filtration from a dimension (instead of 'until')ROUVREAU Vincent
2020-07-03A proposal for simplex_tree reset_filtration (python & C++)ROUVREAU Vincent
2020-03-22Merge master and fix conflictsROUVREAU Vincent
2020-03-17Merge pull request #242 from mglisse/genripsMarc Glisse
Generators for Simplex_tree
2020-03-06Generators for simplex treeMarc Glisse
2020-03-05Add some tests and documentation for NaN management in ↵ROUVREAU Vincent
make_filtration_non_decreasing Simplex tree method
2020-01-27Code review: Use std::clog instead of std::coutROUVREAU Vincent
2019-08-14Fix #35 Modify Copyright as GUDHI is not only a C++ libraryROUVREAU Vincent
2019-02-14Fix of duplicated vertices in list.vrouvrea
Modify dimension computation. git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/simplex_tree_insert_duplicated_vertices_fix_vincent@4107 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: e6ac9ee4c9d34e59c07d9f5b16b13b5151608009
2019-01-18Add setS test for adjacency_list verticesvrouvrea
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/adjacency_list_direction_improvement@4066 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: 78e72b061f0e863617641384d7cca9291e107aac
2019-01-17adjacency lists can be directed, undirected or bidirectional for Simplex ↵vrouvrea
tree insert_graph method Use of directed adjacency lists to fasten computation and use less memory git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/adjacency_list_direction_improvement@4061 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: 839fabc15398ce590d09806bd783cd656029f3c1
2017-12-17Fix graph insertion.glisse
It currently ignores edge (i, j) with j<i, but nothing in the concept forbids such an edge. git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/misc-glisse@3080 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: 305f58b4995878da23b0fa07dc783c0bdceab6db
2017-10-26Merge last trunk modificationsvrouvrea
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/ST_automatic_dimension_set@2811 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: 2a37c02ca51d0df28a981207db6ecc1bd0991ffa
2017-09-22Remove global filtration attribute of te simplex tree (including getter and ↵vrouvrea
setter) git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/ST_remove_useless_global_filtration@2705 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: a6c179ae47e61d1ca12d1f54c4ae1fc0e3c1fde2
2017-09-20Separate and improve simplex tree iostream operators to test automatic ↵vrouvrea
dimension set on iostream operators git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/ST_automatic_dimension_set@2693 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: dafd077f3ed20eafaccdb27d56e02b3d9e5c44a7
2017-09-20Merge modifications for simplex_tree automatic dimension setvrouvrea
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/ST_automatic_dimension_set@2689 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: c18c6316d51f476a795b59c8b870db1aaf0b4591
2016-09-30Fix compilation issuesvrouvrea
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/rips_complex_module@1596 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: 343308ef914e6a6617890f49a55eb0bb8db15ee9
2016-09-15Fix cpplint and warningsvrouvrea
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/warning_fix@1502 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: afc7d137b66225954ebfe37a823f1f0b6bcfe7a5
2016-03-23prune_above_filtration returns filtration vector modification information ↵vrouvrea
instead of calling initialize_filtration() git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/alphashapes@1071 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: 6fdc1797ac6e7b452abe150643f0ec9578c3bbab
2016-03-14Remove Options::store_filtration check is true in prune_above_filtration ↵vrouvrea
function in order to let the user empty the tree To empty the tree, call initialize_filtration() and prune_above_filtration(-1) Add a UT to test this case git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/alphashapes@1044 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: bb4a916fb547c6312f2138d355903ef87525e9c4
2016-03-14No more use of threshold_ for prune_above_filtration because threshold may ↵vrouvrea
be not up to date git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/alphashapes@1043 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: b17d8ef63bc173b4c4b6b0bde31f97d85672a754
2016-01-19make_filtration_non_decreasing fixvrouvrea
Ut rewrite git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/alphashapes@974 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: 3326338b9454923b59d3e42add0f3530c6dbe16f
2016-01-15make_filtration_non_decreasing fix.vrouvrea
Make it non decreasing for border and not only for parent. git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/alphashapes@972 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: e71f40baa56de53e68b02603b64fb504b1f5d978
2016-01-12Backmerge of last trunk modificationsvrouvrea
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/alphashapes@959 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: a5c6ef0ae2ee1e18fff88b98131ff4d14a252152
2016-01-12Fix alpha complex remarks and bugsvrouvrea
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/alphashapes@957 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: fa837fd1a4373c2322db16353d98767907f34c79
2015-12-11Commit code and doc reviewvrouvrea
Still issue and lot of logs in simplex_tree::prune_above_filtration git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/alphashapes@945 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: cd4f60ddcacb0444e0eb3b9323d8042eb49b132e
2015-11-09Specific test for non-contiguous vertices.glisse
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/contiguous_vertices@898 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: 5295613117e6a66147dec38327b437bcf5b253c3
2015-11-09Change SimplexTreeUT so it can test several versions of Simplex_tree.glisse
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/contiguous_vertices@897 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: 55d2cf5d87323a54675fe787df3e76dc31a2d684
2015-11-09New Simplex_tree_options_fast_persistence, while ↵glisse
Simplex_tree_options_full_featured switches to the safe default of allowing non-contiguous vertices. git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/contiguous_vertices@896 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: 60bc11a90027ed17233903d22a6494198f30eeb1
2015-10-13Backmerge from trunkvrouvrea
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/alphashapes@853 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: 3f1b56bf4986df7bb2938ea2fff944eb9bf9b653
2015-10-08cpplint fixes on Contraction + warning fixes + Hide Hasse complex for Gudhi ↵vrouvrea
version 1.2.0 git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/trunk@841 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: ed7bf90a9ae0b000b995c6ae4bbdaedbb1a65dd5
2015-10-02Doxygen to be made from user version. Hypergenerator fix. Add definitions ↵vrouvrea
for debug traces. git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/trunk@821 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: 5625aaab792264df86d7d442a2e6ff9886cf5d24
2015-10-02Backmerge of trunkvrouvrea
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/alphashapes@820 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: 812e0b84d187dd5e30a6a18c12612ebc9bf9206a
2015-09-14Roll back of "included" in boost test inclusion filesvrouvrea
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/trunk@788 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: fbd79bdda8e0f31cef2847dcab8dab9129645618
2015-09-10operator==vrouvrea
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/copy_move@782 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: 498e8c3f35d105b22752983360fbf8229c224776
2015-09-09Issue fix for operator==. Replaced by is_equal function (constify is ↵vrouvrea
required first for operator==) git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/copy_move@775 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: 90d5e30caafb0679117be1ea40a12753847e9ab7
2015-09-04Peer review fixvrouvrea
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/copy_move@772 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: e2896c0a1dc03cb8f87771910b6c756a755f258c
2015-09-01order was not correct in rec_insert_simplex_and_subfaces. + UT fix according ↵vrouvrea
to this fix git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/alphashapes@767 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: a6c7bcc3776e01c2247fbd862b4a3842b76aefe0
2015-08-24Fixanmoreau
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/copy_move@759 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: a054ef614924cb102410aa66d24ad29c419638cb
2015-08-24fixanmoreau
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/copy_move@755 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: 753dc7c276758bb612cf1be4ade131724716828d
2015-08-19num_simplices computation instead of increment/set methods.vrouvrea
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/num_simplices@743 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: 42bad5e259ea540b5ec020f293b2dff86c83101f
2015-08-18Multiple fixesanmoreau
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/copy_move@741 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: c88c6e221ad320b123fc82c7d4f1b26f29204524
2015-08-05several fixesanmoreau
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/copy_move@724 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: 8eb82645458ae536d1cba8682a50880ba377cb7f
2015-07-11More static/const on member functions in Simplex_tree.glisse
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/trunk@699 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: 80933ccb090cf7f8119d81c77fee10155f6341f4