SetSeparationSystemBase#

class tangles.separations.SetSeparationSystemBase(datasize)#

Methods

__getitem__()

Access the data of the separation or separations

add_corner()

Calculate the infimum of two oriented separations from the separation system and add this infimum as a

add_seps()

Add separations to the separation system

all_sep_ids()

Returns

assemble_meta_info()

If the user has entered custom meta info for a separation, then that is prioritised before everything else

compute_infimum()

Calculate the infimum of a list of separation ids and orientations

count_big_side()

Count the number of data points on the big (positive) side of the given separation

crossing_seps()

Generator to get all crossing separations from the list of separations

get_corners()

Calculate the four corners of two separations in the separation system

get_sep_ids()

If the separations are already contained inside of the separation system then return the

is_le()

Check if separation \(a\) specified by sep_id_a is less than or equal to separation \(b\) specified by sep_id_b,

is_nested()

Checks whether two separations are nested

metadata_matrix()

Explain the meaning of a separation, generated by repeatedly taking corners of separations,

separation_metadata()

Returns the metadata of the separation sep_id

side_counts()

Count the number of data points on each side of the separation

with_array()

Create a new SetSeparationSystem from a separation matrix

with_sparse_array()

Create a new SetSeparationSystem from a sparse separation matrix