k_tangles#

TangleSearchTree.k_tangles(k: int, agreement: int, include_splitting: str = 'nope') list[Tangle]#

Return all tangles of the k-th level which have at least the specified agreement value.

Parameters#

kint

The level of which to find every tangle.

agreementint

Only find tangles of at least the specified agreement value.

include_splitting: {“nope”, “nodes”, “levels”}

If equal to “nodes” all nodes which distinguish two k-tangles are included. If equal to “levels” all nodes on a path to a k-tangle at levels that contain a distinguishing node are included. Defaults to “nope”.

Returns#

list of Tangles

The tangles of the k-th level.