Strong witness complex reference manual#

class gudhi.StrongWitnessComplex[source]#

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

__init__(nearest_landmark_table=None)[source]#

StrongWitnessComplex 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.

create_simplex_tree(max_alpha_square=inf, limit_dimension=-1)[source]#
Parameters:
  • max_alpha_square (float) – The maximum relaxation parameter. Default is set to infinity.

  • limit_dimension (int) – Represents the maximal dimension of the simplicial complex. Default value (-1) means no limit.

Returns:

A simplex tree created from the Delaunay Triangulation.

Return type:

SimplexTree