bindings/python/python-zigzag-persistence.h
author Dmitriy Morozov <dmitriy@mrzv.org>
Mon, 13 Apr 2009 20:38:46 -0700
branchdev
changeset 127 406c6cc00b9c
parent 112 f209958b5c17
permissions -rw-r--r--
Changes in Python Bindings: * the exposed C++ simplex has Empty data * Python Simplex constructor with data as well as data-based comparison functions are implemented in pure Python

#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