org.apache.commons.math.genetics
Class DummyBinaryChromosome
java.lang.Object
org.apache.commons.math.genetics.Chromosome
org.apache.commons.math.genetics.AbstractListChromosome<Integer>
org.apache.commons.math.genetics.BinaryChromosome
org.apache.commons.math.genetics.DummyBinaryChromosome
- All Implemented Interfaces:
- Comparable<org.apache.commons.math.genetics.Chromosome>, org.apache.commons.math.genetics.Fitness
public class DummyBinaryChromosome
- extends org.apache.commons.math.genetics.BinaryChromosome
Implementation of BinaryChromosome for testing purposes
Methods inherited from class org.apache.commons.math.genetics.BinaryChromosome |
checkValidity, isSame, randomBinaryRepresentation |
Methods inherited from class org.apache.commons.math.genetics.AbstractListChromosome |
getLength, getRepresentation, toString |
Methods inherited from class org.apache.commons.math.genetics.Chromosome |
compareTo, findSameChromosome, getFitness, searchForFitnessUpdate |
DummyBinaryChromosome
public DummyBinaryChromosome(List<Integer> representation)
DummyBinaryChromosome
public DummyBinaryChromosome(Integer[] representation)
newFixedLengthChromosome
public org.apache.commons.math.genetics.AbstractListChromosome<Integer> newFixedLengthChromosome(List<Integer> representation)
- Specified by:
newFixedLengthChromosome
in class org.apache.commons.math.genetics.AbstractListChromosome<Integer>
fitness
public double fitness()
Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.