public final class SimpleGACrossResult extends Object implements GACrossResult
Simple implementation of the GACross interface. Basically a
data structure to hold the results of a GACross
| Constructor and Description |
|---|
SimpleGACrossResult(PointLocation[] crossOverPositions,
SymbolList[] chromosomes) |
| Modifier and Type | Method and Description |
|---|---|
SymbolList[] |
getChromosomes()
Gets the chromosomes after the cross
|
PointLocation[] |
getCrossOverPositions()
Returns the collection of cross over locations from the last cross
|
public SimpleGACrossResult(PointLocation[] crossOverPositions, SymbolList[] chromosomes)
public PointLocation[] getCrossOverPositions()
GACrossResultgetCrossOverPositions in interface GACrossResultPointLocations
describing the cross over points.public SymbolList[] getChromosomes()
GACrossResultgetChromosomes in interface GACrossResultCopyright © 2020 BioJava. All rights reserved.