public class CheckCircuit extends Object implements ITreeAlgorithm<Task>
Checks a tree (of tasks) whether it contains a circuit.
Constructor and Description |
---|
CheckCircuit()
Initializes a new instance of the
CheckCircuit class. |
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 CheckCircuit()
Initializes a new instance of the CheckCircuit
class.
public final 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 final void postAlg(Task el, int level)
Do nothing.
postAlg
in interface ITreeAlgorithm<Task>
el
- Object to process.level
- Tree node level.public final void preAlg(Task el, int level)
Do nothing.
preAlg
in interface ITreeAlgorithm<Task>
el
- Object to process.level
- Tree node level.