com.rubecula.darwin.domain.genetics
Class Chromosome_Sex

java.lang.Object
  extended by net.sf.tostring0.AToString
      extended by com.rubecula.darwin.domain.genetics.Chromosome_
          extended by com.rubecula.darwin.domain.genetics.Chromosome_Sex
All Implemented Interfaces:
Chromosome, Progenitor, SexLinked, net.sf.tostring0.Identifiable, net.sf.tostring0.IToString

public final class Chromosome_Sex
extends Chromosome_

lifespan: permanent. This type implements the Chromosome interface with a sex-linked chromosome.

Author:
Robin Hillyard

Field Summary
 
Fields inherited from class com.rubecula.darwin.domain.genetics.Chromosome_
LOG
 
Fields inherited from interface com.rubecula.darwin.domain.helper.Chromosome
SEX
 
Fields inherited from interface net.sf.tostring0.IToString
ANGBR_OPEN, ANGBRA_CLSE, BRA_CLSE, BRA_OPEN, BRCE_OPEN, BRCS_CLSE, COLON, LIST_SEPARATOR, MAX_ELEMENTS_DEFAULT, S_MT, S_PERCENT, SEPARATOR, SPACE
 
Constructor Summary
Chromosome_Sex(org.apache.commons.math.random.RandomGenerator random)
           
 
Method Summary
protected  void clear()
          Clear all but the sex locus.
 Locus getSexLocus()
           
 
Methods inherited from class com.rubecula.darwin.domain.genetics.Chromosome_
add, add, addAll, addLocus, addLocus, contains, equals, getCount, getGenomic, getIdentifier, getLoci, getLocus, hashCode, indexOf, isEmpty, isSexLinked, lastIndexOf, remove, remove, retainAll, setGenomic, setLoci, toArray, toArray
 
Methods inherited from class net.sf.tostring0.AToString
toString, toString, toStringBrief, toStringId
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface net.sf.tostring0.IToString
toString, toStringBrief, toStringId
 

Constructor Detail

Chromosome_Sex

public Chromosome_Sex(org.apache.commons.math.random.RandomGenerator random)
Parameters:
random - XXX
Method Detail

getSexLocus

public Locus getSexLocus()
Returns:
the sex locus. XXX consider making this method part of an interface

clear

protected void clear()
Clear all but the sex locus.

Overrides:
clear in class Chromosome_
See Also:
Chromosome_.clear()


Copyright © 2010 Rubecula Software, LLC. All Rights Reserved.