summaryrefslogtreecommitdiff
path: root/src/Toplex_map/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/Toplex_map/include')
-rw-r--r--src/Toplex_map/include/gudhi/Lazy_Toplex_map.h5
-rw-r--r--src/Toplex_map/include/gudhi/Toplex_map.h4
2 files changed, 4 insertions, 5 deletions
diff --git a/src/Toplex_map/include/gudhi/Lazy_Toplex_map.h b/src/Toplex_map/include/gudhi/Lazy_Toplex_map.h
index 25281998..ea10d390 100644
--- a/src/Toplex_map/include/gudhi/Lazy_Toplex_map.h
+++ b/src/Toplex_map/include/gudhi/Lazy_Toplex_map.h
@@ -3,7 +3,6 @@
#include <gudhi/Toplex_map.h>
#include <boost/heap/fibonacci_heap.hpp>
-#include <cmath>
namespace Gudhi {
@@ -67,7 +66,7 @@ public:
/** \brief Number of simplices stored.
* \ingroup toplex_map */
- std::size_t num_simplices() const;
+ std::size_t num_maximal_simplices() const;
std::unordered_map<Vertex, std::size_t> gamma0_lbounds;
@@ -254,7 +253,7 @@ void Lazy_Toplex_map::clean(const Vertex v){
insert_simplex(*sptr);
}
-std::size_t Lazy_Toplex_map::num_simplices() const{
+std::size_t Lazy_Toplex_map::num_maximal_simplices() const{
return size;
}
diff --git a/src/Toplex_map/include/gudhi/Toplex_map.h b/src/Toplex_map/include/gudhi/Toplex_map.h
index 73d2c63d..5a6c7dbf 100644
--- a/src/Toplex_map/include/gudhi/Toplex_map.h
+++ b/src/Toplex_map/include/gudhi/Toplex_map.h
@@ -88,7 +88,7 @@ public:
/** \brief Number of maximal simplices.
* \ingroup toplex_map */
- std::size_t num_simplices() const;
+ std::size_t num_maximal_simplices() const;
std::set<Toplex_map::Vertex> unitary_collapse(const Toplex_map::Vertex k, const Toplex_map::Vertex d);
@@ -251,7 +251,7 @@ void Toplex_map::remove_vertex(const Toplex_map::Vertex x){
}
}
-std::size_t Toplex_map::num_simplices() const{
+std::size_t Toplex_map::num_maximal_simplices() const{
return maximal_cofaces(Simplex()).size();
}