Stan  2.10.0
probability, sampling & optimization
arg_adapt_delta.hpp
Go to the documentation of this file.
1 #ifndef STAN_SERVICES_ARGUMENTS_ARG_ADAPT_DELTA_HPP
2 #define STAN_SERVICES_ARGUMENTS_ARG_ADAPT_DELTA_HPP
3 
5 
6 namespace stan {
7 
8  namespace services {
9 
11  public:
13  _name = "delta";
14  _description = "Adaptation target acceptance statistic";
15  _validity = "0 < delta < 1";
16  _default = "0.8";
17  _default_value = 0.8;
18  _constrained = true;
19  _good_value = 0.5;
20  _bad_value = -1.0;
22  }
23 
24  bool is_valid(double value) { return 0 < value && value < 1; }
25  };
26 
27  } // services
28 } // stan
29 
30 #endif
Probability, optimization and sampling library.
std::string _description
Definition: argument.hpp:84

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