summaryrefslogtreecommitdiff
path: root/src/Tangential_complex
diff options
context:
space:
mode:
authorfgodi <fgodi@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2017-10-26 15:57:09 +0000
committerfgodi <fgodi@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2017-10-26 15:57:09 +0000
commite5a2be33e10b0653258252451330c021fa0bc204 (patch)
tree2caeb4fe0c58920d540853e96267b94df6dc83d1 /src/Tangential_complex
parent03566e8a3a7f52f180bfa643b801f302c033f3fa (diff)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/toplex_map@2809 636b058d-ea47-450e-bf9e-a15bfbe3eedb
Former-commit-id: 67f6ba752b6284763cdc706d5dec3e100386c602
Diffstat (limited to 'src/Tangential_complex')
-rw-r--r--src/Tangential_complex/example/example_basic.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/Tangential_complex/example/example_basic.cpp b/src/Tangential_complex/example/example_basic.cpp
index 4f2b859e..39165397 100644
--- a/src/Tangential_complex/example/example_basic.cpp
+++ b/src/Tangential_complex/example/example_basic.cpp
@@ -1,5 +1,7 @@
#include <gudhi/Tangential_complex.h>
#include <gudhi/sparsify_point_set.h>
+#include <gudhi/Fake_simplex_tree.h>
+
#include <CGAL/Epick_d.h>
#include <CGAL/Random.h>
@@ -20,7 +22,7 @@ CGAL::Parallel_tag> TC;
int main(void) {
const int INTRINSIC_DIM = 2;
const int AMBIENT_DIM = 3;
- const int NUM_POINTS = 1000;
+ const int NUM_POINTS = 100;
Kernel k;
@@ -36,7 +38,8 @@ int main(void) {
tc.compute_tangential_complex();
// Export the TC into a Simplex_tree
- Gudhi::Simplex_tree<> stree;
+ //Gudhi::Simplex_tree<> stree;
+ Gudhi::Fake_simplex_tree stree;
tc.create_complex(stree);
// Display stats about inconsistencies