org.apache.commons.math.genetics
Class DummyRandomKey
java.lang.Object
org.apache.commons.math.genetics.Chromosome
org.apache.commons.math.genetics.AbstractListChromosome<Double>
org.apache.commons.math.genetics.RandomKey<String>
org.apache.commons.math.genetics.DummyRandomKey
- All Implemented Interfaces:
- Comparable<org.apache.commons.math.genetics.Chromosome>, org.apache.commons.math.genetics.Fitness, org.apache.commons.math.genetics.PermutationChromosome<String>
public class DummyRandomKey
- extends org.apache.commons.math.genetics.RandomKey<String>
Implementation of RandomKey for testing purposes
Methods inherited from class org.apache.commons.math.genetics.RandomKey |
checkValidity, comparatorPermutation, decode, identityPermutation, inducedPermutation, isSame, randomPermutation, toString |
Methods inherited from class org.apache.commons.math.genetics.AbstractListChromosome |
getLength, getRepresentation |
Methods inherited from class org.apache.commons.math.genetics.Chromosome |
compareTo, findSameChromosome, getFitness, searchForFitnessUpdate |
DummyRandomKey
public DummyRandomKey(List<Double> representation)
DummyRandomKey
public DummyRandomKey(Double[] representation)
newFixedLengthChromosome
public org.apache.commons.math.genetics.AbstractListChromosome<Double> newFixedLengthChromosome(List<Double> representation)
- Specified by:
newFixedLengthChromosome
in class org.apache.commons.math.genetics.AbstractListChromosome<Double>
fitness
public double fitness()
Copyright © 2003-2010 Apache Software Foundation. All Rights Reserved.