public GeneticEngine(IFitnessFunction fitnessFunction) { this._fitnessFunction = fitnessFunction; this.GenomeLength = fitnessFunction.getAriaty(); this.GenerationCount = DEFAULT_GENERATION_COUNT; this.IndividualCount = 100; this.SelectionType = DEFAULT_SELECTION_TYPE; this.CrossingType = DEFAULT_CROSSING_TYPE; this.UseMutation = DEFAULT_USE_MUTATION; this.MutationPercent = 0.1d; }