- All Implemented Interfaces:
public final class GramacyLee2012 extends Object implements OptimizationProblem<SingleReal>, Initializer<SingleReal>
A continuous function with a large number of local minimums, and a single global minimum, defined for input x in [0.5, 2.5].
This minimization problem was introduced in:
- Gramacy, R.B.; Lee, H.K.H. Cases for the nugget in modeling computer experiments. Statistics and Computing 2012, 22, 713–722. doi:10.1007/s11222-010-9224-x.
Constructors Constructor Description
GramacyLee2012()Constructs the GramacyLee2012 cost function.
All Methods Instance Methods Concrete Methods Modifier and Type Method Description
cost(SingleReal candidate)Computes the cost of a candidate solution to the problem instance.
createCandidateSolution()Creates one candidate solution to a problem.
split()Generates a functionally identical copy of this object, for use in multithreaded implementations of search algorithms.
value(SingleReal candidate)Computes the value of the candidate solution within the usual constraints and interpretation of the problem.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public double cost(SingleReal candidate)Description copied from interface:
OptimizationProblemComputes the cost of a candidate solution to the problem instance. The lower the cost, the more optimal the candidate solution.
public double value(SingleReal candidate)Description copied from interface:
OptimizationProblemComputes the value of the candidate solution within the usual constraints and interpretation of the problem.
public SingleReal createCandidateSolution()Description copied from interface:
InitializerCreates one candidate solution to a problem.
public GramacyLee2012 split()Description copied from interface:
SplittableGenerates a functionally identical copy of this object, for use in multithreaded implementations of search algorithms. The state of the object that is returned may or may not be identical to that of the original. Thus, this is a distinct concept from the functionality of the
Copyableinterface. Classes that implement this interface must ensure that the object returned performs the same functionality, and that it does not share any state data that would be either unsafe or inefficient for concurrent access by multiple threads. The split method is allowed to simply return the this reference, provided that it is both safe and efficient for multiple threads to share a single copy of the Splittable object. The intention is to provide a multithreaded search with the capability to provide spawned threads with their own distinct search operators. Such multithreaded algorithms can call the split method for each thread it spawns to generate a functionally identical copy of the operator, but with independent state.