bindings/python/static-persistence.h
author Aravindakshan Babu <akshan@stanford.edu>
Fri, 02 Jul 2010 17:08:02 -0700
branchdev
changeset 216 7aefb2d67203
parent 181 1ee6edc17cb6
child 232 edbbf84fde9e
permissions -rw-r--r--
Made the data argument in Point's __init__method to be an optional argument by making it a boost::python::optional.

#ifndef __PYTHON_STATIC_PERSISTENCE_H__
#define __PYTHON_STATIC_PERSISTENCE_H__

#include <topology/static-persistence.h>

#include "filtration.h"

namespace dionysus {
namespace python   {

typedef         StaticPersistence<>             SPersistence;
typedef         SPersistence::OrderElement      SPersistenceNode;
typedef         SPersistence::OrderIndex        SPersistenceIndex;
typedef         SPersistence::SimplexMap<PythonFiltration>        
                                                PersistenceSimplexMap;

} } // namespace dionysus::python

#endif