mlpack  git-master
AddDecomposableEvaluate< FunctionType, HasDecomposableEvaluateWithGradient, HasDecomposableEvaluate > Class Template Reference

The AddDecomposableEvaluate mixin class will add a decomposable Evaluate() method if a decomposable EvaluateWithGradient() function exists, or nothing otherwise. More...

Inheritance diagram for AddDecomposableEvaluate< FunctionType, HasDecomposableEvaluateWithGradient, HasDecomposableEvaluate >:

Public Member Functions

double Evaluate (traits::UnconstructableType &, const size_t, const size_t)
 
double Evaluate (traits::UnconstructableType &, const size_t)
 

Detailed Description


template<typename FunctionType, bool HasDecomposableEvaluateWithGradient = traits::HasEvaluateWithGradient<FunctionType, traits::DecomposableEvaluateWithGradientForm>::value, bool HasDecomposableEvaluate = traits::HasEvaluate<FunctionType, traits::DecomposableEvaluateForm>::value>
class mlpack::optimization::AddDecomposableEvaluate< FunctionType, HasDecomposableEvaluateWithGradient, HasDecomposableEvaluate >

The AddDecomposableEvaluate mixin class will add a decomposable Evaluate() method if a decomposable EvaluateWithGradient() function exists, or nothing otherwise.

Definition at line 33 of file add_decomposable_evaluate.hpp.

Member Function Documentation

◆ Evaluate() [1/2]

double Evaluate ( traits::UnconstructableType ,
const size_t  ,
const size_t   
)

◆ Evaluate() [2/2]

double Evaluate ( traits::UnconstructableType ,
const size_t   
)

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