Implemented ImageZigzagPersistence
* Changed ZigzagPersistence to support a visitor, and implemented
ImageZigzagPersistence
* examples/rips/rips-zigzag now computes using ImageZigzagPersistence
* PersistenceDiagram no longer records zero persistence pairs
* Added utilities/memory.h with report_memory() function
#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))
;
}