Package | Description |
---|---|
org.hipparchus.samples.genetics |
Modifier and Type | Method and Description |
---|---|
Polygon |
Polygon.mutate(float mutationRate,
float mutationAmount)
Return a new Polygon, mutated with the given rate and amount.
|
static Polygon |
Polygon.randomPolygon(int length)
Creates a new random Polygon of the given length.
|
Modifier and Type | Method and Description |
---|---|
List<Polygon> |
PolygonChromosome.getPolygonRepresentation()
Return the internal representation, which is needed for our custom mutation policy.
|
AbstractListChromosome<Polygon> |
PolygonChromosome.newFixedLengthChromosome(List<Polygon> chromosomeRepresentation) |
Modifier and Type | Method and Description |
---|---|
protected void |
PolygonChromosome.checkValidity(List<Polygon> chromosomeRepresentation) |
AbstractListChromosome<Polygon> |
PolygonChromosome.newFixedLengthChromosome(List<Polygon> chromosomeRepresentation) |
Constructor and Description |
---|
PolygonChromosome(List<Polygon> representation) |
Copyright © 2016 Hipparchus.org. All rights reserved.