gishur.core
Interface DebugListener
- public interface DebugListener
A listener to debug algorithms.
- Version:
- 1.0
- Author:
- Thomas Wolf
Method Summary |
void |
finish(java.lang.Object source,
java.lang.Object[] data)
Is called when the algorithm is completed. |
void |
reset(java.lang.Object source,
java.lang.Object[] data)
Is called when the algorithm is started. |
void |
step(java.lang.Object source,
int depth,
int stepcount,
java.lang.String name,
java.lang.Object[] data)
Is called in a step of the algorithm. |
reset
public void reset(java.lang.Object source,
java.lang.Object[] data)
- Is called when the algorithm is started.
- Parameters:
source
- the object performing the algorithmdata
- the data to be used in the algorithm
finish
public void finish(java.lang.Object source,
java.lang.Object[] data)
- Is called when the algorithm is completed.
- Parameters:
source
- the object performing the algorithmdata
- the data to be used in the algorithm
step
public void step(java.lang.Object source,
int depth,
int stepcount,
java.lang.String name,
java.lang.Object[] data)
- Is called in a step of the algorithm.
- Parameters:
the
- object performing the algorithmdepth
- depth of processingstepcount
- number of stepsname
- the name of the stepdata
- the data to be used in the algorithm