|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Algorithm
Interface for Algorithms This simple interface defines three methods that an algorithm must implement init() - runs the initialisation pipline(s) of the algorithm. run(int iterations) steps the algorithms loop pipeline(s) a through specified number of iterations step() steps the algorithms loop pipeline through a single iteration
| Method Summary | |
|---|---|
void |
init()
Initializing the algorithm |
void |
run(int steps)
Run for the specified number of steps |
void |
step()
Step the algorithm once |
| Method Detail |
|---|
void init()
void run(int steps)
steps - run for stepsvoid step()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||