public Particle(uint id, Fitness fitness, Optimization.State state) : base(id, fitness, state) { d_personalBests = new Dictionary <uint, Particle>(); d_allParameters = new List <Parameter>(); d_allVelocities = new List <double>(); d_activeIndices = new List <uint>(); d_activeSet = new List <uint>(); d_hash = 0; }
public Particle(uint id, Fitness fitness, Optimization.State state) : base(id, fitness, state) { d_velocity = new List <double>(); d_personalBest = null; }