|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ec.Subpopulation | +--ec.multiobjective.spea2.SPEA2Subpopulation
SPEA2Subpopulation is a simple subclass of Subpopulation which adds the archiveSize field. The archive is portion of the subpopulation so archive size may not exceed the population size.
Parameters
base.archive-size int >= 1 < populationSize |
(total number of individuals from the population which are in the archive) |
Parameter bases
base.species | species (the subpopulations' species) |
base.fitness | f_prototype (the prototypical fitness) |
Subpopulation
, Serialized FormField Summary | |
int |
archiveSize
The SPEA2 archive size |
static java.lang.String |
P_ARCHIVESIZE
|
Fields inherited from class ec.Subpopulation |
f_prototype, individuals, loadInds, numDuplicateRetries, P_FILE, P_FITNESS, P_RETRIES, P_SPECIES, P_SUBPOPSIZE, species |
Constructor Summary | |
SPEA2Subpopulation()
|
Method Summary | |
void |
setup(EvolutionState state,
Parameter base)
Returns an instance of Subpopulation just like it had been before it was populated with individuals. |
Methods inherited from class ec.Subpopulation |
emptyClone, populate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface ec.Group |
emptyClone |
Field Detail |
public int archiveSize
public static final java.lang.String P_ARCHIVESIZE
Constructor Detail |
public SPEA2Subpopulation()
Method Detail |
public void setup(EvolutionState state, Parameter base)
setup
in interface Setup
setup
in class Subpopulation
Group.emptyClone()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |