Uses of Class
chordDiagrams.Relation

Uses of Relation in chordDiagrams
 

Fields in chordDiagrams declared as Relation
private  Relation FourTGenerator.cur_row
          Hashmap to store current row
 Relation OrbitElement.relation
          Relation that shows this diagram as a linear combination of diags in the basis
 

Fields in chordDiagrams with type parameters of type Relation
private  java.util.TreeSet<Relation> Orbit.indRelations
          Independent relations
 java.util.TreeSet<Relation> OrbitObserver.indRelations
          Data structure to store independent relations
 java.util.TreeSet<Relation> FourTProcessor.indRelations
          Data structire to hold the independent relations
 java.util.TreeSet<Relation> FourTGenerator.relations
          Data structure to store relations
 

Methods in chordDiagrams that return Relation
 Relation Orbit.lookupRelation(int dIndex)
          If the diagram is not in the basis, then it is a pivot in the matrix of independent relations.
 

Methods in chordDiagrams that return types with arguments of type Relation
 java.util.SortedSet<Relation> FourTProcessor.evaluateRelations()
          Row-reduces the relation matrix using Mathematica (via J/Link API) and puts result into indRelation using the recursive processRelation() method
 

Methods in chordDiagrams with parameters of type Relation
 int Relation.compareTo(Relation r)
          Compares this relation to another via String ID's
 void DiagramDrawer.DrawRelation(Relation relation, java.util.ArrayList<java.lang.String> keySet, java.util.HashMap<java.lang.String,diagram> diags, int off_x, int off_y)
          Draws a relation on the image canvas
 boolean Relation.equals_ex(Relation r)
          Compares this relation to another relation
 boolean Relation.equals(Relation r)
           
 boolean FourTGenerator.isNew(Relation r)
          Tells whether a relation r is new to the list
 int DiagramDrawer.relationDiagramHeight(Relation relation, java.util.ArrayList<java.lang.String> keySet, java.util.HashMap<java.lang.String,diagram> diags)
          Returns the relation depiction height
 int DiagramDrawer.relationDiagramWidth(Relation relation, java.util.ArrayList<java.lang.String> keySet, java.util.HashMap<java.lang.String,diagram> diags)
          Returns the relation depiction width
 

Method parameters in chordDiagrams with type arguments of type Relation
 void FourTGenerator.DrawRelations(DiagramDrawer DDrawer, java.util.Set<Relation> relSet)
          Draws a set of relations with a DDrawer
 void FourTProcessor.evaluateRelations(java.util.Iterator<Relation> iter, java.util.Set<Relation> resultSet, int num)
          Row-reduces the relation matrix using Mathematica (via J/Link API) and puts result into resultSet
 void FourTProcessor.evaluateRelations(java.util.Iterator<Relation> iter, java.util.Set<Relation> resultSet, int num)
          Row-reduces the relation matrix using Mathematica (via J/Link API) and puts result into resultSet
 int FourTProcessor.nnz(java.util.Set<Relation> relSet)
          Returns the number of non-zero entries in a relation set
 void FourTProcessor.processMathematicaOutput(double[][] data, java.util.Set<Relation> relations)
          Takes a relation matrix (usually this is a result of Mathematica computation) and puts it into a relation set
 void FourTProcessor.processRelations(java.util.Iterator<Relation> iter, java.util.Set<Relation> resultSet, int num, int MAX)
          Sends a certain number of relations to Mathematica to row-reduce, no more than a MAX at a time, and puts the result into the resultSet
 void FourTProcessor.processRelations(java.util.Iterator<Relation> iter, java.util.Set<Relation> resultSet, int num, int MAX)
          Sends a certain number of relations to Mathematica to row-reduce, no more than a MAX at a time, and puts the result into the resultSet
 void FourTProcessor.putRelationRulesToMathematica(java.util.Set<Relation> relSet)
          Sends the relations matrix "rules" to Mathematica ("rules" for sparse array notation) The relations are obtained from the provided set.
 int FourTProcessor.putRelationsToMathematica(java.util.Iterator<Relation> iter, int num)
          Sends the relations to mathematica in the sparse array form The sparse array is asigned to variable "matrix".
 int FourTProcessor.setFromIterator(java.util.Iterator<Relation> iter, java.util.Set<Relation> resultSet, int n)
          Takes and iterator and tries to take a specified number of Relations from the iterator.
 int FourTProcessor.setFromIterator(java.util.Iterator<Relation> iter, java.util.Set<Relation> resultSet, int n)
          Takes and iterator and tries to take a specified number of Relations from the iterator.
 

Constructors in chordDiagrams with parameters of type Relation
OrbitElement(int diagIndex, boolean isInBasis, Relation relation)
          Creates a new orbit element
 

Constructor parameters in chordDiagrams with type arguments of type Relation
Orbit(java.lang.String diagID, java.util.HashSet<java.lang.String> basis, java.util.TreeSet<Relation> indRelations, java.util.ArrayList<java.lang.String> keyset)
          Creates an instance of the class to store the orbit of a diagram under some action