org.encog.ml.genetic.genome
public interface ArrayGenome extends Genome
| Modifier and Type | Method and Description |
|---|---|
void |
copy(ArrayGenome source,
int sourceIndex,
int targetIndex)
Copy elements from another array genome into this one.
|
void |
swap(int iswap1,
int iswap2)
Swap two elements in this genome.
|
copy, getAdjustedScore, getBirthGeneration, getPopulation, getScore, getSpecies, setAdjustedScore, setBirthGeneration, setPopulation, setScore, setSpecies, sizevoid copy(ArrayGenome source, int sourceIndex, int targetIndex)
source - The source genome.sourceIndex - The source index.targetIndex - The target index.void swap(int iswap1,
int iswap2)
iswap1 - The first element index to swap.iswap2 - The second element index to swap.Copyright © 2014. All Rights Reserved.