summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Witness_complex/include/gudhi/Strong_witness_complex.h2
-rw-r--r--src/Witness_complex/include/gudhi/Witness_complex.h10
2 files changed, 8 insertions, 4 deletions
diff --git a/src/Witness_complex/include/gudhi/Strong_witness_complex.h b/src/Witness_complex/include/gudhi/Strong_witness_complex.h
index c7b8c27b..03cdbcca 100644
--- a/src/Witness_complex/include/gudhi/Strong_witness_complex.h
+++ b/src/Witness_complex/include/gudhi/Strong_witness_complex.h
@@ -96,6 +96,7 @@ private:
* \brief Initializes member variables before constructing simplicial complex.
* \details Records landmarks from the range 'landmarks' into a
* table internally, as well as witnesses from the range 'witnesses'.
+ * Both ranges should have value_type Kernel_::Point_d.
*/
template< typename LandmarkRange,
typename WitnessRange >
@@ -116,6 +117,7 @@ private:
/** \brief Outputs the strong witness complex of relaxation 'max_alpha_square'
* in a simplicial complex data structure.
+ * \details The function returns true if the construction is successful and false otherwise.
* @param[out] complex Simplicial complex data structure, which is a model of
* SimplicialComplexForWitness concept.
* @param[in] max_alpha_square Maximal squared relaxation parameter.
diff --git a/src/Witness_complex/include/gudhi/Witness_complex.h b/src/Witness_complex/include/gudhi/Witness_complex.h
index c1d402c6..36aad7c3 100644
--- a/src/Witness_complex/include/gudhi/Witness_complex.h
+++ b/src/Witness_complex/include/gudhi/Witness_complex.h
@@ -90,6 +90,7 @@ private:
* \brief Initializes member variables before constructing simplicial complex.
* \details Records landmarks from the range 'landmarks' into a
* table internally, as well as witnesses from the range 'witnesses'.
+ * Both ranges should have value_type Kernel_::Point_d.
*/
template< typename LandmarkRange,
typename WitnessRange >
@@ -109,6 +110,7 @@ private:
/** \brief Outputs the (weak) witness complex of relaxation 'max_alpha_square'
* in a simplicial complex data structure.
+ * \details The function returns true if the construction is successful and false otherwise.
* @param[out] complex Simplicial complex data structure compatible which is a model of
* SimplicialComplexForWitness concept.
* @param[in] max_alpha_square Maximal squared relaxation parameter.
@@ -172,10 +174,10 @@ private:
//@}
private:
- /* \brief Adds recursively all the faces of a certain dimension dim witnessed by the same witness
- * Iterator is needed to know until how far we can take landmarks to form simplexes
- * simplex is the prefix of the simplexes to insert
- * The output value indicates if the witness rests active or not
+ /* \brief Adds recursively all the faces of a certain dimension dim witnessed by the same witness.
+ * Iterator is needed to know until how far we can take landmarks to form simplexes.
+ * simplex is the prefix of the simplexes to insert.
+ * The output value indicates if the witness rests active or not.
*/
template < typename SimplicialComplexForWitness >
bool add_all_faces_of_dimension(int dim,