Stan  2.10.0
probability, sampling & optimization
arg_stepsize_jitter.hpp
Go to the documentation of this file.
1 #ifndef STAN_SERVICES_ARGUMENTS_ARG_STEPSIZE_JITTER_HPP
2 #define STAN_SERVICES_ARGUMENTS_ARG_STEPSIZE_JITTER_HPP
3 
5 
6 namespace stan {
7  namespace services {
8 
10  public:
12  _name = "stepsize_jitter";
13  _description = "Uniformly random jitter of the stepsize, in percent";
14  _validity = "0 <= stepsize_jitter <= 1";
15  _default = "0";
16  _default_value = 0.0;
17  _constrained = true;
18  _good_value = 0.5;
19  _bad_value = -1.0;
21  }
22 
23  bool is_valid(double value) { return 0 <= value && value <= 1; }
24  };
25 
26  } // services
27 } // stan
28 
29 #endif
Probability, optimization and sampling library.
std::string _description
Definition: argument.hpp:84

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