|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.rubecula.darwin.visualization.swing.Visualization_ com.rubecula.darwin.visualization.swing.Visualization_VisualizableListener com.rubecula.darwin.examples.travelingsalesman.Visualization_TS
public class Visualization_TS
Field Summary |
---|
Fields inherited from class com.rubecula.darwin.visualization.swing.Visualization_ |
---|
LOG |
Constructor Summary | |
---|---|
Visualization_TS(VisualizationFactory factory)
|
Method Summary | |
---|---|
void |
onChange(Visualizable source,
java.lang.Object context)
This method loops through all the organisms in population p
and, for each one, and, if it is not viable [either just born or newly
dead], either removes the corresponding individual, or (providing that
the age is 0) adds a newly created individual. |
Methods inherited from class com.rubecula.darwin.visualization.swing.Visualization_ |
---|
getVisualizerTabs, setVisualizerTabs, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Visualization_TS(VisualizationFactory factory)
factory
- Method Detail |
---|
public void onChange(Visualizable source, java.lang.Object context)
Visualization_VisualizableListener
p
and, for each one, and, if it is not viable [either just born or newly
dead], either removes the corresponding individual, or (providing that
the age is 0) adds a newly created individual.
onChange
in interface VisualizableListener
onChange
in class Visualization_VisualizableListener
source
- the source of the change, usually a population.context
- XXXVisualization_VisualizableListener.onChange(com.rubecula.darwin.foundation.Visualizable,
java.lang.Object)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |