TangleSweepFeatureSys#

class tangles.convenience.TangleSweepFeatureSys(sep_sys: SetSeparationSystemBase, sep_ids: array | None = None, forbidden_tuple_size: int = 3)#

A convenience object bundling a tangle sweep object and a feature system (or separation system).

Attributes#

sep_sysSetSeparationSystem or FeatureSystem

A feature system or separation system.

sep_idsnp.ndarray, optional

A list of separation ids.

order_valueslist

Orders of the features (or separations).

Properties

all_oriented_feature_ids

A list of ids of separations/features that were appended to the tree (including corners)

original_feature_ids

A list of ids of separations/features that were appended to the tree (without corners)

search_object

the low level search object used by this search object

sep_sys

the separation system (feature system) used by this widget

tree

the tangle search tree used by this widget

Methods

lower_agreement()

Extend nodes in the tangle search tree until the agreement search limit has decreased below the

oriented_feature_ids_for_agreement()

A list of ids of separations/features that could be oriented at the given agreement level

tangle_matrix()

Return the tangle matrix that describes all maximal tangles of at least the specified agreement

tangle_score()

compute the tangles scores for given agreement