|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectchordDiagrams.OrbitElement
public class OrbitElement
This class represents an orbit element in an orbit of a diagram under some action. If the element is not in the basis, the relation field contains the relation that relates it to the basis.
Field Summary | |
---|---|
int |
diagIndex
Index of the diagram |
boolean |
isInBasis
Is the orbit element in the basis or is it a linear combination |
Relation |
relation
Relation that shows this diagram as a linear combination of diags in the basis |
Constructor Summary | |
---|---|
OrbitElement(int diagIndex,
boolean isInBasis,
Relation relation)
Creates a new orbit element |
Method Summary | |
---|---|
void |
drawElement(DiagramDrawer D,
java.lang.String fname,
java.util.HashMap<java.lang.String,diagram> diags,
java.util.ArrayList<java.lang.String> keys)
Draws this orbit element and saves it to a file |
boolean |
equals(OrbitElement e)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public boolean isInBasis
public int diagIndex
public Relation relation
Constructor Detail |
---|
public OrbitElement(int diagIndex, boolean isInBasis, Relation relation)
diagIndex
- index of the diagramisInBasis
- true if the diagram is in the basisrelation
- diagram relation if it is not in the basisMethod Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(OrbitElement e)
public void drawElement(DiagramDrawer D, java.lang.String fname, java.util.HashMap<java.lang.String,diagram> diags, java.util.ArrayList<java.lang.String> keys)
D
- Diagram Drawer to draw withfname
- filename to save todiags
- data structure with diagramskeys
- keyset for the diagrams
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |