summaryrefslogtreecommitdiff
path: root/src/Witness_complex/include
diff options
context:
space:
mode:
authorskachano <skachano@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2015-04-08 14:50:03 +0000
committerskachano <skachano@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2015-04-08 14:50:03 +0000
commit244d9ce5a5cb9050255cf519def9bdb273646f81 (patch)
tree53ae2ba1618337366a6d40bd79da4c992ca038a7 /src/Witness_complex/include
parent30b0effaf86ff300c5519e0919b33f61fc4a14f8 (diff)
Added rock-age style off reader
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/witness@553 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: 74462161c45893cfbfcc1875569b93b365445e35
Diffstat (limited to 'src/Witness_complex/include')
-rw-r--r--src/Witness_complex/include/gudhi/Witness_complex.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Witness_complex/include/gudhi/Witness_complex.h b/src/Witness_complex/include/gudhi/Witness_complex.h
index 1b50ca95..f4b1d62c 100644
--- a/src/Witness_complex/include/gudhi/Witness_complex.h
+++ b/src/Witness_complex/include/gudhi/Witness_complex.h
@@ -184,6 +184,7 @@ namespace Gudhi {
active_w.push_back(i);
}
}
+ std::cout << "k=1, active witnesses: " << active_w.size() << std::endl;
//std::cout << "Successfully added edges" << std::endl;
while (!active_w.empty() && k < nbL )
{
@@ -206,6 +207,7 @@ namespace Gudhi {
else
active_w.erase(it++); //First increase the iterator and then erase the previous element
}
+ std::cout << "k=" << k << ", active witnesses: " << active_w.size() << std::endl;
k++;
}
//print_sc(root()); std::cout << std::endl;
@@ -453,7 +455,7 @@ private:
template <typename KNearestNeighbours>
void landmark_choice_by_random_points(Point_Vector &W, int nbP, KNearestNeighbours &WL)
{
- //std::cout << "Enter landmark_choice_by_random_points "<< std::endl;
+ std::cout << "Enter landmark_choice_by_random_points "<< std::endl;
//std::cout << "W="; print_vvector(W);
std::unordered_set< int > chosen_landmarks; // landmark set