com.rubecula.darwin.core
Class Gene_Diploid

java.lang.Object
  extended by com.rubecula.util.AuditableObject
      extended by com.rubecula.darwin.core.Gene_Abstract
          extended by com.rubecula.darwin.core.Gene_Diploid
All Implemented Interfaces:
Gene, Auditable, Identifiable, Cloneable

public class Gene_Diploid
extends Gene_Abstract

Concrete class to model a diploid gene (locus).

Author:
Robin

Field Summary
 
Fields inherited from class com.rubecula.darwin.core.Gene_Abstract
log
 
Constructor Summary
Gene_Diploid(Allele allele0, Allele allele1)
          Constructor to create a diploid gene with allele0 in slot 0 and allele1 in slot 1.
 
Method Summary
 
Methods inherited from class com.rubecula.darwin.core.Gene_Abstract
audit, clone, getAllele, getIdentifier, getOde, mutate, setAllele, setAlleles, toString
 
Methods inherited from class com.rubecula.util.AuditableObject
audit, audit, audit
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Gene_Diploid

public Gene_Diploid(Allele allele0,
                    Allele allele1)
Constructor to create a diploid gene with allele0 in slot 0 and allele1 in slot 1.

Parameters:
allele0 -
allele1 -