Enumeration utilities

The enumeration module is not documented and is decoupled from the core modules.

class simplicial_test.enumeration.Enum(size_seq, deg_seq=None)[source]

Bases: simplicial_test.enumeration.EnumRegistrar

compute()[source]
compute_dfs()[source]
fill_w_creating_new_vertices(next_size, facets, ns_vtx)[source]
fill_with_only_ones(next_size, facets)[source]
fill_wo_creating_new_vertices(next_size, facets)[source]
static get_dfs_navigator(size_seq)[source]
get_dpvs_per_m(m)[source]
get_fids_per_dfs_locator(dfs)[source]
get_fids_per_m(m)[source]
static get_hs_identifier(vsc, hs)[source]
traceback(p)[source]
class simplicial_test.enumeration.EnumRegistrar[source]

Bases: object

compute_vpf(facets)dict[source]
static dict2tuple(d_input)[source]
static get_created_vids(facets)[source]
log_forbidden(name, reason_id)None[source]
register_facet(facet) -> (<class 'tuple'>, <class 'int'>)[source]
register_facets(facets)[source]
register_state(facets, previous)[source]

dpv: degree per vertex

vpf: vertex id per facet

vsc: vertex symmetry class

n: number of facets

Parameters
facets
update_incrementally(facet, facets)[source]
simplicial_test.enumeration.compute_dpv(facets, n=None, is_sorted=True)[source]
simplicial_test.enumeration.get_relabeled_facets(facets)[source]
simplicial_test.enumeration.groupby_vtx_equiv_class(d_input)[source]