summaryrefslogtreecommitdiff
path: root/src/cython/cgudhi.pxd
blob: 1be7309d0d4cec1661220c999152b56e36fb856c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
from libcpp.vector cimport vector
from libcpp.utility cimport pair

cdef extern from "Simplex_tree_interface.h" namespace "Gudhi":
    cdef cppclass Simplex_tree_options_full_featured:
        pass
    cdef cppclass Simplex_tree_options_fast_persistence:
        pass
    cdef cppclass Simplex_tree_options_mini:
        pass
    cdef cppclass Simplex_tree_interface[T]:
        Simplex_tree()
        double filtration()
        double simplex_filtration(vector[int] simplex)
        void set_filtration(double filtration)
        void initialize_filtration()
        int num_vertices()
        int num_simplices()
        void set_dimension(int dimension)
        int dimension()
        bint find_simplex(vector[int] simplex)
        bint insert_simplex_and_subfaces(vector[int] simplex, double filtration)
        vector[pair[vector[int], double]] get_filtered_tree()
        vector[pair[vector[int], double]] get_skeleton_tree(int dimension)
        vector[pair[vector[int], double]] get_star_tree(vector[int] simplex)
        vector[pair[vector[int], double]] get_coface_tree(vector[int] simplex, int dimension)
        void graph_expansion(vector[vector[double]] points,int max_dimension,double max_edge_length)