summaryrefslogtreecommitdiff
path: root/src/Bottleneck_distance/concept
diff options
context:
space:
mode:
Diffstat (limited to 'src/Bottleneck_distance/concept')
-rw-r--r--src/Bottleneck_distance/concept/Persistence_diagram.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/Bottleneck_distance/concept/Persistence_diagram.h b/src/Bottleneck_distance/concept/Persistence_diagram.h
index 27a258d8..bd90cc11 100644
--- a/src/Bottleneck_distance/concept/Persistence_diagram.h
+++ b/src/Bottleneck_distance/concept/Persistence_diagram.h
@@ -2,11 +2,19 @@ namespace Gudhi {
namespace Bottleneck_distance {
namespace Concept {
+/** \brief Concept of persistence diagram point. The double first is the birth of the component and the double second is the death of the component.
+ *
+ * \ingroup bottleneck_distance
+ */
struct Diagram_point{
double first;
double second;
};
+/** \brief Concept of persistence diagram.
+ *
+ * \ingroup bottleneck_distance
+ */
struct Persistence_Diagram
{
const_iterator<Diagram_point> cbegin() const;