public class AbortControl extends Object implements EvolutionControl
| Constructor and Description |
|---|
AbortControl() |
| Modifier and Type | Method and Description |
|---|---|
JButton |
getControl() |
TerminationCondition |
getTerminationCondition() |
void |
reset()
Enables the GUI control and resets the abort condition ready
for use.
|
void |
setDescription(String description)
Provides a textual description of the purpose of the control.
|
public JButton getControl()
getControl in interface EvolutionControlpublic void reset()
reset in interface EvolutionControlpublic TerminationCondition getTerminationCondition()
TerminationCondition that is tied to this control. It can
be passed to an EvolutionEngine
so that the evolution is aborted when this control is invoked.public final void setDescription(String description)
setDescription in interface EvolutionControldescription - The description of the control.