diff options
author | skachano <skachano@636b058d-ea47-450e-bf9e-a15bfbe3eedb> | 2015-04-01 14:50:43 +0000 |
---|---|---|
committer | skachano <skachano@636b058d-ea47-450e-bf9e-a15bfbe3eedb> | 2015-04-01 14:50:43 +0000 |
commit | 42ef28d73a05b84ad02193e4f3bf76b416ba9a02 (patch) | |
tree | c703572ffde3f47b1c03d8a4c56cbf313c78a712 /src/Witness_complex | |
parent | e6d3a9c57f80f65997183f4e08ecee31d4bcaae1 (diff) |
Test commit: potentionally fix witness_complex_from_file.cpp file
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/witness@530 636b058d-ea47-450e-bf9e-a15bfbe3eedb
Former-commit-id: e5a3fd713024eb8a117ce58a1810f61af90490d0
Diffstat (limited to 'src/Witness_complex')
-rw-r--r-- | src/Witness_complex/example/simple_witness_complex.cpp | 2 | ||||
-rw-r--r-- | src/Witness_complex/example/witness_complex_from_file.cpp | 9 |
2 files changed, 6 insertions, 5 deletions
diff --git a/src/Witness_complex/example/simple_witness_complex.cpp b/src/Witness_complex/example/simple_witness_complex.cpp index 7a46ffb3..43921c4e 100644 --- a/src/Witness_complex/example/simple_witness_complex.cpp +++ b/src/Witness_complex/example/simple_witness_complex.cpp @@ -23,7 +23,7 @@ #include <iostream> #include <ctime> //#include "gudhi/graph_simplicial_complex.h" -#include "gudhi/Witness_complex1.h" +#include "gudhi/Witness_complex.h" using namespace Gudhi; diff --git a/src/Witness_complex/example/witness_complex_from_file.cpp b/src/Witness_complex/example/witness_complex_from_file.cpp index a0e192f7..e2a80e92 100644 --- a/src/Witness_complex/example/witness_complex_from_file.cpp +++ b/src/Witness_complex/example/witness_complex_from_file.cpp @@ -2,9 +2,9 @@ * (Geometric Understanding in Higher Dimensions) is a generic C++ * library for computational topology. * - * Author(s): Vincent Rouvreau + * Author(s): Siargey Kachanovich * - * Copyright (C) 2014 INRIA Sophia Antipolis-Méditerranée (France) + * Copyright (C) 2015 INRIA Sophia Antipolis-Méditerranée (France) * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -24,7 +24,7 @@ #include <fstream> #include <ctime> //#include "gudhi/graph_simplicial_complex.h" -#include "gudhi/Witness_complex1.h" +#include "gudhi/Witness_complex.h" using namespace Gudhi; @@ -81,7 +81,8 @@ int main (int argc, char * const argv[]) start = clock(); Point_Vector point_vector; read_points_cust(file_name, point_vector); - witnessComplex.witness_complex_from_file(point_vector, nbL); + witnessComplex.setNbL(nbL); + witnessComplex.witness_complex_from_points(point_vector); end = clock(); std::cout << "Howdy world! The process took " << (double)(end-start)/CLOCKS_PER_SEC << " s. \n"; |