LSLOpt  1.0
Static Public Member Functions | List of all members
LSLOpt::Implementation::NoMaxStepLengthIdentifierTrait< Problem, Scalar > Struct Template Reference

The no step length identifier. More...

#include <ProblemTraits.hpp>

Static Public Member Functions

static constexpr Scalar initial_step_length (Problem &, const Vector< Scalar > &, const Vector< Scalar > &)
 Get the intial step length from problem. More...
 
static constexpr Scalar change_acceptable (Problem &, const Vector< Scalar > &, const Vector< Scalar > &)
 Check if change is acceptable. More...
 
static constexpr bool is_check_acceptable_first (Problem &)
 Check if change acceptability should be checked first. More...
 

Detailed Description

template<typename Problem, typename Scalar>
struct LSLOpt::Implementation::NoMaxStepLengthIdentifierTrait< Problem, Scalar >

The no step length identifier.

Member Function Documentation

◆ change_acceptable()

template<typename Problem , typename Scalar >
static constexpr Scalar LSLOpt::Implementation::NoMaxStepLengthIdentifierTrait< Problem, Scalar >::change_acceptable ( Problem &  ,
const Vector< Scalar > &  ,
const Vector< Scalar > &   
)
inlinestatic

Check if change is acceptable.

Returns
Scalar{0}

◆ initial_step_length()

template<typename Problem , typename Scalar >
static constexpr Scalar LSLOpt::Implementation::NoMaxStepLengthIdentifierTrait< Problem, Scalar >::initial_step_length ( Problem &  ,
const Vector< Scalar > &  ,
const Vector< Scalar > &   
)
inlinestatic

Get the intial step length from problem.

Returns
$ \infty $.

◆ is_check_acceptable_first()

template<typename Problem , typename Scalar >
static constexpr bool LSLOpt::Implementation::NoMaxStepLengthIdentifierTrait< Problem, Scalar >::is_check_acceptable_first ( Problem &  )
inlinestatic

Check if change acceptability should be checked first.

Returns
false

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