summaryrefslogtreecommitdiff
path: root/src/Witness_complex/include
diff options
context:
space:
mode:
authorskachano <skachano@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2017-02-02 11:17:52 +0000
committerskachano <skachano@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2017-02-02 11:17:52 +0000
commite4a4c6acf4d79fd0fe3817a36dd7bd4ce7845fb5 (patch)
tree53d2f727eb29b3e2c4a4181a91cab2f2c2232939 /src/Witness_complex/include
parent3a12263ce588039f6b67da06fa87173cc7fa5bae (diff)
Changed the internal representation of Nearest landmark table
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/relaxed-witness@2048 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: 885b5d305cc9c66bd5719ad989a69027d78e1945
Diffstat (limited to 'src/Witness_complex/include')
-rw-r--r--src/Witness_complex/include/gudhi/Strong_witness_complex.h3
-rw-r--r--src/Witness_complex/include/gudhi/Witness_complex.h3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/Witness_complex/include/gudhi/Strong_witness_complex.h b/src/Witness_complex/include/gudhi/Strong_witness_complex.h
index 058b5bbc..25b2f6e3 100644
--- a/src/Witness_complex/include/gudhi/Strong_witness_complex.h
+++ b/src/Witness_complex/include/gudhi/Strong_witness_complex.h
@@ -55,11 +55,12 @@ private:
typedef Active_witness<Id_distance_pair, Nearest_landmark_range> ActiveWitness;
typedef std::list< ActiveWitness > ActiveWitnessList;
typedef std::vector< Landmark_id > typeVectorVertex;
+ typedef std::vector<Nearest_landmark_range> Nearest_landmark_table_internal;
typedef Landmark_id Vertex_handle;
protected:
- Nearest_landmark_table_ nearest_landmark_table_;
+ Nearest_landmark_table_internal nearest_landmark_table_;
public:
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
diff --git a/src/Witness_complex/include/gudhi/Witness_complex.h b/src/Witness_complex/include/gudhi/Witness_complex.h
index a3436eba..8489083e 100644
--- a/src/Witness_complex/include/gudhi/Witness_complex.h
+++ b/src/Witness_complex/include/gudhi/Witness_complex.h
@@ -56,11 +56,12 @@ private:
typedef Active_witness<Id_distance_pair, Nearest_landmark_range> ActiveWitness;
typedef std::list< ActiveWitness > ActiveWitnessList;
typedef std::vector< Landmark_id > typeVectorVertex;
+ typedef std::vector<Nearest_landmark_range> Nearest_landmark_table_internal;
typedef Landmark_id Vertex_handle;
protected:
- Nearest_landmark_table_ nearest_landmark_table_;
+ Nearest_landmark_table_internal nearest_landmark_table_;
public:
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////