|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object uk.ac.essex.ia.model.OperationGraphModel
public class OperationGraphModel
This is the model of the operation graph used by the interpreter. It contains a model of all the cells, sources and targets
in the graph.
You should have received a copy of GNU public license with this code.
If not please visit this site
Constructor Summary | |
---|---|
OperationGraphModel()
|
Method Summary | |
---|---|
boolean |
addCell(com.jgraph.graph.DefaultGraphCell sourceCell)
|
void |
addEdgeSet(java.lang.Object root)
|
void |
addOperator(java.lang.Object userObject)
|
boolean |
addSourceCell(com.jgraph.graph.DefaultGraphCell sourceCell)
|
boolean |
addTargetCell(com.jgraph.graph.DefaultGraphCell targetCell)
|
void |
clear()
|
java.util.Set<com.jgraph.graph.DefaultGraphCell> |
getCellSet()
|
java.util.HashMap<com.jgraph.graph.DefaultGraphCell,java.util.List<com.jgraph.graph.DefaultGraphCell>> |
getCellToSourceList()
|
java.util.HashMap |
getCellToTargetList()
|
java.util.Set |
getEdgeSet()
|
com.jgraph.JGraph |
getjGraph()
|
java.util.Set<java.lang.Object> |
getOperators()
|
java.util.Set<com.jgraph.graph.DefaultGraphCell> |
getSourceCellSet()
|
java.util.List<com.jgraph.graph.DefaultGraphCell> |
getSourceList(com.jgraph.graph.DefaultGraphCell c)
|
java.util.List<com.jgraph.graph.DefaultGraphCell> |
getStartCells()
|
java.util.Set<com.jgraph.graph.DefaultGraphCell> |
getTargetCellSet()
|
java.util.List<com.jgraph.graph.DefaultGraphCell> |
getTargetList(com.jgraph.graph.DefaultGraphCell cell)
|
boolean |
hasEdgeSets()
|
boolean |
hasFinished(com.jgraph.graph.DefaultGraphCell cell)
Checks to see if execution should continue, if not then it prints an ending message. |
void |
initDataSets()
Gets all the operators to be executed |
void |
initStartCells()
This gets the cells that will be executed first. |
void |
setCellSet(java.util.Set<com.jgraph.graph.DefaultGraphCell> cellSet)
|
void |
setCellToSourceList(java.util.HashMap<com.jgraph.graph.DefaultGraphCell,java.util.List<com.jgraph.graph.DefaultGraphCell>> cellToSourceList)
|
void |
setCellToTargetList(java.util.HashMap cellToTargetList)
|
void |
setEdgeSet(java.util.Set edgeSet)
|
void |
setjGraph(com.jgraph.JGraph jGraph)
|
void |
setOperators(java.util.Set<java.lang.Object> operators)
|
void |
setSourceCellSet(java.util.Set<com.jgraph.graph.DefaultGraphCell> sourceCellSet)
|
java.util.List<com.jgraph.graph.DefaultGraphCell> |
setSourceList(com.jgraph.graph.DefaultGraphCell cell,
java.util.List<com.jgraph.graph.DefaultGraphCell> sourceSet)
|
void |
setTargetCellSet(java.util.Set<com.jgraph.graph.DefaultGraphCell> targetCellSet)
|
java.util.List<com.jgraph.graph.DefaultGraphCell> |
setTargetList(com.jgraph.graph.DefaultGraphCell cell,
java.util.List<com.jgraph.graph.DefaultGraphCell> targetSet)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OperationGraphModel()
Method Detail |
---|
public java.util.Set<com.jgraph.graph.DefaultGraphCell> getCellSet()
public void setCellSet(java.util.Set<com.jgraph.graph.DefaultGraphCell> cellSet)
public java.util.HashMap<com.jgraph.graph.DefaultGraphCell,java.util.List<com.jgraph.graph.DefaultGraphCell>> getCellToSourceList()
public void setCellToSourceList(java.util.HashMap<com.jgraph.graph.DefaultGraphCell,java.util.List<com.jgraph.graph.DefaultGraphCell>> cellToSourceList)
public java.util.HashMap getCellToTargetList()
public void setCellToTargetList(java.util.HashMap cellToTargetList)
public java.util.Set getEdgeSet()
public void setEdgeSet(java.util.Set edgeSet)
public java.util.Set<java.lang.Object> getOperators()
public void setOperators(java.util.Set<java.lang.Object> operators)
public java.util.Set<com.jgraph.graph.DefaultGraphCell> getSourceCellSet()
public void setSourceCellSet(java.util.Set<com.jgraph.graph.DefaultGraphCell> sourceCellSet)
public java.util.List<com.jgraph.graph.DefaultGraphCell> getStartCells()
public java.util.Set<com.jgraph.graph.DefaultGraphCell> getTargetCellSet()
public void setTargetCellSet(java.util.Set<com.jgraph.graph.DefaultGraphCell> targetCellSet)
public com.jgraph.JGraph getjGraph()
public void setjGraph(com.jgraph.JGraph jGraph)
public boolean hasEdgeSets()
public void addEdgeSet(java.lang.Object root)
public java.util.List<com.jgraph.graph.DefaultGraphCell> getTargetList(com.jgraph.graph.DefaultGraphCell cell)
public java.util.List<com.jgraph.graph.DefaultGraphCell> getSourceList(com.jgraph.graph.DefaultGraphCell c)
public java.util.List<com.jgraph.graph.DefaultGraphCell> setSourceList(com.jgraph.graph.DefaultGraphCell cell, java.util.List<com.jgraph.graph.DefaultGraphCell> sourceSet)
public java.util.List<com.jgraph.graph.DefaultGraphCell> setTargetList(com.jgraph.graph.DefaultGraphCell cell, java.util.List<com.jgraph.graph.DefaultGraphCell> targetSet)
public void clear()
public void addOperator(java.lang.Object userObject)
public boolean addSourceCell(com.jgraph.graph.DefaultGraphCell sourceCell)
public boolean addTargetCell(com.jgraph.graph.DefaultGraphCell targetCell)
public boolean addCell(com.jgraph.graph.DefaultGraphCell sourceCell)
public boolean hasFinished(com.jgraph.graph.DefaultGraphCell cell)
cell
- public void initStartCells()
public void initDataSets()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |