Witness complex reference manual#

class gudhi.WitnessComplex#

Bases: object

Constructs (weak) witness complex for a given table of nearest landmarks with respect to witnesses.

__init__()#

WitnessComplex constructor.

Parameters:

nearest_landmark_table (list of list of pair of int and float) – A list of lists of nearest landmarks and their distances. nearest_landmark_table[w][k]==(l,d) means that l is the k-th nearest landmark to witness w, and d is the (squared) distance between l and w.

__new__(**kwargs)#
create_simplex_tree(max_alpha_square=inf, limit_dimension=-1)#
Parameters:

max_alpha_square (float) – The maximum relaxation parameter. Default is set to infinity.

Returns:

A simplex tree created from the Delaunay Triangulation.

Return type:

SimplexTree