diff options
author | skachano <skachano@636b058d-ea47-450e-bf9e-a15bfbe3eedb> | 2016-06-20 13:24:52 +0000 |
---|---|---|
committer | skachano <skachano@636b058d-ea47-450e-bf9e-a15bfbe3eedb> | 2016-06-20 13:24:52 +0000 |
commit | 3c65ebebc4bfc32ec1b436c3d99a1f97a94b60d7 (patch) | |
tree | 1c7c56d782e9e3cec1af381a5545b1a806748394 /src/Witness_complex/example | |
parent | 730b337735ae0ce0ee8f849910e637ca479a93b5 (diff) |
Renamed the two landmarking functions
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/subsampling_and_spatialsearching@1314 636b058d-ea47-450e-bf9e-a15bfbe3eedb
Former-commit-id: 5025e0aff02306d61fa809eac10b7db27947b120
Diffstat (limited to 'src/Witness_complex/example')
-rw-r--r-- | src/Witness_complex/example/witness_complex_from_file.cpp | 4 | ||||
-rw-r--r-- | src/Witness_complex/example/witness_complex_sphere.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/Witness_complex/example/witness_complex_from_file.cpp b/src/Witness_complex/example/witness_complex_from_file.cpp index fbc3cf1d..17b63dcf 100644 --- a/src/Witness_complex/example/witness_complex_from_file.cpp +++ b/src/Witness_complex/example/witness_complex_from_file.cpp @@ -26,7 +26,7 @@ #include <gudhi/Simplex_tree.h> #include <gudhi/Witness_complex.h> #include <gudhi/Construct_closest_landmark_table.h> -#include <gudhi/Landmark_choice_by_random_point.h> +#include <gudhi/pick_random_points.h> #include <gudhi/reader_utils.h> #include <iostream> @@ -87,7 +87,7 @@ int main(int argc, char * const argv[]) { // Choose landmarks start = clock(); std::vector<std::vector< int > > knn; - Gudhi::landmark_choice_by_random_point(point_vector, 100, std::back_inserter(landmarks)); + Gudhi::pick_random_points(point_vector, 100, std::back_inserter(landmarks)); Gudhi::witness_complex::construct_closest_landmark_table(point_vector, landmarks, knn); end = clock(); std::cout << "Landmark choice for " << nbL << " landmarks took " diff --git a/src/Witness_complex/example/witness_complex_sphere.cpp b/src/Witness_complex/example/witness_complex_sphere.cpp index 9cf2f119..495a5895 100644 --- a/src/Witness_complex/example/witness_complex_sphere.cpp +++ b/src/Witness_complex/example/witness_complex_sphere.cpp @@ -28,7 +28,7 @@ #include <gudhi/Simplex_tree.h> #include <gudhi/Witness_complex.h> #include <gudhi/Construct_closest_landmark_table.h> -#include <gudhi/Landmark_choice_by_random_point.h> +#include <gudhi/pick_random_points.h> #include <gudhi/reader_utils.h> #include <iostream> @@ -76,7 +76,7 @@ int main(int argc, char * const argv[]) { // Choose landmarks start = clock(); std::vector<std::vector< int > > knn; - Gudhi::landmark_choice_by_random_point(point_vector, 100, std::back_inserter(landmarks)); + Gudhi::pick_random_points(point_vector, 100, std::back_inserter(landmarks)); Gudhi::witness_complex::construct_closest_landmark_table(point_vector, landmarks, knn); // Compute witness complex |