--- a/include/topology/cohomology-persistence.hpp Fri May 06 10:38:06 2011 -0700
+++ b/include/topology/cohomology-persistence.hpp Mon Jul 25 23:21:29 2011 -0700
@@ -26,6 +26,7 @@
static Counter* cCohomologyAddComparison = GetCounter("cohomology/add/comparison");
static Counter* cCohomologyElementCount = GetCounter("cohomology/elements");
static Counter* cCohomologyCocycleCount = GetCounter("cohomology/cocycles");
+static Counter* cCohomologyCandidatesCount = GetCounter("cohomology/candidates");
#endif // COUNTERS
template<class BirthInfo, class SimplexData, class Field>
@@ -83,6 +84,7 @@
}
candidates_bulk.sort(make_first_comparison(make_indirect_comparison(std::less<Cocycle>())));
+ CountBy(cCohomologyCandidatesCount, candidates_bulk.size());
#if LOGGING
rLog(rlCohomology, " Candidates bulk");