mlpack  git-master
AddEvaluateStatic< FunctionType, HasEvaluateWithGradient, HasEvaluate > Class Template Reference

The AddEvaluateStatic mixin class will provide a static Evaluate() method if the given FunctionType has EvaluateWithGradient() static, or nothing otherwise. More...

Inheritance diagram for AddEvaluateStatic< FunctionType, HasEvaluateWithGradient, HasEvaluate >:

Static Public Member Functions

static double Evaluate (traits::UnconstructableType &)
 

Detailed Description


template<typename FunctionType, bool HasEvaluateWithGradient = traits::HasEvaluateWithGradient<FunctionType, traits::EvaluateWithGradientStaticForm>::value, bool HasEvaluate = traits::HasEvaluate<FunctionType, traits::EvaluateStaticForm>::value>
class mlpack::optimization::AddEvaluateStatic< FunctionType, HasEvaluateWithGradient, HasEvaluate >

The AddEvaluateStatic mixin class will provide a static Evaluate() method if the given FunctionType has EvaluateWithGradient() static, or nothing otherwise.

Definition at line 144 of file add_evaluate.hpp.

Member Function Documentation

◆ Evaluate()

static double Evaluate ( traits::UnconstructableType )
static

The documentation for this class was generated from the following file: