Kambites helpers
This page contains the documentation for various helper functions for
manipulating Kambites objects.
Contents
| Find the non-trivial classes in the partition of a list of words. | |
| 
 | Returns an iterator yielding normal forms. | 
| 
 | Partition a list of words. | 
Full API
This page contains the documentation for the kambites subpackage, that
contains helper functions for the Kambites class.
- kambites.non_trivial_classes(k: Kambites, words: list[list[int] | str]) list[list[list[int]] | list[str]]
- Find the non-trivial classes in the partition of a list of words. - This function returns the classes with size at least \(2\) in the partition of the words in the list words induced by the - Kambitesinstance k.
- kambites.normal_forms(k: Kambites) collections.abc.Iterator[str | list[int]]
- Returns an iterator yielding normal forms. - This function returns an iterator yielding normal forms of the classes of the congruence represented by an instance of - Kambites.- Parameters:
- Returns:
- An iterator yielding normal forms. 
- Return type:
- Raises:
- LibsemigroupsError – if - k.small_overlap_class()is not at least \(4\).