public class PermutationGroup
extends java.lang.Object
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()
Ways to complete group:
- combinations of permutations pi x pj
- combinations with itself p^k
|
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.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