corrected weight factor and updated doc
This commit is contained in:
parent
ef252cf7de
commit
f3e1e35ea3
2 changed files with 26 additions and 24 deletions
|
|
@ -77,9 +77,11 @@ int main()
|
|||
// Terminators
|
||||
eoGenContinue <Particle> genCont (50);
|
||||
|
||||
|
||||
// the full initializer
|
||||
eoInitializer <Particle> init(eval,veloRandom,localInit,topology,pop);
|
||||
|
||||
// PS flight
|
||||
eoEasyPSO<Particle> pso(genCont, eval, velocity, flight);
|
||||
eoEasyPSO<Particle> pso(init,genCont, eval, velocity, flight);
|
||||
|
||||
|
||||
// flight
|
||||
|
|
|
|||
Reference in a new issue