|
Watchmaker Framework for Evolutionary Computation API (Version 0.7.1) |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.uncommons.watchmaker.swing.AbortControl
public class AbortControl
A GUI control that allows the user to abort an evolutionary program.
Constructor Summary | |
---|---|
AbortControl()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbortControl()
Method Detail |
---|
public JButton getControl()
getControl
in interface EvolutionControl
public void reset()
reset
in interface EvolutionControl
public 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 EvolutionControl
description
- The description of the control.
|
Watchmaker Framework for Evolutionary Computation API (Version 0.7.1) |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |