LBFGSCallbackData

scalation.optimization.quasi_newton.LBFGSCallbackData
case class LBFGSCallbackData(n: Int, instance: Any, evalLogic: EvaluationLogic)

The LBFGSCallbackData case class is used to group together the EvaluationLogic specified for a L-BFGS optimization done by the LBFGS object with values that are the parameters for the methods of the EvaluationLogic. This allows the user to pass the optimization logic of the L-BFGS optimization as a parameter to different methods and classes while retaining the ability to callback the methods of said logic with the correct parameters.

Value parameters

evalLogic

EvaluationLogic that describes the optimization steps for the L-BFGS optimization done by the LBFGS object.

instance

an optional user data segment that may be provided when calling the LBFGS.lbfgsMain method (@see OptimizationLogic)

n

the number of variables used in the optimization.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product