com.rubecula.darwin.core
Class Darwinian_Default

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.Vector
              extended by com.rubecula.util.AuditableVector
                  extended by com.rubecula.darwin.core.Darwinian_Abstract
                      extended by com.rubecula.darwin.core.Darwinian_Default
All Implemented Interfaces:
Darwinian, Generatable, Auditable, Identifiable, Serializable, Cloneable, Iterable, Collection, List, RandomAccess

public final class Darwinian_Default
extends Darwinian_Abstract
implements Generatable

Default implementation of Darwinian.

Version:
$Revision: 1.1 $
Author:
Robin Hillyard
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.rubecula.darwin.core.Darwinian_Abstract
_CensusTaker, _Genome, _Mortality, _Phenome, log
 
Fields inherited from class java.util.Vector
capacityIncrement, elementCount, elementData
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
Darwinian_Default(String identifier, Genome genome, Phenome phenome, Census censusTaker, double infantMortality, MateChoice chooser, Fecundity fecundity)
          Constructor to create a Darwinian system with no populations, and with the default mortality implementer.
Darwinian_Default(String identifier, Genome genome, Phenome phenome, Census censusTaker, Mortality mortality, MateChoice chooser, Fecundity fecundity)
          Constructor to create a Darwinian system with no populations.
 
Method Summary
 
Methods inherited from class com.rubecula.darwin.core.Darwinian_Abstract
add, add, census, getCensusTaker, getChooser, getFactory, getFecundity, getGeneration, getGenome, getMortality, getPhenome, getPopulation, midGenerationProcessing, nextGeneration, postGenerationCleanup, preGenerationPreparation, seedGeneration, setChooser, setFecundity, setMortality, setupListeners, setupListeners, toString
 
Methods inherited from class com.rubecula.util.AuditableVector
audit, audit, audit, getIdentifier
 
Methods inherited from class java.util.Vector
add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeRange, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
iterator, listIterator, listIterator
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.rubecula.darwin.core.Generatable
getGeneration, midGenerationProcessing, nextGeneration, postGenerationCleanup, preGenerationPreparation
 
Methods inherited from interface com.rubecula.darwin.core.Darwinian
size
 
Methods inherited from interface com.rubecula.util.Identifiable
getIdentifier
 
Methods inherited from interface java.util.List
iterator, listIterator, listIterator
 

Constructor Detail

Darwinian_Default

public Darwinian_Default(String identifier,
                         Genome genome,
                         Phenome phenome,
                         Census censusTaker,
                         double infantMortality,
                         MateChoice chooser,
                         Fecundity fecundity)
Constructor to create a Darwinian system with no populations, and with the default mortality implementer.

Parameters:
identifier - the identifier for this new system.
genome - the genome on which all organisms in all populations of this new system will be based.
phenome - the phenome which all organisms of all populations of this new system will exhibit.
censusTaker - an implementer of Census for the purpose of censusing populations of the new system.
infantMortality - the probability of an infant dying in any of the populations of this new system.
chooser - the mate choice implementation.
fecundity - the fecundity implementation.

Darwinian_Default

public Darwinian_Default(String identifier,
                         Genome genome,
                         Phenome phenome,
                         Census censusTaker,
                         Mortality mortality,
                         MateChoice chooser,
                         Fecundity fecundity)
Constructor to create a Darwinian system with no populations.

Parameters:
identifier - the identifier for this new system.
genome - the genome on which all organisms in all populations of this new system will be based.
phenome - the phenome which all organisms of all populations of this new system will exhibit.
censusTaker - an implementer of Census for the purpose of censusing populations of the new system.
mortality - the mortality implementation.
chooser - the mate choice implementation.
fecundity - the fecundity implementation.