jaga
Class FullOrderGenotype

java.lang.Object
  |
  +--java.util.BitSet
        |
        +--jaga.BitSet
              |
              +--jaga.Genotype
                    |
                    +--jaga.FullOrderGenotype
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Comparable, islandev.Individual, java.io.Serializable

public class FullOrderGenotype
extends Genotype

Genotype in which the compareTo method defines a dictionary full order considering the fitness and then all properties.

See Also:
Serialized Form

Fields inherited from class jaga.Genotype
FIT_DECL, GEN_DECL, LEN_DECL, MAX_FITNESS, PROP_DECL
 
Constructor Summary
FullOrderGenotype(int length)
           
FullOrderGenotype(java.lang.String bits)
           
FullOrderGenotype(java.lang.String symbols, int length, int base)
           
 
Method Summary
 int compareTo(java.lang.Object o)
          Only look at fitness when comparing.
 java.lang.String toString()
          Will convert the BitSet to a string using the current codebase.
 
Methods inherited from class jaga.Genotype
addProperty, bitSetEquals, clear, clone, equals, flip, getFitness, getFitness, getProperty, set, setFitness, setLength, setProperty, setTo, touched
 
Methods inherited from class jaga.BitSet
bitsToInt, getBooleanChunk, getChunk, hashCode, length, setBits, setCodeBase
 
Methods inherited from class java.util.BitSet
and, andNot, get, or, size, xor
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FullOrderGenotype

public FullOrderGenotype(java.lang.String bits)

FullOrderGenotype

public FullOrderGenotype(java.lang.String symbols,
                         int length,
                         int base)

FullOrderGenotype

public FullOrderGenotype(int length)
Method Detail

compareTo

public int compareTo(java.lang.Object o)
Description copied from class: Genotype
Only look at fitness when comparing.
Overrides:
compareTo in class Genotype

toString

public java.lang.String toString()
Description copied from class: BitSet
Will convert the BitSet to a string using the current codebase.
Overrides:
toString in class Genotype