Class HillClimbing

java.lang.Object
com.titan.experiments.HillClimbing
Direct Known Subclasses:
CalculateInitialVelocity_HillClimbing, CalculateReturningVelocity_HillClimbing

public abstract class HillClimbing extends Object
Abstract class that can be extended to implement custom versions of a hill-climbing algorithm to compute a vector (e.g. velocity, force or position).

The two methods setUpSimulation(Vector, int) and calculateError(Simulation) have to be overridden in the custom implementation. They are the parts of the algorithm which are responsible for the custom use of the input vector in the simulation and the error-value that the hill-climbing algorithm tries to minimize.