Stan  2.5.0
probability, sampling & optimization
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
base_adapter.hpp
Go to the documentation of this file.
1 #ifndef STAN__MCMC__BASE__ADAPTER__BETA
2 #define STAN__MCMC__BASE__ADAPTER__BETA
3 
4 namespace stan {
5 
6  namespace mcmc {
7 
8  class base_adapter {
9 
10  public:
11 
12  base_adapter(): adapt_flag_(false) {};
13 
14  virtual void engage_adaptation() { adapt_flag_ = true; }
15  virtual void disengage_adaptation() { adapt_flag_ = false; }
16 
17  bool adapting() { return adapt_flag_; }
18 
19  protected:
20 
22 
23  };
24 
25  } // mcmc
26 
27 } // stan
28 
29 #endif
virtual void engage_adaptation()
virtual void disengage_adaptation()

     [ Stan Home Page ] © 2011–2014, Stan Development Team.