de.uka.algo.GT3D
Interface StepwiseAlgorithm

All Known Implementing Classes:
BreadthFirstSearchDemo, BreadthFirstSearchDemo2

public interface StepwiseAlgorithm

Author:
stm An Algorithm that can be run stepwise.

Method Summary
 boolean atStart()
           
 boolean finished()
           
 void init(java.lang.String filename)
          Do the necessary initialization before the first step.
 void nextStep()
          Perform the next step of the algorithm.
 void previousStep()
          Undo the last step of the algorithm (optional)
 

Method Detail

init

void init(java.lang.String filename)
Do the necessary initialization before the first step.

Parameters:
filename - The name of a Graph(ML) file.

nextStep

void nextStep()
Perform the next step of the algorithm.


previousStep

void previousStep()
Undo the last step of the algorithm (optional)


finished

boolean finished()
Returns:
true iff the algorithm has terminated.

atStart

boolean atStart()
Returns:
true iff the algorithm is in its starting state.