com.rubecula.darwin.core
Class Genome_Diploid
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.Vector
com.rubecula.util.AuditableVector
com.rubecula.darwin.core.Genome_Abstract
com.rubecula.darwin.core.Genome_Diploid
- All Implemented Interfaces:
- Genome, Auditable, Identifiable, Serializable, Cloneable, Iterable, Collection, List, RandomAccess
public class Genome_Diploid
- extends Genome_Abstract
Concrete implementation of Genome representing the possible genetic information contained in a
Darwinian system.
A Genome_Diploid may contain any number of gene Loci.
A Genome_Diploid is essentially a template for a Genotype.
Both structures are approximately parallel.
Note that there is currently no division of Loci into
Chromosomes.
TODO Is that reasonable?
- Version:
- $Revision: 1.1 $
- Author:
- Robin Hillyard
- See Also:
- Serialized Form
| 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, toString, trimToSize |
| Methods inherited from interface com.rubecula.darwin.core.Genome |
size |
Genome_Diploid
public Genome_Diploid(String identifier,
Meiosis meioter,
Expression expresser,
Factory factory)
- Constructor for a new Genome_Diploid instance using the given meiosis implementaion.
- Parameters:
identifier - the identifier for this Genome.meioter - an implementer of Meiosis.expresser - an implementer of Expression.
which allows any Genotype conforming to this Genome to
be expressed as a Phenotype.factory - the implementer of Factory.
Genome_Diploid
public Genome_Diploid(String identifier,
Meiosis meioter,
Mutator mutator,
Expression expresser,
Factory factory)
- Constructor for a new Genome_Diploid instance using the given meiosis implementation
and the given mutator implementation.
- Parameters:
identifier - meioter - mutator - expresser - factory - the implementer of Factory.