|
eaLib API Docs Last Modified : January 7 2002 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--mss.ea.al.AlgorithmChecker
Checker for checking the consistency of the algorithm components.
Field Summary | |
protected java.util.HashSet |
conduitSet
Set of conduit elements. |
protected java.util.HashSet |
connectorSet
Set of connector elements. |
protected int |
errorCount
Number of detected errors. |
protected java.util.HashSet |
forkSet
Set of fork elements. |
protected java.util.HashSet |
mergeSet
Set of merge elements. |
protected java.util.HashSet |
sinkSet
Set of sink elements. |
protected java.util.HashSet |
sourceSet
Set of source elements. |
Constructor Summary | |
AlgorithmChecker()
Constructor. |
Method Summary | |
protected void |
checkConduits()
|
protected void |
checkConnectors()
Checks the consistency of all connector elements. |
int |
checkForErrors()
Performs the built-in checks. |
protected void |
checkForks()
Checks the consistency of all fork elements. |
protected void |
checkMergers()
Checks the consistency of all merge elements. |
protected void |
checkPresence()
Checks the number present sources, sinks and processing elements. |
protected void |
checkSinks()
Checks the consistency of all sink elements. |
protected void |
checkSources()
Checks the consistency of all source elements. |
void |
printInformation()
Prints some more or less useful information about the algorithm structure. |
protected void |
printSetInfo(java.util.HashSet set,
java.lang.String setName)
|
void |
register(FlowElement element)
Registers a flow element at the checker. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.util.HashSet sourceSet
protected java.util.HashSet connectorSet
protected java.util.HashSet forkSet
protected java.util.HashSet mergeSet
protected java.util.HashSet sinkSet
protected java.util.HashSet conduitSet
protected int errorCount
Constructor Detail |
public AlgorithmChecker()
Method Detail |
public void register(FlowElement element)
element
- flow element for checkingpublic int checkForErrors()
protected void checkPresence()
protected void checkSources()
protected void checkSinks()
protected void checkConnectors()
protected void checkForks()
protected void checkMergers()
protected void checkConduits()
public void printInformation()
protected void printSetInfo(java.util.HashSet set, java.lang.String setName)
|
eaLib API Docs Last Modified : January 7 2002 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |