Stochastic Hill Climber
A class that implements the Stochastic Hill Climbing optimization algorithm. This algorithm searches for an optimal solution by iteratively evaluating and moving to neighborhood solutions, as determined by the evaluator and the problem definition. It uses a stochastic approach to explore the solution space by leveraging a random number stream.
Parameters
An evaluator object that provides the problem definition and performs solution evaluation.
The maximum number of iterations the algorithm is allowed to execute.
An instance of ReplicationPerEvaluationIfc
defining the strategy for determining the number of replications per evaluation.
the random number stream number, defaults to 0, which means the next stream
the provider of random number streams, defaults to KSLRandom.DefaultRNStreamProvider
An optional name for this solver instance.
Constructors
Constructs an instance of StochasticHillClimber with specified parameters.
Creates a StochasticHillClimber instance with the provided evaluator, maximum iterations, replications per evaluation strategy, and an optional random number stream and name.