Debugged ZigzagPersistence (having added heavier consistency checking)
* Added DEBUG_CONTAINERS option (uses std::__debug::* containers for chains
and in ZigzagPersistence)
* Added SizeStorage specialization for std::deque<T>
* ZigzagPersistence got a lot more consistency checking (in debug mode only,
which now crawls); as a result it's been debugged (running on non-trivial examples)
* examples/rips/rips-zigzag takes command-line options
* added ChainWrapper::clear()
* added Simplex::VertexDimensionComparison
* added PairwiseDistances class (for computing distances between points in a
container according to a distance functor)
#include <topology/chain.h>
#include "python-static-persistence.h"
#include <boost/python.hpp>
using namespace boost::python;
typedef SPersistence::OrderDescriptor::Chains::Chain VChain;
VChain::const_iterator begin(const VChain& c) { return c.begin(); }
VChain::const_iterator end(const VChain& c) { return c.end(); }
void export_chain()
{
class_<VChain>("Chain")
.def("__iter__", range(&begin, &end))
;
}