public SAobject(List <double> arguments) : base() { this.randomGenerator = new LineRandom(); this.Position = new FitnessPoint(arguments, 0); this.Velocity = new Vector(arguments.Count); }
public SAobject(params double[] arguments) : base() { this.randomGenerator = new LineRandom(); this.Position = new FitnessPoint(arguments.ToList(), 0); this.Velocity = new Vector(arguments.Length); }
public Firefly(List <double> arguments) : base() { this.randomGenerator = new LineRandom(); this.Position = new FitnessPoint(arguments, 0); this.Attractiveness = 1; }
public Firefly(params double[] arguments) : base() { this.randomGenerator = new LineRandom(); this.Position = new FitnessPoint(arguments.ToList(), 0); this.Attractiveness = 1; }
public Particle(List <double> arguments) : base() { this.randomGenerator = new LineRandom(); this.Position = new FitnessPoint(arguments, 0); this.Velocity = new Vector(arguments.Count); this.Force = new Vector(arguments.Count); this.ElectricCharge = 0; }
public Particle(params double[] arguments) : base() { this.randomGenerator = new LineRandom(); this.Position = new FitnessPoint(arguments.ToList(), 0); this.Velocity = new Vector(arguments.Length); this.Force = new Vector(arguments.Length); this.ElectricCharge = 0; }
public Glowworm(List <double> arguments) : base() { this.randomGenerator = new LineRandom(); this.Position = new FitnessPoint(arguments, 0); this.SensorRange = new List <double>(); this.Luciferin = 0; this.MoveProbability = 0; }
protected Algorithm() { this.algorithmType = AlgorithmType.None; this.randomGenerator = new LineRandom(); this.canIEndIterator = 0; this.acctualIteration = 1; this.pointsCount = 0; this.function = null; this.ranges = new List <Compartment>(); }
public Bat(List <double> arguments) : base() { this.randomGenerator = new LineRandom(); this.Position = new FitnessPoint(arguments, 0); this.Velocity = new Vector(arguments.Count); this.RateOfImpulses = this.randomGenerator.NextDouble(); this.Audibility = this.randomGenerator.NextDouble(); this.WaveLength = 0; this.Frequency = 0; }
protected Algorithm(Function function, int pointsCount, List <Compartment> ranges) { this.algorithmType = AlgorithmType.None; this.randomGenerator = new LineRandom(); this.canIEndIterator = 0; this.acctualIteration = 1; if (function.ArgumentsSymbol.Count != ranges.Count) { throw new AlgorithmException(AlgorithmExceptionType.DifferenceArguments); } this.pointsCount = pointsCount; this.function = function; this.ranges = new List <Compartment>(ranges); }