public interface Partition extends BinaryRelation
| Modifier and Type | Interface and Description | 
|---|---|
static class  | 
Partition.PrintType
Printing types: the internal representation. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
int | 
blockIndex(int i)  | 
int[][] | 
getBlocks()  | 
boolean | 
isInitialLexRepresentative()  | 
boolean | 
isRelated(int i,
         int j)  | 
boolean | 
isRepresentative(int i)  | 
boolean | 
isZero()  | 
Partition | 
join(Partition part2)  | 
void | 
joinBlocks(int r,
          int s)
Note r and s must be roots and distinct. 
 | 
boolean | 
leq(Partition part2)  | 
Partition | 
meet(Partition part2)  | 
void | 
normalize()  | 
int | 
numberOfBlocks()  | 
int | 
representative(int i)  | 
int[] | 
representatives()  | 
int[] | 
toArray()
This returns the array representation of the partition as described 
 in Ralph Freese's notes on partitions, see 
 
                   http://www.math.hawaii.edu/~ralph/Notes/. 
 | 
java.lang.String | 
toString(int maxLen)  | 
java.lang.String | 
toString(Partition.PrintType kind)  | 
int | 
universeSize()  | 
compose, getPairsint[] toArray()
void joinBlocks(int r,
                int s)
boolean leq(Partition part2)
void normalize()
int universeSize()
universeSize in interface BinaryRelationint numberOfBlocks()
boolean isRelated(int i,
                  int j)
isRelated in interface BinaryRelationjava.lang.String toString(Partition.PrintType kind)
java.lang.String toString(int maxLen)
int representative(int i)
boolean isRepresentative(int i)
int[] representatives()
int blockIndex(int i)
int[][] getBlocks()
boolean isInitialLexRepresentative()
boolean isZero()
Copyright 2003 Ralph Freese. All Rights Reserved.