ClampToBounds

Clamps each coordinate to its input range: values below the lower bound become the lower bound, values above the upper bound become the upper bound. This is the default boundary handler.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open override fun enforce(x: DoubleArray, problemDefinition: ProblemDefinition): DoubleArray

Enforces the input-range bounds on the supplied continuous position.

Link copied to clipboard
open override fun toString(): String