bindings/python/static-persistence.h
author Dmitriy Morozov <dmitriy@mrzv.org>
Tue, 12 Jan 2010 14:36:38 -0800
branchdev
changeset 190 6edd7c861bc0
parent 181 1ee6edc17cb6
child 232 edbbf84fde9e
permissions -rw-r--r--
Fixed Python constructor of CohomologyPersistence + minor changes to cocycle.py

#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