public class CheckCircuit extends Object implements ITreeAlgorithm<Task>
Checks a tree (of tasks) whether it contains a circuit.
Constructor and Description |
---|
CheckCircuit()
Creates circuit checker.
|
Modifier and Type | Method and Description |
---|---|
void |
alg(Task el,
int level)
Check if the specified object was already processed.
|
void |
postAlg(Task el,
int level)
Do nothing.
|
void |
preAlg(Task el,
int level)
Do nothing.
|
public void preAlg(Task el, int level)
Do nothing.
preAlg
in interface ITreeAlgorithm<Task>
el
- Object to process.level
- Tree node level.public void alg(Task el, int level)
Check if the specified object was already processed.
alg
in interface ITreeAlgorithm<Task>
el
- Object to process.level
- Tree node level.public void postAlg(Task el, int level)
Do nothing.
postAlg
in interface ITreeAlgorithm<Task>
el
- Object to process.level
- Tree node level.Copyright (c) 2008-2015 Aspose Pty Ltd. All Rights Reserved.