示例#1
0
        public void initialize(int popSize, Range mathCellSizeRange, int testLength)
        {
            //Create the population array
            this.ind = new Individual[popSize];

            for (int i = 0; i < this.popSize; i++)
            {
                this.ind[i] = new Individual();
                this.ind[i].initialize(mathCellSizeRange, testLength);
            }
        }
示例#2
0
 public void initialize(Range mathCellSizeRange, int testLength)
 {
     testConfig = new TestConfiguration(testLength);
     testConfig.initializePredictionPoints();
     dataFunction = RGen.gen.newRandMathCell(mathCellSizeRange, testConfig.argLength);
 }
示例#3
0
 public MathCell newRandMathCell(Range mathCellSizeRange, int argLength)
 {
     return randCell(RGen.gen.Next(mathCellSizeRange.min, mathCellSizeRange.max), argLength);
 }