diff options
author | vrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb> | 2018-05-23 08:22:35 +0000 |
---|---|---|
committer | vrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb> | 2018-05-23 08:22:35 +0000 |
commit | 90bb34c0e81b57ed85131ccaa638f457338c9219 (patch) | |
tree | e9cfb890f54d705984ce70721e06f76c662a2e76 /src | |
parent | 71840751fcd4771d126c0ebe2f63a02c14e67186 (diff) |
Modify documentation for Simplex_tree make_filtration_non_decreasing
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/python_2.1.0_fix_vincent@3452 636b058d-ea47-450e-bf9e-a15bfbe3eedb
Former-commit-id: 304779c7952985d651750aded78cb32c6e583555
Diffstat (limited to 'src')
-rw-r--r-- | src/Simplex_tree/include/gudhi/Simplex_tree.h | 5 | ||||
-rw-r--r-- | src/cython/cython/simplex_tree.pyx | 6 |
2 files changed, 4 insertions, 7 deletions
diff --git a/src/Simplex_tree/include/gudhi/Simplex_tree.h b/src/Simplex_tree/include/gudhi/Simplex_tree.h index 7456cb1f..d9e2d73e 100644 --- a/src/Simplex_tree/include/gudhi/Simplex_tree.h +++ b/src/Simplex_tree/include/gudhi/Simplex_tree.h @@ -1238,9 +1238,8 @@ class Simplex_tree { } public: - /** \brief Browse the simplex tree to ensure the filtration is not decreasing. - * The simplex tree is browsed starting from the root until the leaf, and the filtration values are set with their - * parent value (increased), in case the values are decreasing. + /** \brief This function ensures that each simplex has a higher filtration value than its faces by increasing the + * filtration values. * @return The filtration modification information. * \post Some simplex tree functions require the filtration to be valid. `make_filtration_non_decreasing()` * function is not launching `initialize_filtration()` but returns the filtration modification information. If the diff --git a/src/cython/cython/simplex_tree.pyx b/src/cython/cython/simplex_tree.pyx index 38740f4f..667fd40b 100644 --- a/src/cython/cython/simplex_tree.pyx +++ b/src/cython/cython/simplex_tree.pyx @@ -402,10 +402,8 @@ cdef class SimplexTree: self.thisptr.expansion(max_dim) def make_filtration_non_decreasing(self): - """Browse the simplex tree to ensure the filtration is not decreasing. - The simplex tree is browsed starting from the root until the leaf, and - the filtration values are set with their parent value (increased), in - case the values are decreasing. + """This function ensures that each simplex has a higher filtration + value than its faces by increasing the filtration values. :returns: The filtration modification information. :rtype: bint |