Stan  2.5.0
probability, sampling & optimization
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
arg_history_size.hpp
Go to the documentation of this file.
1 #ifndef STAN__GM__ARGUMENTS__HISTORY_SIZE__HPP
2 #define STAN__GM__ARGUMENTS__HISTORY_SIZE__HPP
3 
5 
6 namespace stan {
7 
8  namespace gm {
9 
11 
12  public:
13 
15  _name = "history_size";
16  _description = "Amount of history to keep for L-BFGS";
17  _validity = "0 < history_size";
18  _default = "5";
19  _default_value = 5;
20  _constrained = true;
21  _good_value = 2;
22  _bad_value = -1;
24  };
25 
26  bool is_valid(int value) { return value > 0; }
27 
28  };
29 
30  } // gm
31 
32 } // stan
33 
34 #endif
35 
std::string _name
Definition: argument.hpp:76
std::string _description
Definition: argument.hpp:77

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