tangle_matrix#
- TangleSweepFeatureSys.tangle_matrix(min_agreement: int | None = None, only_initial_seps: bool = True)#
Return the tangle matrix that describes all maximal tangles of at least the specified agreement.
Guaranteed to return every tangle (on the set of separation ids the sweep knows about) if the limit of the
TangleSearchTree
is below the specified min_agreement.Parameters#
- min_agreementint
All tangles of at least this agreement value are returned.
- only_inital_sepsbool
whether to include auxiliary features into the tangle matrix
Returns#
- np.ndarray
Tangle matrix.