mlpack  3.0.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
AddEvaluateConst< FunctionType, HasEvaluateWithGradient, HasEvaluate > Class Template Reference

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

Inheritance diagram for AddEvaluateConst< FunctionType, HasEvaluateWithGradient, HasEvaluate >:
Inheritance graph
[legend]

Public Member Functions

double Evaluate (traits::UnconstructableType &) const
 

Detailed Description

template<typename FunctionType, bool HasEvaluateWithGradient = traits::HasEvaluateWithGradient<FunctionType, traits::EvaluateWithGradientConstForm>::value, bool HasEvaluate = traits::HasEvaluate<FunctionType, traits::EvaluateConstForm>::value>
class mlpack::optimization::AddEvaluateConst< FunctionType, HasEvaluateWithGradient, HasEvaluate >

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

Definition at line 87 of file add_evaluate.hpp.

Member Function Documentation

double Evaluate ( traits::UnconstructableType ) const

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