summaryrefslogtreecommitdiff
path: root/src/Simplex_tree/include/gudhi
diff options
context:
space:
mode:
authorglisse <glisse@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2015-08-20 12:10:59 +0000
committerglisse <glisse@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2015-08-20 12:10:59 +0000
commit683fbc62a3640361b1e204ac52ed61059df1d52f (patch)
treeca7e900b782ebae841151c70c38b44dc5d6b4a05 /src/Simplex_tree/include/gudhi
parentf98b5a5f13d9657eb6ca924ca9909d4d29c9641a (diff)
Some doc for SimplexTreeOptions.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/ST-options@745 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: 2560e01a832071e13486bfaabfdf166b705d5a70
Diffstat (limited to 'src/Simplex_tree/include/gudhi')
-rw-r--r--src/Simplex_tree/include/gudhi/Simplex_tree.h22
1 files changed, 12 insertions, 10 deletions
diff --git a/src/Simplex_tree/include/gudhi/Simplex_tree.h b/src/Simplex_tree/include/gudhi/Simplex_tree.h
index 11c41d1b..44ee7693 100644
--- a/src/Simplex_tree/include/gudhi/Simplex_tree.h
+++ b/src/Simplex_tree/include/gudhi/Simplex_tree.h
@@ -74,6 +74,16 @@ namespace Gudhi {
* @{
*/
+/// Model of SimplexTreeOptions.
+struct Simplex_tree_options_full_featured {
+ typedef linear_indexing_tag Indexing_tag;
+ typedef int Vertex_handle;
+ typedef double Filtration_value;
+ typedef int Simplex_key;
+ static constexpr bool store_key = true;
+ static constexpr bool store_filtration = true;
+};
+
/**
* \brief Simplex Tree data structure for representing simplicial complexes.
*
@@ -86,18 +96,10 @@ namespace Gudhi {
*
*/
-struct Simplex_tree_options_full_featured {
- typedef linear_indexing_tag Indexing_tag;
- typedef int Vertex_handle;
- typedef double Filtration_value;
- typedef int Simplex_key;
- static constexpr bool store_key = true;
- static constexpr bool store_filtration = true;
-};
-
-template<typename Options = Simplex_tree_options_full_featured>
+template<typename SimplexTreeOptions = Simplex_tree_options_full_featured>
class Simplex_tree {
public:
+ typedef SimplexTreeOptions Options;
typedef typename Options::Indexing_tag Indexing_tag;
/** \brief Type for the value of the filtration function.
*