Stan
2.5.0
probability, sampling & optimization
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
src
stan
gm
arguments
arg_init.hpp
Go to the documentation of this file.
1
#ifndef STAN__GM__ARGUMENTS__INIT__HPP
2
#define STAN__GM__ARGUMENTS__INIT__HPP
3
4
#include <
stan/gm/arguments/singleton_argument.hpp
>
5
6
namespace
stan {
7
8
namespace
gm {
9
10
class
arg_init
:
public
string_argument
{
11
12
public
:
13
14
arg_init
():
string_argument
() {
15
_name
=
"init"
;
16
_description
= std::string(
"Initialization method: "
)
17
+ std::string(
"\"x\" initializes randomly bewteen [-x, x], "
)
18
+ std::string(
"\"0\" initializes to 0, "
)
19
+ std::string(
"anything else identifies a file of values"
);
20
_default
=
"\"2\""
;
21
_default_value
=
"2"
;
22
_constrained
=
false
;
23
_good_value
=
"../src/test/test-models/test_model.init.R"
;
24
_value
=
_default_value
;
25
};
26
27
};
28
29
}
// gm
30
31
}
// stan
32
33
#endif
stan::gm::arg_init::arg_init
arg_init()
Definition:
arg_init.hpp:14
stan::gm::singleton_argument::_value
T _value
Definition:
singleton_argument.hpp:154
stan::gm::valued_argument::_default
std::string _default
Definition:
valued_argument.hpp:47
stan::gm::singleton_argument
Definition:
singleton_argument.hpp:44
stan::gm::arg_init
Definition:
arg_init.hpp:10
stan::gm::argument::_name
std::string _name
Definition:
argument.hpp:76
stan::gm::singleton_argument::_constrained
bool _constrained
Definition:
singleton_argument.hpp:157
stan::gm::singleton_argument::_default_value
T _default_value
Definition:
singleton_argument.hpp:155
singleton_argument.hpp
stan::gm::singleton_argument::_good_value
T _good_value
Definition:
singleton_argument.hpp:159
stan::gm::argument::_description
std::string _description
Definition:
argument.hpp:77
[
Stan Home Page
]
© 2011–2014, Stan Development Team.