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

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

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

Public Member Functions

double Evaluate (traits::UnconstructableType &)
 

Detailed Description


template<typename FunctionType, bool HasEvaluateWithGradient = traits::HasEvaluateWithGradient<FunctionType, traits::EvaluateWithGradientForm>::value, bool HasEvaluate = traits::HasEvaluate<FunctionType, traits::EvaluateForm>::value>
class mlpack::optimization::AddEvaluate< FunctionType, HasEvaluateWithGradient, HasEvaluate >

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

Definition at line 32 of file add_evaluate.hpp.

Member Function Documentation

◆ Evaluate()

double Evaluate ( traits::UnconstructableType )

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