summaryrefslogtreecommitdiff
path: root/src/Bottleneck_distance/concept/Persistence_diagram.h
blob: bd90cc11ce0dc08df39ce87991097bc760a1d6a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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