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