com.rubecula.darwin.examples.travelingsalesman
Class Population_TS

java.lang.Object
  extended by com.rubecula.darwin.core.Population_Abstract
      extended by com.rubecula.darwin.examples.travelingsalesman.Population_TS
All Implemented Interfaces:
CensusibleCollection, Generatable, Population, Auditable, Identifiable

public class Population_TS
extends Population_Abstract

Population model for the Traveling Salesman

Author:
Robin

Field Summary
 
Fields inherited from class com.rubecula.darwin.core.Population_Abstract
_Environment, _Identifier, _Random, _System, log
 
Constructor Summary
Population_TS(String identifier, Darwinian system, Environment environment, Random random)
           
 
Method Summary
 void midGenerationProcessing()
          Does nothing
 void postGenerationCleanup()
          Does nothing
 void preGenerationPreparation()
          Does nothing
 void seedGeneration(int organisms)
          Method to seed a population which a certain number of organisms.
 
Methods inherited from class com.rubecula.darwin.core.Population_Abstract
add, addListener, audit, audit, audit, createIdentifier, enumerateCollection, getEnvironment, getFitness, getGeneration, getGenome, getIdentifier, getIndex, getPhenome, getSaturation, getSystem, isIsolated, iterator, nextGeneration, pairUp, populationChanged, setIsolated, size, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Population_TS

public Population_TS(String identifier,
                     Darwinian system,
                     Environment environment,
                     Random random)
Method Detail

seedGeneration

public void seedGeneration(int organisms)
Description copied from interface: Population
Method to seed a population which a certain number of organisms.

Specified by:
seedGeneration in interface Population
Overrides:
seedGeneration in class Population_Abstract
Parameters:
organisms - the number of organisms to be seeded.

midGenerationProcessing

public void midGenerationProcessing()
Description copied from class: Population_Abstract
Does nothing

Specified by:
midGenerationProcessing in interface Generatable
Overrides:
midGenerationProcessing in class Population_Abstract
See Also:
Generatable.midGenerationProcessing()

postGenerationCleanup

public void postGenerationCleanup()
Description copied from class: Population_Abstract
Does nothing

Specified by:
postGenerationCleanup in interface Generatable
Overrides:
postGenerationCleanup in class Population_Abstract
See Also:
Generatable.postGenerationCleanup()

preGenerationPreparation

public void preGenerationPreparation()
Description copied from class: Population_Abstract
Does nothing

Specified by:
preGenerationPreparation in interface Generatable
Overrides:
preGenerationPreparation in class Population_Abstract
See Also:
Generatable.preGenerationPreparation()