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

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

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

Public Member Functions

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

Detailed Description


template<typename FunctionType, bool HasDecomposableEvaluateWithGradient = traits::HasEvaluateWithGradient<FunctionType, traits::DecomposableEvaluateWithGradientConstForm>::value, bool HasDecomposableEvaluate = traits::HasEvaluate<FunctionType, traits::DecomposableEvaluateConstForm>::value>
class mlpack::optimization::AddDecomposableEvaluateConst< FunctionType, HasDecomposableEvaluateWithGradient, HasDecomposableEvaluate >

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

Definition at line 97 of file add_decomposable_evaluate.hpp.

Member Function Documentation

◆ Evaluate()

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

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