#include <alpaqa/inner/directions/panoc/noop.hpp>
Direction provider that provides no directions (apply always returns false).
Classes | |
struct | Params |
Public Types | |
using | Problem = TypeErasedProblem< config_t > |
using | AcceleratorParams = std::monostate |
using | DirectionParams = std::monostate |
Public Member Functions | |
NoopDirection ()=default | |
NoopDirection (Params) | |
NoopDirection (AcceleratorParams, DirectionParams) | |
void | initialize (const Problem &problem, crvec y, crvec Σ, real_t γ_0, crvec x_0, crvec x̂_0, crvec p_0, crvec grad_ψx_0) |
bool | has_initial_direction () const |
bool | update (real_t γₖ, real_t γₙₑₓₜ, crvec xₖ, crvec xₙₑₓₜ, crvec pₖ, crvec pₙₑₓₜ, crvec grad_ψxₖ, crvec grad_ψxₙₑₓₜ) |
bool | apply (real_t γₖ, crvec xₖ, crvec x̂ₖ, crvec pₖ, crvec grad_ψxₖ, rvec qₖ) const |
void | changed_γ (real_t γₖ, real_t old_γₖ) |
void | reset () |
std::string | get_name () const |
void | get_params () const |
struct alpaqa::NoopDirection::Params |
Class Members | ||
---|---|---|
AcceleratorParams | accelerator = {} | |
DirectionParams | direction = {} |
using Problem = TypeErasedProblem<config_t> |
using AcceleratorParams = std::monostate |
using DirectionParams = std::monostate |
|
default |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |