get_efficient_distinguishers#

TangleSearchTree.get_efficient_distinguishers(return_ids=True, agreement: int = 1, max_level: int | None = None) ndarray | tuple[ndarray, ndarray]#

Find the efficient distinguishers of the tangles.

The efficient distinguishers are separations for which there exists a pair of tangles such that they distinguish the two separations with minimal order.

Parameters#

return_idsbool

Whether to return the separation ids of the efficient distinguishers.

agreementint

The efficient distinguishers will be returned for all tangles of at least this agreement value.

max_levelint, optional

The efficient distinguishers will be returned for all tangles with level below max_level.

Returns#

np.ndarray or tuple

If return_ids is False, the levels of the efficient distinguishers. If return_ids is True, a tuple with the levels of the efficient distinguishers in its first entry and the separation ids of the efficient distinguishers in its second entry.