summaryrefslogtreecommitdiff
path: root/src/Bipartite_graphs_matching/example/basic.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Bipartite_graphs_matching/example/basic.cpp')
-rw-r--r--src/Bipartite_graphs_matching/example/basic.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/Bipartite_graphs_matching/example/basic.cpp b/src/Bipartite_graphs_matching/example/basic.cpp
index 26f9519e..772bcd4a 100644
--- a/src/Bipartite_graphs_matching/example/basic.cpp
+++ b/src/Bipartite_graphs_matching/example/basic.cpp
@@ -26,14 +26,14 @@
using namespace Gudhi::bipartite_graph_matching;
int main() {
- std::vector< Internal_point > v1, v2;
+ std::vector< std::pair<double,double> > v1, v2;
- v1.push_back(Internal_point(2.7,3.7));
- v1.push_back(Internal_point(9.6,14));
- v1.push_back(Internal_point(34.2,34.974));
+ v1.push_back(std::pair<double,double>(2.7,3.7));
+ v1.push_back(std::pair<double,double>(9.6,14));
+ v1.push_back(std::pair<double,double>(34.2,34.974));
- v2.push_back(Internal_point(2.8,4.45));
- v2.push_back(Internal_point(9.5,14.1));
+ v2.push_back(std::pair<double,double>(2.8,4.45));
+ v2.push_back(std::pair<double,double>(9.5,14.1));
double b = bottleneck_distance(v1, v2);