|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectec.Breeder
ec.pso.PSOBreeder
public class PSOBreeder
PSOBreeder.java
The PSOBreeder performs the calculations to determine new particle locations and performs the bookkeeping to keep track of personal, neighborhood, and global best solutions.
Parameters
base.debug-info boolean |
(whether the system should display information useful for debugging purposes) |
Constructor Summary | |
---|---|
PSOBreeder()
|
Method Summary | |
---|---|
void |
assignGlobalBest(PSOSubpopulation subpop)
|
void |
assignNeighborhoodBests(PSOSubpopulation subpop)
|
void |
assignPersonalBests(PSOSubpopulation subpop)
|
Population |
breedPopulation(EvolutionState state)
Breeds state.population, returning a new population. |
void |
setup(EvolutionState state,
Parameter base)
Sets up the object by reading it from the parameters stored in state, built off of the parameter base base. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PSOBreeder()
Method Detail |
---|
public void setup(EvolutionState state, Parameter base)
Setup
public Population breedPopulation(EvolutionState state)
Breeder
breedPopulation
in class Breeder
public void assignPersonalBests(PSOSubpopulation subpop)
public void assignNeighborhoodBests(PSOSubpopulation subpop)
public void assignGlobalBest(PSOSubpopulation subpop)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |