summaryrefslogtreecommitdiff
path: root/src/Witness_complex/concept
diff options
context:
space:
mode:
authorskachano <skachano@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2016-02-11 16:05:15 +0000
committerskachano <skachano@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2016-02-11 16:05:15 +0000
commitb7796215d4eac6b4c43ad70998c3737a6527eebb (patch)
treeef35441548725cb5aa1266fb93f9bf344fb2798f /src/Witness_complex/concept
parent2d8cc490a799d991fee29d923c15368c83d24f85 (diff)
Commited Marc's remarks
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/witness@1017 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: d87eb82f60f4f943f59622f33521bcdce7873091
Diffstat (limited to 'src/Witness_complex/concept')
-rw-r--r--src/Witness_complex/concept/Simplicial_complex.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/Witness_complex/concept/Simplicial_complex.h b/src/Witness_complex/concept/Simplicial_complex.h
index d7f3496d..9e9f2ff8 100644
--- a/src/Witness_complex/concept/Simplicial_complex.h
+++ b/src/Witness_complex/concept/Simplicial_complex.h
@@ -40,16 +40,11 @@ struct Simplicial_complex {
/** Returns a Simplex_hanlde that is different from all simplex handles
* of the simplices. */
Simplex_handle null_simplex();
- /** \brief Returns the number of simplices in the complex.
- *
- * Does not count the empty simplex. */
- size_t num_simplices();
/** \brief Iterator over the simplices of the complex,
* in an arbitrary order.
*
* 'value_type' must be 'Simplex_handle'.*/
- typedef unspecified Complex_simplex_iterator;
typedef unspecified Complex_simplex_range;
/**
@@ -71,19 +66,17 @@ struct Simplicial_complex {
*/
typedef unspecified Insertion_result_type;
- /** \brief Input range of vertices.
- * 'value_type' must be 'Vertex_handle'. */
- typedef unspecified Input_vertex_range;
-
/** \brief Inserts a simplex with vertices from a given range
* 'vertex_range' in the simplicial complex.
* */
+ template< typedef Input_vertex_range >
Insertion_result_type insert_simplex(Input_vertex_range const & vertex_range);
/** \brief Finds a simplex with vertices given by a range
*
* If a simplex exists, its Simplex_handle is returned.
* Otherwise null_simplex() is returned. */
+ template< typedef Input_vertex_range >
Simplex_handle find(Input_vertex_range const & vertex_range);
};