Public Member Functions | |
| OptState (const Vector< double > &xCur, const double &fCur, const Vector< double > &gradCur) | |
| OptStatus | status () const |
| void | setStatus (const OptStatus status) |
| int | iter () const |
| double | fCur () const |
| double | fPrev () const |
| Vector< double > | xCur () const |
| Vector< double > | xPrev () const |
| Vector< double > | gradCur () const |
| Vector< double > | gradPrev () const |
| void | update (const Vector< double > &xNew, const Vector< double > &gradNew, const double &fNew) |
Private Attributes | |
| OptStatus | status_ |
| int | iter_ |
| Vector< double > | xCur_ |
| Vector< double > | xPrev_ |
| Vector< double > | gradCur_ |
| Vector< double > | gradPrev_ |
| double | fCur_ |
| double | fPrev_ |
Definition at line 50 of file PlayaOptState.hpp.
| Playa::OptState::OptState | ( | const Vector< double > & | xCur, | |
| const double & | fCur, | |||
| const Vector< double > & | gradCur | |||
| ) |
Definition at line 12 of file PlayaOptState.cpp.
| double Playa::OptState::fCur | ( | ) | const [inline] |
Return the current objective function value
Definition at line 68 of file PlayaOptState.hpp.
References fCur_.
Referenced by Playa::LineSearchBasedOptBase::run(), and Playa::DefaultOptConvergenceTest::test().
| double Playa::OptState::fPrev | ( | ) | const [inline] |
Return the previous objective function value
Definition at line 71 of file PlayaOptState.hpp.
References fPrev_.
Referenced by Playa::DefaultOptConvergenceTest::test().
| Vector<double> Playa::OptState::gradCur | ( | ) | const [inline] |
Return the current gradient
Definition at line 80 of file PlayaOptState.hpp.
References gradCur_.
Referenced by Playa::LineSearchBasedOptBase::run(), and Playa::DefaultOptConvergenceTest::test().
| Vector<double> Playa::OptState::gradPrev | ( | ) | const [inline] |
Return the previous gradientx
Definition at line 83 of file PlayaOptState.hpp.
References gradPrev_.
| int Playa::OptState::iter | ( | ) | const [inline] |
Return the current iteration count
Definition at line 65 of file PlayaOptState.hpp.
References iter_.
Referenced by Playa::LineSearchBasedOptBase::run(), and Playa::DefaultOptConvergenceTest::test().
| void Playa::OptState::setStatus | ( | const OptStatus | status | ) | [inline] |
Definition at line 62 of file PlayaOptState.hpp.
References status_.
Referenced by Playa::LineSearchBasedOptBase::run().
| OptStatus Playa::OptState::status | ( | ) | const [inline] |
Definition at line 59 of file PlayaOptState.hpp.
References status_.
Referenced by Playa::LineSearchBasedOptBase::run().
| void Playa::OptState::update | ( | const Vector< double > & | xNew, | |
| const Vector< double > & | gradNew, | |||
| const double & | fNew | |||
| ) |
Definition at line 25 of file PlayaOptState.cpp.
References Playa::Vector< Scalar >::acceptCopyOf(), fCur_, fPrev_, gradCur_, gradPrev_, iter_, xCur_, and xPrev_.
Referenced by Playa::LineSearchBasedOptBase::run().
| Vector<double> Playa::OptState::xCur | ( | ) | const [inline] |
Return the current evaluation point
Definition at line 74 of file PlayaOptState.hpp.
References xCur_.
Referenced by Playa::LineSearchBasedOptBase::run(), and Playa::DefaultOptConvergenceTest::test().
| Vector<double> Playa::OptState::xPrev | ( | ) | const [inline] |
Return the previous evaluation point
Definition at line 77 of file PlayaOptState.hpp.
References xPrev_.
Referenced by Playa::DefaultOptConvergenceTest::test().
double Playa::OptState::fCur_ [private] |
double Playa::OptState::fPrev_ [private] |
Vector<double> Playa::OptState::gradCur_ [private] |
Vector<double> Playa::OptState::gradPrev_ [private] |
int Playa::OptState::iter_ [private] |
OptStatus Playa::OptState::status_ [private] |
Vector<double> Playa::OptState::xCur_ [private] |
Vector<double> Playa::OptState::xPrev_ [private] |