|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectes.udc.gii.common.eaf.algorithm.parallel.migration.selection.BestMigration
public class BestMigration
A selection strategy for selecting the best individuals of the current population for migrating to other islands.
Field Summary | |
---|---|
private int |
howMany
|
Constructor Summary | |
---|---|
BestMigration()
Creates a new instance of BestMigration |
|
BestMigration(int howMany)
Creates a new instance of BestMigration |
Method Summary | |
---|---|
void |
configure(org.apache.commons.configuration.Configuration conf)
Configures the specific element that implements this method. |
int |
getHowMany()
|
java.util.List<Individual> |
getIndividualsForMigration(EvolutionaryAlgorithm algorithm,
java.util.List<Individual> individuals)
Returns th individuals that can migrate to other processes. |
void |
setHowMany(int howMany)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private int howMany
Constructor Detail |
---|
public BestMigration()
public BestMigration(int howMany)
Method Detail |
---|
public java.util.List<Individual> getIndividualsForMigration(EvolutionaryAlgorithm algorithm, java.util.List<Individual> individuals)
MigSelectionStrategy
getIndividualsForMigration
in interface MigSelectionStrategy
public void configure(org.apache.commons.configuration.Configuration conf)
Configurable
configure
in interface Configurable
conf
- a Configuration object.Configuration
public int getHowMany()
public void setHowMany(int howMany)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |