queso-0.53.0
|
This base class allows the representation of a transition kernel. More...
#include <TKGroup.h>
Public Member Functions | |
Constructor/Destructor methods | |
BaseTKGroup () | |
Default constructor. More... | |
BaseTKGroup (const char *prefix, const VectorSpace< V, M > &vectorSpace, const std::vector< double > &scales) | |
Constructor. More... | |
virtual | ~BaseTKGroup () |
Destructor. More... | |
Statistical/Mathematical methods | |
virtual bool | symmetric () const =0 |
Whether or not the matrix is symmetric. See template specialization. More... | |
virtual const BaseVectorRV< V, M > & | rv (unsigned int stageId) const =0 |
Gaussian increment property to construct a transition kernel. See template specialization. More... | |
virtual const BaseVectorRV< V, M > & | rv (const std::vector< unsigned int > &stageIds)=0 |
Gaussian increment property to construct a transition kernel. See template specialization. More... | |
Misc methods | |
const BaseEnvironment & | env () const |
QUESO's environment. More... | |
const V & | preComputingPosition (unsigned int stageId) const |
Pre-computing position; access to protected attribute *m_preComputingPositions[stageId]. More... | |
virtual bool | setPreComputingPosition (const V &position, unsigned int stageId) |
Sets the pre-computing positions m_preComputingPositions [stageId] with a new vector of size position . More... | |
virtual void | clearPreComputingPositions () |
Clears the pre-computing positions m_preComputingPositions [stageId]. More... | |
I/O methods | |
virtual void | print (std::ostream &os) const |
TODO: Prints the transition kernel. More... | |
Protected Attributes | |
const EmptyEnvironment * | m_emptyEnv |
const BaseEnvironment & | m_env |
std::string | m_prefix |
const VectorSpace< V, M > * | m_vectorSpace |
std::vector< double > | m_scales |
std::vector< const V * > | m_preComputingPositions |
std::vector< BaseVectorRV< V, M > * > | m_rvs |
This base class allows the representation of a transition kernel.
The transition kernel is a conditional distribution function that represents the probability of moving from a point to a point in the set , where is a Borel set over . Since it is a distribution function, , where it is permitted that the chain can make a transition from the point to , that is is not necessarily zero.
QUESO::BaseTKGroup< V, M >::BaseTKGroup | ( | ) |
Default constructor.
Definition at line 33 of file TKGroup.C.
QUESO::BaseTKGroup< V, M >::BaseTKGroup | ( | const char * | prefix, |
const VectorSpace< V, M > & | vectorSpace, | ||
const std::vector< double > & | scales | ||
) |
Constructor.
Definition at line 46 of file TKGroup.C.
References QUESO::BaseTKGroup< V, M >::m_scales.
|
virtual |
Destructor.
Definition at line 65 of file TKGroup.C.
|
virtual |
Clears the pre-computing positions m_preComputingPositions
[stageId].
Reimplemented in QUESO::TransformedScaledCovMatrixTKGroup< V, M >, QUESO::ScaledCovMatrixTKGroup< V, M >, and QUESO::HessianCovMatricesTKGroup< V, M >.
Definition at line 109 of file TKGroup.C.
Referenced by QUESO::HessianCovMatricesTKGroup< V, M >::clearPreComputingPositions(), QUESO::ScaledCovMatrixTKGroup< V, M >::clearPreComputingPositions(), and QUESO::TransformedScaledCovMatrixTKGroup< V, M >::clearPreComputingPositions().
const BaseEnvironment & QUESO::BaseTKGroup< V, M >::env | ( | ) | const |
const V & QUESO::BaseTKGroup< V, M >::preComputingPosition | ( | unsigned int | stageId | ) | const |
Pre-computing position; access to protected attribute *m_preComputingPositions[stageId].
Definition at line 85 of file TKGroup.C.
References queso_require_greater_msg, and queso_require_msg.
|
virtual |
TODO: Prints the transition kernel.
Reimplemented in QUESO::TransformedScaledCovMatrixTKGroup< V, M >, QUESO::ScaledCovMatrixTKGroup< V, M >, and QUESO::HessianCovMatricesTKGroup< V, M >.
Definition at line 123 of file TKGroup.C.
Referenced by QUESO::HessianCovMatricesTKGroup< V, M >::print(), QUESO::ScaledCovMatrixTKGroup< V, M >::print(), and QUESO::TransformedScaledCovMatrixTKGroup< V, M >::print().
|
pure virtual |
Gaussian increment property to construct a transition kernel. See template specialization.
Implemented in QUESO::TransformedScaledCovMatrixTKGroup< V, M >, QUESO::HessianCovMatricesTKGroup< V, M >, and QUESO::ScaledCovMatrixTKGroup< V, M >.
|
pure virtual |
Gaussian increment property to construct a transition kernel. See template specialization.
Implemented in QUESO::TransformedScaledCovMatrixTKGroup< V, M >, QUESO::HessianCovMatricesTKGroup< V, M >, and QUESO::ScaledCovMatrixTKGroup< V, M >.
|
virtual |
Sets the pre-computing positions m_preComputingPositions
[stageId] with a new vector of size position
.
Reimplemented in QUESO::TransformedScaledCovMatrixTKGroup< V, M >, QUESO::ScaledCovMatrixTKGroup< V, M >, and QUESO::HessianCovMatricesTKGroup< V, M >.
Definition at line 96 of file TKGroup.C.
References queso_require_greater_msg, and queso_require_msg.
Referenced by QUESO::HessianCovMatricesTKGroup< V, M >::setPreComputingPosition(), QUESO::ScaledCovMatrixTKGroup< V, M >::setPreComputingPosition(), and QUESO::TransformedScaledCovMatrixTKGroup< V, M >::setPreComputingPosition().
|
pure virtual |
Whether or not the matrix is symmetric. See template specialization.
Implemented in QUESO::TransformedScaledCovMatrixTKGroup< V, M >, QUESO::HessianCovMatricesTKGroup< V, M >, and QUESO::ScaledCovMatrixTKGroup< V, M >.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Definition at line 103 of file TKGroup.h.
Referenced by QUESO::BaseTKGroup< V, M >::BaseTKGroup(), QUESO::HessianCovMatricesTKGroup< V, M >::HessianCovMatricesTKGroup(), QUESO::ScaledCovMatrixTKGroup< V, M >::ScaledCovMatrixTKGroup(), and QUESO::TransformedScaledCovMatrixTKGroup< V, M >::TransformedScaledCovMatrixTKGroup().
|
protected |