| 
    queso-0.56.0
    
   | 
 
#include <AlgorithmFactory.h>


Public Member Functions | |
| AlgorithmFactory (const std::string &name) | |
| virtual | ~AlgorithmFactory () | 
  Public Member Functions inherited from QUESO::Factory< Algorithm< GslVector, GslMatrix > > | |
| virtual | ~Factory () | 
Static Public Member Functions | |
| static void | set_environment (const BaseEnvironment &env) | 
| static void | set_tk (const BaseTKGroup< GslVector, GslMatrix > &tk) | 
  Static Public Member Functions inherited from QUESO::Factory< Algorithm< GslVector, GslMatrix > > | |
| static SharedPtr< Algorithm < GslVector, GslMatrix > >::Type  | build (const std::string &name) | 
Protected Member Functions | |
| virtual SharedPtr< Algorithm < GslVector, GslMatrix > >::Type  | build_algorithm ()=0 | 
  Protected Member Functions inherited from QUESO::Factory< Algorithm< GslVector, GslMatrix > > | |
| Factory (const std::string &name) | |
Static Protected Attributes | |
| static const BaseEnvironment * | m_env = NULL | 
| static const BaseTKGroup < GslVector, GslMatrix > *  | m_tk = NULL | 
Private Member Functions | |
| virtual SharedPtr< Algorithm < GslVector, GslMatrix > >::Type  | create () | 
Additional Inherited Members | |
  Static Protected Member Functions inherited from QUESO::Factory< Algorithm< GslVector, GslMatrix > > | |
| static std::map< std::string,  Factory< Algorithm< GslVector, GslMatrix > > * > &  | factory_map () | 
AlgorithmFactory class defintion. Clients subclassing this for their own algorithm (aka Metropolis-Hastings acceptance ratio) should implement build_algorithm.
Definition at line 42 of file AlgorithmFactory.h.
      
  | 
  inline | 
Constructor. Takes the name to be mapped.
Definition at line 48 of file AlgorithmFactory.h.
      
  | 
  inlinevirtual | 
      
  | 
  protectedpure virtual | 
Implemented in QUESO::AlgorithmFactoryImp< DerivedAlgorithm >.
Referenced by create().
      
  | 
  inlineprivatevirtual | 
Create a Base class. Force this to be implemented later.
Implements QUESO::Factory< Algorithm< GslVector, GslMatrix > >.
Definition at line 83 of file AlgorithmFactory.h.
References build_algorithm(), m_env, m_tk, queso_assert, and queso_require_msg.
      
  | 
  inlinestatic | 
Definition at line 57 of file AlgorithmFactory.h.
References m_env.
Referenced by QUESO::MetropolisHastingsSG< P_V, P_M >::commonConstructor().
      
  | 
  inlinestatic | 
Definition at line 62 of file AlgorithmFactory.h.
References m_tk.
Referenced by QUESO::MetropolisHastingsSG< P_V, P_M >::commonConstructor().
      
  | 
  staticprotected | 
Definition at line 70 of file AlgorithmFactory.h.
Referenced by create(), and set_environment().
      
  | 
  staticprotected | 
Definition at line 71 of file AlgorithmFactory.h.