Class AbstractControllableAlgorithm

java.lang.Object
org.svvrl.goal.core.AbstractAlgorithm
org.svvrl.goal.core.AbstractControllableAlgorithm
All Implemented Interfaces:
java.util.EventListener, Algorithm, AlgorithmListener, ControllableAlgorithm
Direct Known Subclasses:
AbstractControllableGameSolver, AbstractEditableAlgorithm

public abstract class AbstractControllableAlgorithm
extends AbstractAlgorithm
implements ControllableAlgorithm
This class provides default implementations for the ControllableAlgorithm interface. The initial running status is Run. There are some methods that act as marks of a step or a stage of an algorithm.

An object of this class is capable of adding other ControllableAlgorithm objects as subroutines. In this case, the object will listen to the execution of its subroutines.

Author:
Ming-Hsien Tsai