mlpack  git-master
CheckNumConstraints< FunctionType > Struct Template Reference

Check if a suitable overload of NumConstraints() is available. More...

Static Public Attributes

static const bool value
 

Detailed Description


template
<
typename
FunctionType
>

struct mlpack::optimization::traits::CheckNumConstraints< FunctionType >

Check if a suitable overload of NumConstraints() is available.

This is required by the ConstrainedFunctionType API.

Definition at line 115 of file static_checks.hpp.

Member Data Documentation

◆ value

const bool value
static
Initial value:
=
HasNumConstraints<FunctionType, NumConstraintsForm>::value ||
HasNumConstraints<FunctionType, NumConstraintsConstForm>::value ||
HasNumConstraints<FunctionType, NumConstraintsStaticForm>::value

Definition at line 117 of file static_checks.hpp.


The documentation for this struct was generated from the following file:
  • /var/www/www.mlpack.org/mlpack-git/src/mlpack/core/optimizers/function/static_checks.hpp