org.apache.commons.math3.genetics
Class DummyRandomKey
java.lang.Object
org.apache.commons.math3.genetics.Chromosome
org.apache.commons.math3.genetics.AbstractListChromosome<Double>
org.apache.commons.math3.genetics.RandomKey<String>
org.apache.commons.math3.genetics.DummyRandomKey
- All Implemented Interfaces:
- Comparable<Chromosome>, Fitness, PermutationChromosome<String>
public class DummyRandomKey
- extends RandomKey<String>
Implementation of RandomKey for testing purposes
DummyRandomKey
public DummyRandomKey(List<Double> representation)
DummyRandomKey
public DummyRandomKey(Double[] representation)
newFixedLengthChromosome
public AbstractListChromosome<Double> newFixedLengthChromosome(List<Double> chromosomeRepresentation)
- Specified by:
newFixedLengthChromosome in class AbstractListChromosome<Double>
fitness
public double fitness()
Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.