diff options
author | tlacombe <lacombe1993@gmail.com> | 2020-03-31 12:53:42 +0200 |
---|---|---|
committer | tlacombe <lacombe1993@gmail.com> | 2020-03-31 12:53:42 +0200 |
commit | e6c21aa957bbf66854f31824cd4313c61f7ea9fc (patch) | |
tree | 091c246f585e5836a2b1868414227d3d12938eaa /src/Skeleton_blocker/include/gudhi/Skeleton_blocker.h | |
parent | dae83f0907a5bd94cb483ad0f54755da2d49fb75 (diff) | |
parent | 2f46606b406aafc69e37a68dca33e1858ab7b817 (diff) |
merged master
Diffstat (limited to 'src/Skeleton_blocker/include/gudhi/Skeleton_blocker.h')
-rw-r--r-- | src/Skeleton_blocker/include/gudhi/Skeleton_blocker.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/Skeleton_blocker/include/gudhi/Skeleton_blocker.h b/src/Skeleton_blocker/include/gudhi/Skeleton_blocker.h index bcca851f..653a63fd 100644 --- a/src/Skeleton_blocker/include/gudhi/Skeleton_blocker.h +++ b/src/Skeleton_blocker/include/gudhi/Skeleton_blocker.h @@ -154,8 +154,8 @@ of a simplicial complex. else euler -= 1; } - std::cout << "Saw "<<num_vertices<<" vertices, "<<num_edges<<" edges and "<<num_simplices<<" simplices"<<std::endl; - std::cout << "The Euler Characteristic is "<<euler<<std::endl; + std::clog << "Saw "<<num_vertices<<" vertices, "<<num_edges<<" edges and "<<num_simplices<<" simplices"<<std::endl; + std::clog << "The Euler Characteristic is "<<euler<<std::endl; \endcode @@ -182,13 +182,13 @@ The Euler Characteristic is 1 //get complex from top faces make_complex_from_top_faces(complex,simplices.begin(),simplices.end()); - std::cout << "Simplices:"<<std::endl; + std::clog << "Simplices:"<<std::endl; for(const Simplex & s : complex.star_simplex_range()) - std::cout << s << " "; - std::cout << std::endl; + std::clog << s << " "; + std::clog << std::endl; //One blocker as simplex 0123 is not in the complex but all its proper faces are. - std::cout << "Blockers: "<<complex.blockers_to_string()<<std::endl; + std::clog << "Blockers: "<<complex.blockers_to_string()<<std::endl; //now build a complex from its full list of simplices simplices.clear(); @@ -200,13 +200,13 @@ The Euler Characteristic is 1 simplices.push_back(Simplex(Vertex_handle(2),Vertex_handle(0))); complex = Complex(simplices.begin(),simplices.end()); - std::cout << "Simplices:"<<std::endl; + std::clog << "Simplices:"<<std::endl; for(const Simplex & s : complex.star_simplex_range()) - std::cout << s << " "; - std::cout << std::endl; + std::clog << s << " "; + std::clog << std::endl; //One blocker as simplex 012 is not in the complex but all its proper faces are. - std::cout << "Blockers: "<<complex.blockers_to_string()<<std::endl; + std::clog << "Blockers: "<<complex.blockers_to_string()<<std::endl; \endcode \verbatim ./SkeletonBlockerFromSimplices |