From 0921d31dec497b21a3b2805790ef295e90566e3d Mon Sep 17 00:00:00 2001 From: vrouvrea Date: Thu, 2 Feb 2017 07:58:53 +0000 Subject: Change doc html theme. Change tables git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/ST_cythonize@2047 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: aaa29b8f610d506efc3762ad17c4fd768e74d399 --- src/cython/doc/alpha_complex_user.rst | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'src/cython/doc/alpha_complex_user.rst') diff --git a/src/cython/doc/alpha_complex_user.rst b/src/cython/doc/alpha_complex_user.rst index 1ca96b6e..f1c57248 100644 --- a/src/cython/doc/alpha_complex_user.rst +++ b/src/cython/doc/alpha_complex_user.rst @@ -74,11 +74,13 @@ Data structure In order to build the alpha complex, first, a Simplex tree is built from the cells of a Delaunay Triangulation. (The filtration value is set to NaN, which stands for unknown value): -.. image:: +.. figure:: img/alpha_complex_doc.png - :align: center + :figclass: align-center :alt: Simplex tree structure construction example + Simplex tree structure construction example + Filtration value computation algorithm ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -87,9 +89,9 @@ Filtration value computation algorithm **if** filtration(:math:`\sigma`) is NaN **then** filtration(:math:`\sigma`) = :math:`\alpha^2(\sigma)` **end if** - + *//propagate alpha filtration value* - + **for all** :math:`\tau` face of :math:`\sigma` **if** filtration(:math:`\tau`) is not NaN **then** filtration(:math:`\tau`) = filtration(:math:`\sigma`) @@ -109,11 +111,13 @@ From the example above, it means the algorithm looks into each triangle ([0,1,2] computes the filtration value of the triangle, and then propagates the filtration value as described here: -.. image:: +.. figure:: img/alpha_complex_doc_420.png - :align: center + :figclass: align-center :alt: Filtration value propagation example + Filtration value propagation example + Dimension 1 ^^^^^^^^^^^ -- cgit v1.2.3