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