11 #ifndef PERSISTENCE_INTERVALS_WITH_DISTANCES_H_
12 #define PERSISTENCE_INTERVALS_WITH_DISTANCES_H_
14 #include <gudhi/Persistence_intervals.h>
15 #include <gudhi/Bottleneck.h>
20 namespace Persistence_representations {
36 double distance(
const Persistence_intervals_with_distances& second,
double power = std::numeric_limits<double>::max(),
37 double tolerance = (std::numeric_limits<double>::min)())
const {
38 if (power >= std::numeric_limits<double>::max()) {
41 std::cerr <<
"At the moment Gudhi do not support Wasserstein distances. We only support Bottleneck distance."
43 throw "At the moment Gudhi do not support Wasserstein distances. We only support Bottleneck distance.";
51 #endif // PERSISTENCE_INTERVALS_WITH_DISTANCES_H_