com.rubecula.darwin.examples.travelingsalesman
Class Locus_TS

java.lang.Object
  extended by net.sf.tostring0.AToString
      extended by com.rubecula.darwin.domain.genetics.Locus_
          extended by com.rubecula.darwin.domain.genetics.Locus_Random
              extended by com.rubecula.darwin.examples.travelingsalesman.Locus_TS
All Implemented Interfaces:
Locus, Progenitor, SexLinked, net.sf.tostring0.Identifiable, net.sf.tostring0.IToString

public class Locus_TS
extends Locus_Random

Author:
Robin Hillyard

Field Summary
 
Fields inherited from class com.rubecula.darwin.domain.genetics.Locus_Random
_random
 
Fields inherited from class com.rubecula.darwin.domain.genetics.Locus_
LOG
 
Fields inherited from interface com.rubecula.darwin.domain.helper.Locus
ID_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
Locus_TS(boolean swap, java.lang.String identifier, org.apache.commons.math.random.RandomGenerator random)
           
 
Method Summary
 boolean isSwap()
           
 
Methods inherited from class com.rubecula.darwin.domain.genetics.Locus_Random
add, onChange, pickAllele, setAlleles
 
Methods inherited from class com.rubecula.darwin.domain.genetics.Locus_
addAllele, equals, getAllele, getAlleleMap, getAlleles, getAlleleValues, getChromosome, getFrequencies, getIdentifier, getKey, getParent, getPolygenic, hashCode, isLegal, isSexLinked, makeGene, putAllele, setParent, setPolygenic, size
 
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

Locus_TS

public Locus_TS(boolean swap,
                java.lang.String identifier,
                org.apache.commons.math.random.RandomGenerator random)
Parameters:
swap - true if this locus affects the swapping of route clients.
identifier -
random -
Method Detail

isSwap

public boolean isSwap()
Returns:
the value of swap, as defined by the constructor.


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