public interface Space
| Modifier and Type | Method and Description |
|---|---|
int |
getIndex(int threadnum)
Functionality: retrieve the index for a specific threanum.
|
int |
getIndexRandomNeighbor(EvolutionState state,
int threadnum,
int distance)
Input: the maximum distance for neighbors.
|
void |
setIndex(int threadnum,
int index)
Input: a threadnumber (either for evaluation or for breeding), and an index in a subpopulation
(the index in the subpopulation is, of course, associated with a location in the space)
Functionality: stores the index and the threadnumber for further accesses to the getIndexRandomNeighbor
method.
|
void setIndex(int threadnum,
int index)
int getIndex(int threadnum)
int getIndexRandomNeighbor(EvolutionState state, int threadnum, int distance)
Copyright © 2014 Evolutionary Computation Laboratory at George Mason University. All rights reserved.