ROL
Public Member Functions | Private Member Functions | Private Attributes | List of all members
ROL::SampledVector< Real > Class Template Reference

#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 > &param)
 Return vector corresponding to input parameter. More...
 
void set (const Vector< Real > &x, const std::vector< Real > &param)
 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_
 

Detailed Description

template<class Real>
class ROL::SampledVector< Real >

Definition at line 51 of file ROL_SampledVector.hpp.

Constructor & Destructor Documentation

template<class Real >
ROL::SampledVector< Real >::SampledVector ( void  )
inline

Member Function Documentation

template<class Real >
void ROL::SampledVector< Real >::reset ( const bool  flag = true)
inlineprivate
template<class Real >
void ROL::SampledVector< Real >::update ( const bool  flag = true)
inline
template<class Real >
bool ROL::SampledVector< Real >::get ( Vector< Real > &  x,
const std::vector< Real > &  param 
)
inline
template<class Real >
void ROL::SampledVector< Real >::set ( const Vector< Real > &  x,
const std::vector< Real > &  param 
)
inline

Member Data Documentation

template<class Real >
std::map<std::vector<Real>, int> ROL::SampledVector< Real >::indices_
private
template<class Real >
std::vector<bool> ROL::SampledVector< Real >::flags_
private
template<class Real >
std::vector<ROL::Ptr<Vector<Real> > > ROL::SampledVector< Real >::vectors_
private
template<class Real >
int ROL::SampledVector< Real >::maxIndex_
private
template<class Real >
bool ROL::SampledVector< Real >::updated_
private

Definition at line 60 of file ROL_SampledVector.hpp.

Referenced by ROL::SampledVector< Real >::update().


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