Exemple #1
0
 protected void _FillSwarmParameters(FrankensteinSwarmCreationParameters parameters)
 {
     parameters.VerifyValues();
     this.FinalTopologyUpdate = parameters.FinalTopologyUpdate;
     this._FillSwarmParameters((InertiaSwarmCreationParameters)parameters);
 }
Exemple #2
0
 public FrankensteinSwarm(FrankensteinSwarmCreationParameters parameters)
 {
     this._FillSwarmParameters(parameters);
     this.Particles = this.CreateParticles(parameters);
     this.SplitParticlesInSets(parameters.NumberOfParticleSets);
 }