TTK
Loading...
Searching...
No Matches
PersistenceCurve.h
Go to the documentation of this file.
1
31
32#pragma once
33
34// base code includes
35#include <Debug.h>
37
38namespace ttk {
39 class PersistenceCurve : virtual public Debug {
40 public:
42
46 using PlotType = std::vector<std::pair<double, SimplexId>>;
47
57 int execute(std::array<PlotType, 4> &plots,
58 const DiagramType &diagram) const;
59 };
60} // namespace ttk
Minimalist debugging class.
Definition Debug.h:88
TTK processing package for the computation of persistence curves.
int execute(std::array< PlotType, 4 > &plots, const DiagramType &diagram) const
Compute the Persistence Curve from the input Diagram.
std::vector< std::pair< double, SimplexId > > PlotType
The Topology ToolKit.
std::vector< PersistencePair > DiagramType
Persistence Diagram type as a vector of Persistence pairs.