|
ROL
|
#include <ROL_SROMGenerator.hpp>
Inheritance diagram for ROL::SROMGenerator< Real >:Public Member Functions | |
| SROMGenerator (Teuchos::RCP< BatchManager< Real > > &bman, Teuchos::RCP< Objective< Real > > &obj, const size_t dimension, const size_t nSamp=10, const bool adaptive=false, const size_t numNewSamps=0) | |
| SROMGenerator (Teuchos::RCP< BatchManager< Real > > &bman, Teuchos::RCP< Objective< Real > > &obj, Teuchos::RCP< BoundConstraint< Real > > &bnd, const size_t dimension, const size_t nSamp=10, const bool adaptive=false, const size_t numNewSamps=0) | |
| SROMGenerator (Teuchos::RCP< BatchManager< Real > > &bman, Teuchos::RCP< Objective< Real > > &obj, Teuchos::RCP< BoundConstraint< Real > > &bnd, Teuchos::RCP< Vector< Real > > &x, const size_t dimension, const size_t nSamp=10, const bool adaptive=false, const size_t numNewSamps=0) | |
| void | refine (void) |
Public Member Functions inherited from ROL::SampleGenerator< Real > | |
| virtual | ~SampleGenerator () |
| SampleGenerator (Teuchos::RCP< BatchManager< Real > > &bman) | |
| SampleGenerator (const SampleGenerator< Real > &sampler) | |
| virtual void | update (const Vector< Real > &x) |
| virtual int | start (void) |
| virtual Real | computeError (std::vector< Real > &vals) |
| virtual Real | computeError (std::vector< Teuchos::RCP< Vector< Real > > > &vals, const Vector< Real > &x) |
| virtual void | setSamples (bool inConstructor=false) |
| virtual int | numMySamples (void) const |
| virtual std::vector< Real > | getMyPoint (const int i) const |
| virtual Real | getMyWeight (const int i) const |
| int | batchID (void) const |
| int | numBatches (void) const |
| void | sumAll (Real *input, Real *output, int dim) const |
| void | sumAll (Vector< Real > &input, Vector< Real > &output) const |
| void | barrier (void) const |
Private Member Functions | |
| void | buildOptimizer (const bool useAugLag=true) |
| void | splitSamples (const std::vector< std::vector< Real > > &allPoints, const std::vector< Real > &allWeights) |
| void | pruneSamples (std::vector< std::vector< Real > > &pts, std::vector< Real > &wts, const SROMVector< Real > &x) |
Private Attributes | |
| Teuchos::RCP< Objective< Real > > | obj_ |
| Teuchos::RCP< BoundConstraint< Real > > | bnd_ |
| Teuchos::RCP< EqualityConstraint< Real > > | con_ |
| Teuchos::RCP< Algorithm< Real > > | algo_ |
| Teuchos::ParameterList | parlist_ |
| const size_t | dimension_ |
| size_t | nSamp_ |
| const size_t | numNewSamps_ |
| const bool | adaptive_ |
Additional Inherited Members | |
Protected Member Functions inherited from ROL::SampleGenerator< Real > | |
| void | setPoints (std::vector< std::vector< Real > > &p) |
| void | setWeights (std::vector< Real > &w) |
Definition at line 65 of file ROL_SROMGenerator.hpp.
|
inline |
Definition at line 151 of file ROL_SROMGenerator.hpp.
References ROL::SROMGenerator< Real >::buildOptimizer(), ROL::SROMGenerator< Real >::pruneSamples(), and ROL::SROMGenerator< Real >::splitSamples().
|
inline |
Definition at line 175 of file ROL_SROMGenerator.hpp.
References ROL::SROMGenerator< Real >::buildOptimizer(), ROL::SROMGenerator< Real >::pruneSamples(), and ROL::SROMGenerator< Real >::splitSamples().
|
inline |
Definition at line 199 of file ROL_SROMGenerator.hpp.
References ROL::SROMGenerator< Real >::buildOptimizer(), ROL::SROMGenerator< Real >::pruneSamples(), and ROL::SROMGenerator< Real >::splitSamples().
|
inlineprivate |
Definition at line 80 of file ROL_SROMGenerator.hpp.
Referenced by ROL::SROMGenerator< Real >::SROMGenerator().
|
inlineprivate |
Definition at line 117 of file ROL_SROMGenerator.hpp.
References ROL::SampleGenerator< Real >::setPoints(), and ROL::SampleGenerator< Real >::setWeights().
Referenced by ROL::SROMGenerator< Real >::SROMGenerator().
|
inlineprivate |
Definition at line 138 of file ROL_SROMGenerator.hpp.
References ROL::SROMVector< Real, Element >::getPoint(), ROL::SROMVector< Real, Element >::getWeight(), ROL::SROMGenerator< Real >::nSamp_, and ROL::ROL_EPSILON.
Referenced by ROL::SROMGenerator< Real >::SROMGenerator().
|
inlinevirtual |
Reimplemented from ROL::SampleGenerator< Real >.
Definition at line 223 of file ROL_SROMGenerator.hpp.
|
private |
Definition at line 67 of file ROL_SROMGenerator.hpp.
|
private |
Definition at line 68 of file ROL_SROMGenerator.hpp.
|
private |
Definition at line 69 of file ROL_SROMGenerator.hpp.
|
private |
Definition at line 71 of file ROL_SROMGenerator.hpp.
|
private |
Definition at line 73 of file ROL_SROMGenerator.hpp.
|
private |
Definition at line 75 of file ROL_SROMGenerator.hpp.
|
private |
Definition at line 76 of file ROL_SROMGenerator.hpp.
Referenced by ROL::SROMGenerator< Real >::pruneSamples().
|
private |
Definition at line 77 of file ROL_SROMGenerator.hpp.
|
private |
Definition at line 78 of file ROL_SROMGenerator.hpp.
1.8.11