constructor(problemDefinition: ProblemDefinition, evaluator: EvaluatorIfc, streamNum: Int = 0, streamProvider: RNStreamProviderIfc = RNStreamProvider(), populationSize: Int = defaultPopulationSize, selectionOperator: SelectionOperatorIfc = TournamentSelection(), crossoverOperator: CrossoverOperatorIfc = BlendCrossover(), mutationOperator: MutationOperatorIfc = GaussianMutation(problemDefinition), maximumIterations: Int = gaDefaultMaxIterations, replicationsPerEvaluation: ReplicationPerEvaluationIfc, solutionEqualityChecker: SolutionEqualityIfc = InputsAndConfidenceIntervalEquality(), name: String? = null)(source) the evaluator responsible for assessing the quality of solutions
the random number stream number; 0 (the default) means the next available stream
the provider of random number streams; defaults to a fresh RNStreamProvider
the number of individuals per generation
the maximum number of generations
replicationsPerEvaluation
strategy to determine the number of replications per evaluation
an optional name for the solver
constructor(problemDefinition: ProblemDefinition, evaluator: EvaluatorIfc, streamNum: Int = 0, streamProvider: RNStreamProviderIfc = RNStreamProvider(), populationSize: Int = defaultPopulationSize, selectionOperator: SelectionOperatorIfc = TournamentSelection(), crossoverOperator: CrossoverOperatorIfc = BlendCrossover(), mutationOperator: MutationOperatorIfc = GaussianMutation(problemDefinition), maximumIterations: Int = gaDefaultMaxIterations, replicationsPerEvaluation: Int = defaultReplicationsPerEvaluation, solutionEqualityChecker: SolutionEqualityIfc = InputsAndConfidenceIntervalEquality(), name: String? = null)(source) Constructs a genetic algorithm solver using a fixed number of replications per evaluation.
replicationsPerEvaluation
the fixed number of replications per evaluation