From d3c7bfc6a3a5db3747da5055246c709ceddc09de Mon Sep 17 00:00:00 2001 From: vrouvrea Date: Tue, 22 Nov 2016 14:35:22 +0000 Subject: Add rips distance matrix example to be more visible in the doc git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/distance_matrix_in_rips_module@1769 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: 921a2702188a587c93600440a7e5cee675a8cd63 --- .../doc/Intro_persistent_cohomology.h | 20 +++++++++++++------- src/common/doc/main_page.h | 3 +++ 2 files changed, 16 insertions(+), 7 deletions(-) (limited to 'src') diff --git a/src/Persistent_cohomology/doc/Intro_persistent_cohomology.h b/src/Persistent_cohomology/doc/Intro_persistent_cohomology.h index 433cfd3e..40dd3f93 100644 --- a/src/Persistent_cohomology/doc/Intro_persistent_cohomology.h +++ b/src/Persistent_cohomology/doc/Intro_persistent_cohomology.h @@ -144,17 +144,23 @@ namespace persistent_cohomology { We provide several example files: run these examples with -h for details on their use, and read the README file. \li -Persistent_cohomology/rips_persistence.cpp computes the Rips complex of a point cloud and its persistence diagram. +Persistent_cohomology/rips_persistence.cpp computes the Rips complex of a point cloud and outputs its persistence +diagram. +\code $> ./rips_persistence ../../data/points/tore3D_1307.off -r 0.25 -m 0.5 -d 3 -p 3 \endcode +\code The complex contains 177838 simplices + and has dimension 3 +3 0 0 inf +3 1 0.0983494 inf +3 1 0.104347 inf +3 2 0.138335 inf \endcode \li -Persistent_cohomology/rips_multifield_persistence.cpp computes the Rips complex of a point cloud and its +Persistent_cohomology/rips_multifield_persistence.cpp computes the Rips complex of a point cloud and outputs its persistence diagram with a family of field coefficients. -\li -Persistent_cohomology/performance_rips_persistence.cpp provides timings for the construction of the Rips complex -on a set of points sampling a Klein bottle in \f$\mathbb{R}^5\f$ with a simplex tree, its conversion to a -Hasse diagram and the computation of persistent homology and multi-field persistent homology for the -different representations. +\li +Persistent_cohomology/rips_distance_matrix_persistence.cpp computes the Rips complex of a distance matrix and +outputs its persistence diagram. \li Persistent_cohomology/alpha_complex_3d_persistence.cpp computes the persistent homology with diff --git a/src/common/doc/main_page.h b/src/common/doc/main_page.h index 85ae8679..a325a908 100644 --- a/src/common/doc/main_page.h +++ b/src/common/doc/main_page.h @@ -313,6 +313,8 @@ make \endverbatim * Persistent_cohomology/persistence_from_simple_simplex_tree.cpp * \li * Persistent_cohomology/plain_homology.cpp + * \li + * Persistent_cohomology/rips_distance_matrix_persistence.cpp * \li * Persistent_cohomology/rips_multifield_persistence.cpp * \li @@ -364,6 +366,7 @@ make \endverbatim * @example Persistent_cohomology/persistence_from_simple_simplex_tree.cpp * @example Persistent_cohomology/plain_homology.cpp * @example Persistent_cohomology/rips_multifield_persistence.cpp + * @example Persistent_cohomology/rips_distance_matrix_persistence.cpp * @example Persistent_cohomology/rips_persistence.cpp * @example Persistent_cohomology/custom_persistence_sort.cpp * @example Rips_complex/example_one_skeleton_rips_from_points.cpp -- cgit v1.2.3