|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcayleytable.groupRelation
public class groupRelation
Class used to store the relationships between generators of groups
being created in the groupCreator.createDefineRelationGroup
method.
Field Summary | |
---|---|
(package private) java.lang.String |
left
String Object that stores the LHS of the relationship equation |
(package private) java.lang.String |
right
String Object that stores the RHS of the relationship equation |
Constructor Summary | |
---|---|
groupRelation(int generator,
int genSize)
Creates a new instance of groupRelation containing a generator
raised to some power being equal to the identity element or an
empty RHS. |
|
groupRelation(int gen1,
int gen2,
java.lang.String rgt,
java.util.ArrayList generatorList)
Creates a new instance of groupRelation containing
a "pseudo" commutative defined relationship of the group. |
|
groupRelation(java.lang.String relationship,
java.util.ArrayList generatorList)
Creates a new instance of groupRelation containing a
relationship defined completely by the user through the user interface. |
Method Summary | |
---|---|
java.lang.String |
getLeft()
Returns LHS of the groupRelation . |
java.lang.String |
getRight()
Returns RHS of the groupRelation . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
java.lang.String left
java.lang.String right
Constructor Detail |
---|
public groupRelation(int generator, int genSize)
groupRelation
containing a generator
raised to some power being equal to the identity element or an
empty RHS.
generator
- Generator for which the groupRelation
is being createdgenSize
- Order of generator for which relation
is being generated.public groupRelation(java.lang.String relationship, java.util.ArrayList generatorList)
groupRelation
containing a
relationship defined completely by the user through the user interface.
relationship
- String object that represents the relationship being created.generatorList
- ArrayList of String objects that are the order of each of the generators of the group for use in determining the inverse of a generator.public groupRelation(int gen1, int gen2, java.lang.String rgt, java.util.ArrayList generatorList)
groupRelation
containing
a "pseudo" commutative defined relationship of the group.
gen1
- Integer representing the first generator in the "pseudo" commutative defined relationshipgen2
- Integer representing the second generator in the "pseudo" commutative defined relationshiprgt
- String object containing the RHS of the "pseudo" commutative defined relationshipgeneratorList
- ArrayList of String objects that are the order of each of the generators of the group for use in determining the inverse of a generator.Method Detail |
---|
public java.lang.String getLeft()
groupRelation
.
public java.lang.String getRight()
groupRelation
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |