diff options
author | fgodi <fgodi@636b058d-ea47-450e-bf9e-a15bfbe3eedb> | 2018-05-23 12:49:44 +0000 |
---|---|---|
committer | fgodi <fgodi@636b058d-ea47-450e-bf9e-a15bfbe3eedb> | 2018-05-23 12:49:44 +0000 |
commit | 0522bc89cf47440088c284c640d9800504f7548e (patch) | |
tree | 3d9e95169faa5135919a16f2584381ef9a34b50d /src/Toplex_map/benchmark | |
parent | 68443280388d3a83adc3f927b3252b2debafb11c (diff) |
strange
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/toplex_map@3455 636b058d-ea47-450e-bf9e-a15bfbe3eedb
Former-commit-id: 4e66029b1f96b6843de7c5249b5e5206a964e619
Diffstat (limited to 'src/Toplex_map/benchmark')
-rw-r--r-- | src/Toplex_map/benchmark/chrono.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Toplex_map/benchmark/chrono.cpp b/src/Toplex_map/benchmark/chrono.cpp index e65dcba2..a745f099 100644 --- a/src/Toplex_map/benchmark/chrono.cpp +++ b/src/Toplex_map/benchmark/chrono.cpp @@ -3,12 +3,14 @@ #include <chrono> #include <gudhi/Simplex_tree.h> +#include <gudhi/Toplex_map.h> #include <gudhi/Lazy_Toplex_map.h> using namespace Gudhi; -typedef Toplex_map::Vertex Vertex; typedef Toplex_map::Simplex Simplex; +typedef Toplex_map::Vertex Vertex; +typedef std::pair< Simplex_tree<>::Simplex_handle, bool > typePairSimplexBool; class ST_wrapper { @@ -65,7 +67,7 @@ int nb_contraction = 300; int nb_insert_simplex2 = 3000; int nb_membership2 = 400000; -Simplex random_simplex(int n, int d){ +Simplex random_simplex(int n, std::size_t d){ std::random_device rd; std::mt19937 gen(rd()); std::uniform_int_distribution<std::size_t> dis(1, n); |