diff options
author | skachano <skachano@636b058d-ea47-450e-bf9e-a15bfbe3eedb> | 2016-10-06 18:11:50 +0000 |
---|---|---|
committer | skachano <skachano@636b058d-ea47-450e-bf9e-a15bfbe3eedb> | 2016-10-06 18:11:50 +0000 |
commit | 07e6b3d053144329a03bf7c8f52538d221e6ea6d (patch) | |
tree | 393f6247f8c5eacd0c3776bb97203676de4b11a5 /src/Witness_complex/example/example_witness_complex_off.cpp | |
parent | d439da1345822fe25f58adb631f7d0cd9749ecfc (diff) |
Added persistence examples
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/relaxed-witness@1670 636b058d-ea47-450e-bf9e-a15bfbe3eedb
Former-commit-id: c7762be9b79ba70cca84a378915c2deef13211fd
Diffstat (limited to 'src/Witness_complex/example/example_witness_complex_off.cpp')
-rw-r--r-- | src/Witness_complex/example/example_witness_complex_off.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Witness_complex/example/example_witness_complex_off.cpp b/src/Witness_complex/example/example_witness_complex_off.cpp index 6b0060d9..849a0a40 100644 --- a/src/Witness_complex/example/example_witness_complex_off.cpp +++ b/src/Witness_complex/example/example_witness_complex_off.cpp @@ -53,8 +53,6 @@ int main(int argc, char * const argv[]) { int nbL = atoi(argv[2]); double alpha2 = atof(argv[3]); clock_t start, end; - - // Construct the Simplex Tree Gudhi::Simplex_tree<> simplex_tree; // Read the point file @@ -78,6 +76,7 @@ int main(int argc, char * const argv[]) { landmarks.end(), point_vector.begin(), point_vector.end()); + witness_complex.create_complex(simplex_tree, alpha2); end = clock(); std::cout << "Witness complex took " |