diff options
author | fgodi <fgodi@636b058d-ea47-450e-bf9e-a15bfbe3eedb> | 2016-12-15 10:00:19 +0000 |
---|---|---|
committer | fgodi <fgodi@636b058d-ea47-450e-bf9e-a15bfbe3eedb> | 2016-12-15 10:00:19 +0000 |
commit | 9906477eb45f16cfafe7186482f4c44606c575dc (patch) | |
tree | 86d89ee1a46fa0ee063366152778a15cfb09448a /src/Bottleneck_distance/include/gudhi/Bottleneck.h | |
parent | 524652d3a8a46dd9749821ad2e7684937179d4eb (diff) |
namespace
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/bottleneck_integration@1877 636b058d-ea47-450e-bf9e-a15bfbe3eedb
Former-commit-id: 0d15f01525272ec8bea7436fa18dbac213becf0a
Diffstat (limited to 'src/Bottleneck_distance/include/gudhi/Bottleneck.h')
-rw-r--r-- | src/Bottleneck_distance/include/gudhi/Bottleneck.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Bottleneck_distance/include/gudhi/Bottleneck.h b/src/Bottleneck_distance/include/gudhi/Bottleneck.h index 4a69fb96..0c9e5ea8 100644 --- a/src/Bottleneck_distance/include/gudhi/Bottleneck.h +++ b/src/Bottleneck_distance/include/gudhi/Bottleneck.h @@ -28,7 +28,7 @@ namespace Gudhi { -namespace bottleneck_distance { +namespace persistence_diagram { /** \brief Function to use in order to compute the Bottleneck distance between two persistence diagrams (see Concepts). * If the last parameter e is not 0 (default value if not explicited), you get an additive e-approximation. @@ -36,7 +36,7 @@ namespace bottleneck_distance { * \ingroup bottleneck_distance */ template<typename Persistence_diagram1, typename Persistence_diagram2> -double compute(const Persistence_diagram1 &diag1, const Persistence_diagram2 &diag2, double e=0.) { +double bottleneck_distance(const Persistence_diagram1 &diag1, const Persistence_diagram2 &diag2, double e=0.) { Persistence_graph g(diag1, diag2, e); double b = g.bottleneck_alive(); if(b == std::numeric_limits<double>::infinity()) @@ -69,7 +69,7 @@ double compute(const Persistence_diagram1 &diag1, const Persistence_diagram2 &di -} // namespace bottleneck_distance +} // namespace persistence_diagram } // namespace Gudhi |