CrossEntropySolver

constructor(evaluator: EvaluatorIfc, ceSampler: CESamplerIfc, maxIterations: Int = ceDefaultMaxIterations, replicationsPerEvaluation: Int = defaultReplicationsPerEvaluation, name: String? = null)(source)

Constructs an instance of CrossEntropySolver with specified parameters.

Parameters

evaluator

The evaluator responsible for assessing the quality of solutions. Must implement the EvaluatorIfc interface.

ceSampler

the cross-entropy sampler for the cross-entropy distribution

maxIterations

The maximum number of iterations allowed for the search process.

replicationsPerEvaluation

The number of replications to perform for each evaluation of a solution.

name

Optional name identifier for this instance of the solver.


constructor(evaluator: EvaluatorIfc, ceSampler: CESamplerIfc, maxIterations: Int = ceDefaultMaxIterations, replicationsPerEvaluation: ReplicationPerEvaluationIfc, name: String? = null)(source)

Parameters

evaluator

The evaluator responsible for assessing the quality of solutions. Must implement the EvaluatorIfc interface.

ceSampler

the cross-entropy sampler for the cross-entropy distribution

maxIterations

The maximum number of iterations allowed for the search process.

replicationsPerEvaluation

Strategy to determine the number of replications to perform for each evaluation.

name

Optional name identifier for this instance of solver.