com.rubecula.darwin.core
Class Phenome_Default

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap<String,Trait>
          extended by com.rubecula.darwin.core.TraitMap_Abstract
              extended by com.rubecula.darwin.core.Phenome_Abstract
                  extended by com.rubecula.darwin.core.Phenome_Default
All Implemented Interfaces:
Phenome, TraitMap, Serializable, Cloneable, Map<String,Trait>

public final class Phenome_Default
extends Phenome_Abstract

This concrete class represents the template for Phenotypes of Organisms within a Darwinian system. It is the physical counterpart to the Genome and forms part of a Darwinian system.

Version:
$Revision: 1.2 $ TODO do we really need this for testing? Couldn't we use Phenome_Numerical instead?
Author:
Robin Hillyard
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.rubecula.darwin.core.Phenome_Abstract
log
 
Constructor Summary
Phenome_Default(Fitness fitnessFunction)
          This constructs a new (empty) Phenome belonging to a Darwinian system.
 
Method Summary
 
Methods inherited from class com.rubecula.darwin.core.Phenome_Abstract
getData, getFitnessFunction, setData
 
Methods inherited from class com.rubecula.darwin.core.TraitMap_Abstract
add, getTrait, size
 
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.rubecula.darwin.core.TraitMap
add, getTrait, size
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Constructor Detail

Phenome_Default

public Phenome_Default(Fitness fitnessFunction)
This constructs a new (empty) Phenome belonging to a Darwinian system.

Parameters:
fitnessFunction - the implementer of Fitness which evaluates the fintness of a phenome for an environemnt.