diff options
Diffstat (limited to 'src/Bottleneck_distance/concept/Persistence_diagram.h')
-rw-r--r-- | src/Bottleneck_distance/concept/Persistence_diagram.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/Bottleneck_distance/concept/Persistence_diagram.h b/src/Bottleneck_distance/concept/Persistence_diagram.h new file mode 100644 index 00000000..bd90cc11 --- /dev/null +++ b/src/Bottleneck_distance/concept/Persistence_diagram.h @@ -0,0 +1,26 @@ +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; + const_iterator<Diagram_point> cend() const; +}; + +} //namespace Concept +} //namespace Bottleneck_distance +} //namespace Gudhi |