public class PermutationGroup
extends java.lang.Object
implements java.lang.Iterable<java.util.List<java.lang.Integer>>
Constructor and Description |
---|
PermutationGroup() |
Modifier and Type | Method and Description |
---|---|
void |
addPermutation(java.util.List<java.lang.Integer> permutation) |
static java.util.List<java.lang.Integer> |
combine(java.util.List<java.lang.Integer> permutation1,
java.util.List<java.lang.Integer> permutation2) |
void |
completeGroup()
Starts with an incomplete set of group generators in `permutations` and
expands it to include all possible combinations.
|
java.lang.String |
getGroupTable() |
int |
getOrder() |
static int |
getOrder(java.util.List<java.lang.Integer> permutation) |
java.util.List<java.lang.Integer> |
getPermutation(int index) |
int |
hashCode() |
java.util.Iterator<java.util.List<java.lang.Integer>> |
iterator() |
java.lang.String |
toString() |
public void addPermutation(java.util.List<java.lang.Integer> permutation)
public java.util.List<java.lang.Integer> getPermutation(int index)
public int getOrder()
public void completeGroup()
public java.lang.String toString()
toString
in class java.lang.Object
public static java.util.List<java.lang.Integer> combine(java.util.List<java.lang.Integer> permutation1, java.util.List<java.lang.Integer> permutation2)
public static int getOrder(java.util.List<java.lang.Integer> permutation)
public java.lang.String getGroupTable()
public int hashCode()
hashCode
in class java.lang.Object
public java.util.Iterator<java.util.List<java.lang.Integer>> iterator()
iterator
in interface java.lang.Iterable<java.util.List<java.lang.Integer>>