bindings/python/static-persistence.h
author Aravindakshan Babu <akshan@stanford.edu>
Wed, 11 Aug 2010 17:07:09 -0700
branchdev
changeset 218 4f70a473e34b
parent 181 1ee6edc17cb6
child 232 edbbf84fde9e
permissions -rw-r--r--
Added a __iter__ method to the PersistenceDiagram class in python. Renamed the points iterator to the intervals iterator.

#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