bindings/python/zigzag-persistence.h
author Dmitriy Morozov <dmitriy@mrzv.org>
Fri, 24 Jul 2009 14:18:16 -0700
branchdev
changeset 145 ee096f207dfb
parent 130 580eaa850c4f
child 146 4e27f1f7c169
permissions -rw-r--r--
Minor changes in distances.py + rips-pairwise.py wrapped into a main() function

#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>

namespace dionysus {
namespace python   {

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

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

} } // namespace dionysus::python

#endif