bindings/python/python-zigzag-persistence.h
author Dmitriy Morozov <dmitriy@mrzv.org>
Thu, 29 Jan 2009 10:16:56 -0800
branchdev
changeset 112 f209958b5c17
permissions -rw-r--r--
Added python bindings for ZigzagPersistence (as well as ImageZigzagPersistence)

#ifndef __PYTHON_ZIGZAG_PERSISTENCE_H__
#define __PYTHON_ZIGZAG_PERSISTENCE_H__

#include <topology/zigzag-persistence.h>
#include <topology/image-zigzag-persistence.h>
#include <boost/python.hpp>

//typedef         int                             BirthID;
//typedef         boost::python::long_            BirthID;
typedef         boost::python::object           BirthID;

typedef         ZigzagPersistence<BirthID>      ZZPersistence;
typedef         ImageZigzagPersistence<BirthID> IZZPersistence;

#endif