Stan  2.10.0
probability, sampling & optimization
arg_variational_iter.hpp
Go to the documentation of this file.
1 #ifndef STAN_VARIATIONAL_ITER_HPP
2 #define STAN_VARIATIONAL_ITER_HPP
3 
5 
6 namespace stan {
7 
8  namespace services {
9 
11  public:
13  _name = "iter";
14  _description = "Maximum number of iterations";
15  _validity = "0 < iter";
16  _default = "10000";
17  _default_value = 10000;
18  _constrained = true;
19  _good_value = 10000.0;
20  _bad_value = -1.0;
22  }
23 
24  bool is_valid(int value) {
25  return value > 0;
26  }
27  };
28 
29  } // services
30 
31 } // stan
32 
33 #endif
Probability, optimization and sampling library.
std::string _description
Definition: argument.hpp:84

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