summaryrefslogtreecommitdiff
path: root/src/Subsampling
diff options
context:
space:
mode:
authorskachano <skachano@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2016-06-20 13:24:52 +0000
committerskachano <skachano@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2016-06-20 13:24:52 +0000
commit3c65ebebc4bfc32ec1b436c3d99a1f97a94b60d7 (patch)
tree1c7c56d782e9e3cec1af381a5545b1a806748394 /src/Subsampling
parent730b337735ae0ce0ee8f849910e637ca479a93b5 (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/Subsampling')
-rw-r--r--src/Subsampling/test/landmarking.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Subsampling/test/landmarking.cpp b/src/Subsampling/test/landmarking.cpp
index 3131c798..a2c85349 100644
--- a/src/Subsampling/test/landmarking.cpp
+++ b/src/Subsampling/test/landmarking.cpp
@@ -2,8 +2,8 @@
// # define TBB_USE_THREADING_TOOL
// #endif
-#include <gudhi/Landmark_choice_by_random_point.h>
-#include <gudhi/Landmark_choice_by_farthest_point.h>
+#include <gudhi/pick_random_points.h>
+#include <gudhi/choose_by_farthest_point.h>
#include <vector>
#include <iterator>
@@ -35,13 +35,13 @@ int main() {
std::vector<Point_d> landmarks;
- Gudhi::landmark_choice_by_random_point(vect, 5, std::back_inserter(landmarks));
+ Gudhi::pick_random_points(vect, 5, std::back_inserter(landmarks));
std::cout << "landmark vector contains: ";
for (auto l: landmarks)
std::cout << l << "\n";
landmarks.clear();
K k;
- Gudhi::landmark_choice_by_farthest_point(k, vect, 16, std::back_inserter(landmarks));
+ Gudhi::choose_by_farthest_point(k, vect, 16, std::back_inserter(landmarks));
}