ROL
|
#include <ROL_SampledVector.hpp>
Public Member Functions | |
SampledVector (void) | |
Constructor. More... | |
void | update (const bool flag=true) |
Update for SampledVector storage. More... | |
bool | get (Vector< Real > &x, const std::vector< Real > ¶m) |
Return vector corresponding to input parameter. More... | |
void | set (const Vector< Real > &x, const std::vector< Real > ¶m) |
Set vector corresponding to input parameter. More... | |
Private Member Functions | |
void | reset (const bool flag=true) |
Private Attributes | |
std::map< std::vector< Real > , int > | indices_ |
std::vector< bool > | flags_ |
std::vector< ROL::Ptr< Vector < Real > > > | vectors_ |
int | maxIndex_ |
bool | updated_ |
Definition at line 51 of file ROL_SampledVector.hpp.
|
inline |
Constructor.
Definition at line 74 of file ROL_SampledVector.hpp.
References ROL::SampledVector< Real >::flags_, ROL::SampledVector< Real >::indices_, and ROL::SampledVector< Real >::vectors_.
|
inlineprivate |
Definition at line 62 of file ROL_SampledVector.hpp.
References ROL::SampledVector< Real >::flags_, and ROL::SampledVector< Real >::indices_.
Referenced by ROL::SampledVector< Real >::update().
|
inline |
Update for SampledVector storage.
Definition at line 83 of file ROL_SampledVector.hpp.
References ROL::SampledVector< Real >::reset(), and ROL::SampledVector< Real >::updated_.
|
inline |
Return vector corresponding to input parameter.
Definition at line 90 of file ROL_SampledVector.hpp.
References ROL::SampledVector< Real >::flags_, ROL::SampledVector< Real >::indices_, ROL::SampledVector< Real >::maxIndex_, and ROL::SampledVector< Real >::vectors_.
|
inline |
Set vector corresponding to input parameter.
Definition at line 116 of file ROL_SampledVector.hpp.
References ROL::Vector< Real >::clone(), ROL::SampledVector< Real >::flags_, ROL::SampledVector< Real >::indices_, ROL::SampledVector< Real >::maxIndex_, and ROL::SampledVector< Real >::vectors_.
|
private |
Definition at line 54 of file ROL_SampledVector.hpp.
Referenced by ROL::SampledVector< Real >::get(), ROL::SampledVector< Real >::reset(), ROL::SampledVector< Real >::SampledVector(), and ROL::SampledVector< Real >::set().
|
private |
Definition at line 55 of file ROL_SampledVector.hpp.
Referenced by ROL::SampledVector< Real >::get(), ROL::SampledVector< Real >::reset(), ROL::SampledVector< Real >::SampledVector(), and ROL::SampledVector< Real >::set().
|
private |
Definition at line 56 of file ROL_SampledVector.hpp.
Referenced by ROL::SampledVector< Real >::get(), ROL::SampledVector< Real >::SampledVector(), and ROL::SampledVector< Real >::set().
|
private |
Definition at line 57 of file ROL_SampledVector.hpp.
Referenced by ROL::SampledVector< Real >::get(), and ROL::SampledVector< Real >::set().
|
private |
Definition at line 60 of file ROL_SampledVector.hpp.
Referenced by ROL::SampledVector< Real >::update().