#include <alpaqa/inner/directions/panoc/anderson.hpp>
Definition at line 17 of file anderson.hpp.
Classes | |
struct | Params |
Public Types | |
using | Problem = TypeErasedProblem< config_t > |
using | AndersonAccel = alpaqa::AndersonAccel< config_t > |
using | AcceleratorParams = typename AndersonAccel::Params |
using | DirectionParams = AndersonDirectionParams< config_t > |
Public Member Functions | |
AndersonDirection ()=default | |
AndersonDirection (const Params ¶ms) | |
AndersonDirection (const typename AndersonAccel::Params ¶ms, const DirectionParams &directionparams={}) | |
AndersonDirection (const AndersonAccel &anderson, const DirectionParams &directionparams={}) | |
AndersonDirection (AndersonAccel &&anderson, const DirectionParams &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 |
auto | get_params () const |
Public Attributes | |
AndersonAccel | anderson |
DirectionParams | direction_params |
struct alpaqa::AndersonDirection::Params |
Class Members | ||
---|---|---|
AcceleratorParams | accelerator = {} | |
DirectionParams | direction = {} |
using Problem = TypeErasedProblem<config_t> |
Definition at line 20 of file anderson.hpp.
using AndersonAccel = alpaqa::AndersonAccel<config_t> |
Definition at line 21 of file anderson.hpp.
using AcceleratorParams = typename AndersonAccel::Params |
Definition at line 22 of file anderson.hpp.
using DirectionParams = AndersonDirectionParams<config_t> |
Definition at line 23 of file anderson.hpp.
|
default |
|
inline |
Definition at line 33 of file anderson.hpp.
|
inline |
Definition at line 35 of file anderson.hpp.
|
inline |
Definition at line 38 of file anderson.hpp.
|
inline |
Definition at line 41 of file anderson.hpp.
|
inline |
Definition at line 46 of file anderson.hpp.
|
inline |
Definition at line 56 of file anderson.hpp.
|
inline |
Definition at line 59 of file anderson.hpp.
|
inline |
Definition at line 68 of file anderson.hpp.
Definition at line 77 of file anderson.hpp.
|
inline |
Definition at line 85 of file anderson.hpp.
|
inline |
Definition at line 88 of file anderson.hpp.
|
inline |
|
mutable |
Definition at line 25 of file anderson.hpp.
DirectionParams direction_params |
Definition at line 95 of file anderson.hpp.