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()
GACrossResult
getCrossOverPositions
in interface GACrossResult
PointLocations
describing the cross over points.public SymbolList[] getChromosomes()
GACrossResult
getChromosomes
in interface GACrossResult
Copyright © 2014 BioJava. All rights reserved.