The Konieczny.DClass class
This page contains documentation for the nested class Konieczny.DClass.
Contents
| Class representing a \(\mathscr{D}\)-class. | |
| Test membership of an element. | |
| Test regularity of a \(\mathscr{D}\)-class. | |
| Returns the number of \(\mathscr{L}\)-classes. | |
| Returns the number of \(\mathscr{R}\)-classes. | |
| Returns the number of idempotents. | |
| Returns a representative of the \(\mathscr{D}\)-class. | |
| Returns the size of a \(\mathscr{D}\)-class. | |
| Returns the size of the \(\mathscr{H}\)-classes. | 
Full API
- class Konieczny.DClass
- Class representing a \(\mathscr{D}\)-class. - The class - Konieczny.DClassrepresents a \(\mathscr{D}\)-class via a frame as computed in Konieczny’s algorithm; see [Kon94] for more details.- Konieczny.DClassobjects cannot be directly constructed; instead you should obtain a \(\mathscr{D}\)-class by calling- Konieczny.D_class_of_element.- See also - contains(self: Konieczny.DClass, x: Element) bool
- Test membership of an element. - Given an element x, this function returns whether x is an element of the \(\mathscr{D}\)-class represented by self . This function triggers the computation of most of the frame for self, if it is not already known. - Parameters:
- x (Element) – the element. 
- Returns:
- Whether or not x belongs to the \(\mathscr{D}\)-class. 
- Return type:
 
 - is_regular_D_class(self: Konieczny.DClass) bool
- Test regularity of a \(\mathscr{D}\)-class. - Returns:
- Whether or not the \(\mathscr{D}\)-class is regular. 
- Return type:
 
 - number_of_L_classes(self: Konieczny.DClass) int
- Returns the number of \(\mathscr{L}\)-classes. This function triggers the computation of most of the frame for self, if it is not already known. - Returns:
- The number of \(\mathscr{L}\)-classes. 
- Return type:
 
 - number_of_R_classes(self: Konieczny.DClass) int
- Returns the number of \(\mathscr{R}\)-classes. This function triggers the computation of most of the frame for self, if it is not already known. - Returns:
- The number of \(\mathscr{R}\)-classes. 
- Return type:
 
 - number_of_idempotents(self: Konieczny.DClass) int
- Returns the number of idempotents. This function triggers the computation of most of the frame for self, if it is not already known. - Returns:
- The number of idempotents in a \(\mathscr{D}\)-class. 
- Return type:
 
 - rep(self: Konieczny.DClass) Element
- Returns a representative of the \(\mathscr{D}\)-class. The frame used to represent \(\mathscr{D}\)-classes depends on the choice of representative. This function returns the representative used by a - Konieczny.DClassinstance. This may not be the same representative as used to construct the instance, but is guaranteed to not change.- Returns:
- A representative of the \(\mathscr{D}\)-class. 
- Return type:
- Element 
 
 - size(self: Konieczny.DClass) int
- Returns the size of a \(\mathscr{D}\)-class. This function triggers the computation of most of the frame for self, if it is not already known. - Returns:
- The size of the \(\mathscr{D}\)-class. 
- Return type:
 
 - size_H_class(self: Konieczny.DClass) int
- Returns the size of the \(\mathscr{H}\)-classes. This function triggers the computation of most of the frame for self, if it is not already known. - Returns:
- The size of any (and all) \(\mathscr{H}\)-classes in the \(\mathscr{D}\)-class. 
- Return type: