RSplineSolver

constructor(problemDefinition: ProblemDefinition, evaluator: EvaluatorIfc, maxIterations: Int = defaultMaxNumberIterations, initialNumReps: Int = defaultInitialSampleSize, sampleSizeGrowthRate: Double = defaultReplicationGrowthRate, maxNumReplications: Int = defaultMaxNumReplications, solutionEqualityChecker: SolutionEqualityIfc = InputsAndConfidenceIntervalEquality(), streamNum: Int = 0, streamProvider: RNStreamProviderIfc = KSLRandom.DefaultRNStreamProvider, name: String? = null)(source)

Parameters

problemDefinition

the problem being solved.

evaluator

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

initialNumReps

the initial starting number of replications

maxIterations

The maximum number of iterations allowed for the solving process.

sampleSizeGrowthRate

the growth rate for the replications. The default is set by defaultReplicationGrowthRate.

maxNumReplications

the maximum number of replications permitted. If the growth exceeds this value, then this value is used for all future replications. The default is determined by defaultMaxNumReplications

solutionEqualityChecker

Used when testing if solutions have converged for equality between solutions. The default is InputsAndConfidenceIntervalEquality, which checks if the inputs are the same and there is no statistical difference between the solutions

streamNum

the random number stream number, defaults to 0, which means the next stream

streamProvider

the provider of random number streams, defaults to KSLRandom.DefaultRNStreamProvider

name

Optional name identifier for this instance of the solver.


constructor(problemDefinition: ProblemDefinition, evaluator: EvaluatorIfc, maxIterations: Int = defaultMaxNumberIterations, replicationsPerEvaluation: FixedGrowthRateReplicationSchedule, solutionEqualityChecker: SolutionEqualityIfc = InputsAndConfidenceIntervalEquality(), streamNum: Int = 0, streamProvider: RNStreamProviderIfc = KSLRandom.DefaultRNStreamProvider, name: String? = null)(source)

Creates an R-SPLINE solver with the specified parameters.

Parameters

problemDefinition

the problem being solved.

evaluator

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

maxIterations

The maximum number of iterations allowed for the solving process.

replicationsPerEvaluation

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

solutionEqualityChecker

Used when testing if solutions have converged for equality between solutions. The default is InputsAndConfidenceIntervalEquality, which checks if the inputs are the same and there is no statistical difference between the solutions

streamNum

the random number stream number, defaults to 0, which means the next stream

streamProvider

the provider of random number streams, defaults to KSLRandom.DefaultRNStreamProvider

name

Optional name identifier for this instance of the solver.