MultiAgentDecisionProcess  Release 0.2.1
ArgumentHandlers Namespace Reference

ArgumentHandlers contains functionality for parsing and handling command-line arguments. More...

Classes

struct  Arguments
 Arguments contains all defined parameters to be set on the command line. More...

Functions

error_t CE_parse_argument (int key, char *arg, struct argp_state *state)
error_t globalOptions_parse_argument (int key, char *arg, struct argp_state *state)
error_t gmaa_parse_argument (int key, char *arg, struct argp_state *state)
error_t JESP_parse_argument (int key, char *arg, struct argp_state *state)
error_t jpolIndex_parse_argument (int key, char *arg, struct argp_state *state)
error_t modelOptions_parse_argument (int key, char *arg, struct argp_state *state)
static error_t parse_main (int key, char *arg, struct argp_state *state)
error_t perseus_parse_argument (int key, char *arg, struct argp_state *state)
error_t perseusbackup_parse_argument (int key, char *arg, struct argp_state *state)
error_t perseusbelief_parse_argument (int key, char *arg, struct argp_state *state)
error_t problemFile_parse_argument (int key, char *arg, struct argp_state *state)
error_t qheur_parse_argument (int key, char *arg, struct argp_state *state)
error_t simulation_parse_argument (int key, char *arg, struct argp_state *state)
error_t solutionMethodOptions_parse_argument (int key, char *arg, struct argp_state *state)

Variables

static const int AM_RESTARTS = 1
const char * argp_program_bug_address = "<faolieho@science.uva.nl>, <mtjspaan@isr.ist.utl.pt>"
static struct argp CE_argp
const char * CE_argp_version = "CE options parser 0.1"
static const char * CE_args_doc = 0
struct argp_child CE_child = {&CE_argp, 0, "CE options", GID_CE}
static const char * CE_doc
static const int CE_EVALUATION_RUNS = 2
static struct argp_option CE_options []
static const int CE_RESTARTS = 1
static const int GID_CE = GID_SM
static const int GID_GLOBALOPTIONS = 8
static const int GID_GMAA = GID_SM
static const int GID_INPUTARG = 1
static const int GID_JESP = GID_SM
static const int GID_JPOLINDEX = GID_INPUTARG
static const int GID_MODELOPTIONS = 3
static const int GID_PERSEUS = GID_SM
static const int GID_PERSEUSBACKUP = GID_SM
static const int GID_PERSEUSBELIEF = GID_SM
static const int GID_PROBLEMFILE = GID_INPUTARG
static const int GID_QHEUR = GID_SM
static const int GID_SIMULATION = 7
static const int GID_SM = 2
static struct argp globalOptions_argp = { globalOptions_options, globalOptions_parse_argument, globalOptions_args_doc, globalOptions_doc }
const char * globalOptions_argp_version = "global options parser 0.1"
static const char * globalOptions_args_doc = 0
struct argp_child globalOptions_child = {&globalOptions_argp, 0, "General options", GID_GLOBALOPTIONS}
static const char * globalOptions_doc
static struct argp_option globalOptions_options []
static struct argp gmaa_argp
const char * gmaa_argp_version = "GMAA options parser 0.1"
static const char * gmaa_args_doc = 0
struct argp_child gmaa_child = {&gmaa_argp, 0, "GMAA options", GID_GMAA}
static const char * gmaa_doc
static struct argp_option gmaa_options []
static struct argp JESP_argp
const char * JESP_argp_version = "JESP options parser 0.1"
static const char * JESP_args_doc = 0
struct argp_child JESP_child = {&JESP_argp, 0, "JESP options", GID_JESP}
static const char * JESP_doc
static struct argp_option JESP_options []
static const int JESP_RESTARTS = 1
static const int JESP_TYPE = 2
static struct argp jpolIndex_argp = { jpolIndex_options, jpolIndex_parse_argument, jpolIndex_args_doc, jpolIndex_doc }
const char * jpolIndex_argp_version = "joint policy index argument parser 0.1"
static const char * jpolIndex_args_doc = "JPOL-INDEX"
struct argp_child jpolIndex_child = {&jpolIndex_argp, 0, 0, GID_PROBLEMFILE}
static const char * jpolIndex_doc
static struct argp_option jpolIndex_options []
static struct argp modelOptions_argp = { modelOptions_options, modelOptions_parse_argument, modelOptions_args_doc, modelOptions_doc }
const char * modelOptions_argp_version = "Model options parser 0.1"
static const char * modelOptions_args_doc = 0
struct argp_child modelOptions_child = {&modelOptions_argp, 0, "Model options", GID_MODELOPTIONS}
static const char * modelOptions_doc
static struct argp_option modelOptions_options []
static const int OPT_INF = 1
static const int OPT_NRAGENTS = 1
static const int OPT_NRFLS = 3
static const int OPT_NRHOUSES = 2
static const int OPT_TOI = 1
static struct argp_option options_main []
static struct argp perseus_argp
const char * perseus_argp_version = "Perseus options parser 0.1"
static const char * perseus_args_doc = 0
struct argp_child perseus_child
static const char * perseus_doc
static struct argp_option perseus_options []
static struct argp perseusbackup_argp
const char * perseusbackup_argp_version = "Perseus Backup options parser 0.1"
static const char * perseusbackup_args_doc = 0
struct argp_child perseusbackup_child
static const char * perseusbackup_doc
static struct argp_option perseusbackup_options []
static struct argp perseusbelief_argp
const char * perseusbelief_argp_version = "Perseus Belief options parser 0.1"
static const char * perseusbelief_args_doc = 0
struct argp_child perseusbelief_child
static const char * perseusbelief_doc
static struct argp_option perseusbelief_options []
static struct argp problemFile_argp = { problemFile_options, problemFile_parse_argument, problemFile_args_doc, problemFile_doc }
const char * problemFile_argp_version = ".dpomdp file argument parser 0.1"
static const char * problemFile_args_doc = "PROBLEM"
struct argp_child problemFile_child = {&problemFile_argp, 0, "Problem specification options", GID_PROBLEMFILE}
static const char * problemFile_doc
static struct argp_option problemFile_options []
static struct argp qheur_argp
const char * qheur_argp_version = "QHEUR options parser 0.1"
static const char * qheur_args_doc = 0
struct argp_child qheur_child
static const char * qheur_doc
static struct argp_option qheur_options []
static struct argp simulation_argp
const char * simulation_argp_version = "Simulation options parser 0.1"
static const char * simulation_args_doc = 0
struct argp_child simulation_child
static const char * simulation_doc
static struct argp_option simulation_options []
static struct argp solutionMethodOptions_argp = { solutionMethodOptions_options, solutionMethodOptions_parse_argument, solutionMethodOptions_args_doc, solutionMethodOptions_doc }
const char * solutionMethodOptions_argp_version = "Solution method options parser 0.1"
static const char * solutionMethodOptions_args_doc = 0
struct argp_child solutionMethodOptions_child = {&solutionMethodOptions_argp, 0, "Solution method options", GID_SM }
static const char * solutionMethodOptions_doc
static struct argp_option solutionMethodOptions_options []
static argp theArgpStruc = {options_main, parse_main, 0, doc, childVector }

Detailed Description

ArgumentHandlers contains functionality for parsing and handling command-line arguments.

Function Documentation

error_t ArgumentHandlers::globalOptions_parse_argument ( int  key,
char *  arg,
struct argp_state *  state 
)

Definition at line 133 of file argumentHandlers.cpp.

References ArgumentHandlers::Arguments::verbose.

error_t ArgumentHandlers::JESP_parse_argument ( int  key,
char *  arg,
struct argp_state *  state 
)
error_t ArgumentHandlers::jpolIndex_parse_argument ( int  key,
char *  arg,
struct argp_state *  state 
)

Definition at line 261 of file argumentHandlers.cpp.

References ArgumentHandlers::Arguments::jpolIndex.

error_t ArgumentHandlers::modelOptions_parse_argument ( int  key,
char *  arg,
struct argp_state *  state 
)
static error_t ArgumentHandlers::parse_main ( int  key,
char *  arg,
struct argp_state *  state 
)
static

Definition at line 35 of file argumentHandlersPostChild.h.

error_t ArgumentHandlers::problemFile_parse_argument ( int  key,
char *  arg,
struct argp_state *  state 
)
error_t ArgumentHandlers::qheur_parse_argument ( int  key,
char *  arg,
struct argp_state *  state 
)
error_t ArgumentHandlers::simulation_parse_argument ( int  key,
char *  arg,
struct argp_state *  state 
)
error_t ArgumentHandlers::solutionMethodOptions_parse_argument ( int  key,
char *  arg,
struct argp_state *  state 
)

Variable Documentation

const int ArgumentHandlers::AM_RESTARTS = 1
static

Definition at line 320 of file argumentHandlers.cpp.

Referenced by gmaa_parse_argument().

const char * ArgumentHandlers::argp_program_bug_address = "<faolieho@science.uva.nl>, <mtjspaan@isr.ist.utl.pt>"

Definition at line 35 of file argumentHandlers.cpp.

struct argp ArgumentHandlers::CE_argp
static
Initial value:

Definition at line 748 of file argumentHandlers.cpp.

const char* ArgumentHandlers::CE_argp_version = "CE options parser 0.1"

Definition at line 688 of file argumentHandlers.cpp.

const char* ArgumentHandlers::CE_args_doc = 0
static

Definition at line 689 of file argumentHandlers.cpp.

struct argp_child ArgumentHandlers::CE_child = {&CE_argp, 0, "CE options", GID_CE}

Definition at line 750 of file argumentHandlers.cpp.

const char* ArgumentHandlers::CE_doc
static
Initial value:
"This is the documentation for the CE (cross entropy) options parser\
This parser should be included as a child argp parser in the \
main argp parser of your application. (and this message will\
not be shown)\
\v\
Options for using CE (the cross-entropy method) for optimization include \
the number of restarts (runs), the number of iteration for each runs, \
how much samples are drawn each iteration, and how much of those are \
used to update the probability distribution."

Definition at line 690 of file argumentHandlers.cpp.

const int ArgumentHandlers::CE_EVALUATION_RUNS = 2
static

Definition at line 702 of file argumentHandlers.cpp.

Referenced by CE_parse_argument().

struct argp_option ArgumentHandlers::CE_options[]
static
Initial value:
{
{"CE-restarts", CE_RESTARTS, "CERESTARTS", 0, "Set the number of CE restarts (runs)"},
{"CE-eval-runs", CE_EVALUATION_RUNS, "CEEVALRUNS", 0, "Set the number of policy evaluation runs. More runs will result in more accurate evaluation. (set 0 for exact evaluation)."},
{"iterations", 'i', "ITERATIONS", 0, "Set the number of iterations per run"},
{"samples", 'n', "SAMPLES", 0, "Set the number of samples per iteration"},
{"updateSamples", 'u', "UPDATESAMPPLES", 0, "Set the number of samples used to update the prob. distribution."},
{"not_strictly_improving", 'N', 0, 0, "Do not use a hard threshold: do not require that newly sampled policies are strictly better then before. (this corresponds to the gamma in the CE papers)"},
{"alpha", 'a', "ALPHA", 0, "The learning rate"},
{ 0 }
}

Definition at line 703 of file argumentHandlers.cpp.

const int ArgumentHandlers::CE_RESTARTS = 1
static

Definition at line 701 of file argumentHandlers.cpp.

Referenced by CE_parse_argument().

const int ArgumentHandlers::GID_CE = GID_SM
static

Definition at line 687 of file argumentHandlers.cpp.

const int ArgumentHandlers::GID_GLOBALOPTIONS = 8
static

Definition at line 117 of file argumentHandlers.cpp.

const int ArgumentHandlers::GID_GMAA = GID_SM
static

Definition at line 302 of file argumentHandlers.cpp.

const int ArgumentHandlers::GID_INPUTARG = 1
static

Definition at line 39 of file argumentHandlers.cpp.

const int ArgumentHandlers::GID_JESP = GID_SM
static

Definition at line 754 of file argumentHandlers.cpp.

const int ArgumentHandlers::GID_JPOLINDEX = GID_INPUTARG
static

Definition at line 246 of file argumentHandlers.cpp.

const int ArgumentHandlers::GID_MODELOPTIONS = 3
static

Definition at line 158 of file argumentHandlers.cpp.

const int ArgumentHandlers::GID_PERSEUS = GID_SM
static

Definition at line 388 of file argumentHandlers.cpp.

const int ArgumentHandlers::GID_PERSEUSBACKUP = GID_SM
static

Definition at line 503 of file argumentHandlers.cpp.

const int ArgumentHandlers::GID_PERSEUSBELIEF = GID_SM
static

Definition at line 447 of file argumentHandlers.cpp.

const int ArgumentHandlers::GID_PROBLEMFILE = GID_INPUTARG
static

Definition at line 43 of file argumentHandlers.cpp.

const int ArgumentHandlers::GID_QHEUR = GID_SM
static

Definition at line 593 of file argumentHandlers.cpp.

const int ArgumentHandlers::GID_SIMULATION = 7
static

Definition at line 645 of file argumentHandlers.cpp.

const int ArgumentHandlers::GID_SM = 2
static

Definition at line 214 of file argumentHandlers.cpp.

struct argp ArgumentHandlers::globalOptions_argp = { globalOptions_options, globalOptions_parse_argument, globalOptions_args_doc, globalOptions_doc }
static

Definition at line 152 of file argumentHandlers.cpp.

const char* ArgumentHandlers::globalOptions_argp_version = "global options parser 0.1"

Definition at line 118 of file argumentHandlers.cpp.

const char* ArgumentHandlers::globalOptions_args_doc = 0
static

Definition at line 119 of file argumentHandlers.cpp.

struct argp_child ArgumentHandlers::globalOptions_child = {&globalOptions_argp, 0, "General options", GID_GLOBALOPTIONS}

Definition at line 153 of file argumentHandlers.cpp.

const char* ArgumentHandlers::globalOptions_doc
static
Initial value:
"This is the documentation for the global options parser\
This parser should be included as a child argp parser in the \
main argp parser of your application. (and this message will\
not be shown)"

Definition at line 120 of file argumentHandlers.cpp.

struct argp_option ArgumentHandlers::globalOptions_options[]
static
Initial value:
{
{"verbose", 'v', 0, 0, "Produce verbose output. Specifying this option multiple times increases verbosity." },
{"quiet", 'q', 0, 0, "Don't produce any output" },
{"silent", 's', 0, OPTION_ALIAS },
{ 0 }
}

Definition at line 126 of file argumentHandlers.cpp.

struct argp ArgumentHandlers::gmaa_argp
static
Initial value:

Definition at line 381 of file argumentHandlers.cpp.

const char* ArgumentHandlers::gmaa_argp_version = "GMAA options parser 0.1"

Definition at line 303 of file argumentHandlers.cpp.

const char* ArgumentHandlers::gmaa_args_doc = 0
static

Definition at line 304 of file argumentHandlers.cpp.

struct argp_child ArgumentHandlers::gmaa_child = {&gmaa_argp, 0, "GMAA options", GID_GMAA}

Definition at line 384 of file argumentHandlers.cpp.

const char* ArgumentHandlers::gmaa_doc
static
Initial value:
"This is the documentation for the options options parser\
This parser should be included as a child argp parser in the \
main argp parser of your application. (and this message will\
not be shown)\
\v\
GMAA parameter:\n\
0 or MAAstar -> use GMAA_MAAstar\n\
1 or kGMAA -> use GMAA_kGMAA (uses K)\n\
2 or FSPC -> use Forward Sweep Policy Computation (kGMAA with k=1)\n\
\n\
BGIP_SOLVERTYPE parameter:\n\
0 or BFS\t-\tbrute force search\n\
1 or AM \t-\tAlternating Maximization\n"

Definition at line 305 of file argumentHandlers.cpp.

struct argp_option ArgumentHandlers::gmaa_options[]
static
Initial value:
{
{"GMAA", 'G', "GMAA", 0, "Select which GMAA variation to use" },
{"BGIP_Solver", 'B', "BGIP_SOLVERTYPE", 0, "Select which Bayesian game solver to use"},
{"k", 'k', "K", 0, "Set k in k-GMAA" },
{"restarts", 'r', "RESTARTS", 0, "Set the number of restarts"},
{"AM-restarts", AM_RESTARTS, "AM_RESTARTS", 0, "nr restarts for solving BGs withFSPC_AM"},
{ 0 }
}

Definition at line 321 of file argumentHandlers.cpp.

struct argp ArgumentHandlers::JESP_argp
static
Initial value:

Definition at line 805 of file argumentHandlers.cpp.

const char* ArgumentHandlers::JESP_argp_version = "JESP options parser 0.1"

Definition at line 755 of file argumentHandlers.cpp.

const char* ArgumentHandlers::JESP_args_doc = 0
static

Definition at line 756 of file argumentHandlers.cpp.

struct argp_child ArgumentHandlers::JESP_child = {&JESP_argp, 0, "JESP options", GID_JESP}

Definition at line 807 of file argumentHandlers.cpp.

const char* ArgumentHandlers::JESP_doc
static
Initial value:
"This is the documentation for the JESP (Joint Equilibrium-based \
Search for Policies) options parser.\
This parser should be included as a child argp parser in the \
main argp parser of your application. (and this message will\
not be shown)\
\v\
Options for using JESP (Joint Equilibrium-based \
Search for Policies) include: \
the type of JESP (exhaustive or Dynamic Programming), which can be:\n\
0 or Exh - exhaustive JESP\n\
1 or DP - Dynamic programming\n\n\
and the number of restarts (runs)."

Definition at line 757 of file argumentHandlers.cpp.

struct argp_option ArgumentHandlers::JESP_options[]
static
Initial value:
{
{"JESP-restarts", JESP_RESTARTS, "JESPRESTARTS", 0, "Set the number of JESP restarts (runs)"},
{"JESP-type", JESP_TYPE, "JESPTYPE", 0, "Set the type of JESP (Exh or [DP])"},
{ 0 }
}

Definition at line 773 of file argumentHandlers.cpp.

const int ArgumentHandlers::JESP_RESTARTS = 1
static

Definition at line 771 of file argumentHandlers.cpp.

Referenced by JESP_parse_argument().

const int ArgumentHandlers::JESP_TYPE = 2
static

Definition at line 772 of file argumentHandlers.cpp.

Referenced by JESP_parse_argument().

struct argp ArgumentHandlers::jpolIndex_argp = { jpolIndex_options, jpolIndex_parse_argument, jpolIndex_args_doc, jpolIndex_doc }
static

Definition at line 297 of file argumentHandlers.cpp.

const char* ArgumentHandlers::jpolIndex_argp_version = "joint policy index argument parser 0.1"

Definition at line 247 of file argumentHandlers.cpp.

const char* ArgumentHandlers::jpolIndex_args_doc = "JPOL-INDEX"
static

Definition at line 248 of file argumentHandlers.cpp.

struct argp_child ArgumentHandlers::jpolIndex_child = {&jpolIndex_argp, 0, 0, GID_PROBLEMFILE}

Definition at line 298 of file argumentHandlers.cpp.

const char* ArgumentHandlers::jpolIndex_doc
static
Initial value:
"This is the documentation for the joint policy index argument parser\
This parser should be included as a child argp parser in the \
main argp parser of your application.(and this message will\
not be shown)\
\vJPOL-INDEX is a (long long) integer that is the index of the joint \
policy to be considered."

Definition at line 249 of file argumentHandlers.cpp.

struct argp_option ArgumentHandlers::jpolIndex_options[]
static
Initial value:
{
{ 0 }
}

Definition at line 256 of file argumentHandlers.cpp.

struct argp ArgumentHandlers::modelOptions_argp = { modelOptions_options, modelOptions_parse_argument, modelOptions_args_doc, modelOptions_doc }
static

Definition at line 198 of file argumentHandlers.cpp.

const char* ArgumentHandlers::modelOptions_argp_version = "Model options parser 0.1"

Definition at line 159 of file argumentHandlers.cpp.

const char* ArgumentHandlers::modelOptions_args_doc = 0
static

Definition at line 160 of file argumentHandlers.cpp.

struct argp_child ArgumentHandlers::modelOptions_child = {&modelOptions_argp, 0, "Model options", GID_MODELOPTIONS}

Definition at line 199 of file argumentHandlers.cpp.

const char* ArgumentHandlers::modelOptions_doc
static
Initial value:
"This is the documentation for the model options parser\
This parser should be included as a child argp parser in the \
main argp parser of your application. (and this message will\
not be shown)\
\v"

Definition at line 161 of file argumentHandlers.cpp.

struct argp_option ArgumentHandlers::modelOptions_options[]
static
Initial value:
{
{"sparse", 's',0, 0, "Use sparse transition and observation models" },
{"toi", OPT_TOI, 0, 0, "Indicate that PROBLEM is a transition observation independent Dec-POMDP" },
{"discount", 'g', "GAMMA", 0, "Set the problem's discount parameter (overriding its default)" },
{ 0 }
}

Definition at line 169 of file argumentHandlers.cpp.

const int ArgumentHandlers::OPT_INF = 1
static

Definition at line 215 of file argumentHandlers.cpp.

Referenced by solutionMethodOptions_parse_argument().

const int ArgumentHandlers::OPT_NRAGENTS = 1
static

Definition at line 60 of file argumentHandlers.cpp.

Referenced by problemFile_parse_argument().

const int ArgumentHandlers::OPT_NRFLS = 3
static

Definition at line 62 of file argumentHandlers.cpp.

Referenced by problemFile_parse_argument().

const int ArgumentHandlers::OPT_NRHOUSES = 2
static

Definition at line 61 of file argumentHandlers.cpp.

Referenced by problemFile_parse_argument().

const int ArgumentHandlers::OPT_TOI = 1
static

Definition at line 168 of file argumentHandlers.cpp.

Referenced by modelOptions_parse_argument().

struct argp_option ArgumentHandlers::options_main[]
static
Initial value:
{
{ 0 }
}

Definition at line 31 of file argumentHandlersPostChild.h.

struct argp ArgumentHandlers::perseus_argp
static
const char* ArgumentHandlers::perseus_argp_version = "Perseus options parser 0.1"

Definition at line 389 of file argumentHandlers.cpp.

const char* ArgumentHandlers::perseus_args_doc = 0
static

Definition at line 390 of file argumentHandlers.cpp.

struct argp_child ArgumentHandlers::perseus_child
Initial value:
"Perseus general options", GID_PERSEUS}

Definition at line 443 of file argumentHandlers.cpp.

const char* ArgumentHandlers::perseus_doc
static
Initial value:
"This is the documentation for the options options parser\
This parser should be included as a child argp parser in the \
main argp parser of your application. (and this message will\
not be shown)"

Definition at line 391 of file argumentHandlers.cpp.

struct argp_option ArgumentHandlers::perseus_options[]
static
Initial value:
{
{"savePOMDP", 'P', 0, 0, "Save the POMDP to disk" },
{"saveIntermediateV", 'V', 0, 0, "Save intermediate value functions to disk" },
{"saveTimings", 't', 0, 0, "Save timing results to disk"},
{"minNrIterations", 'i', "ITERS", 0, "Make Perseus run at least ITERS iterations" },
{"initReward", 'I', 0, 0, "Initialize the value function with the immediate reward."},
{"initZero", 'z', 0, 0, "Initialize the value function with 0."},
{ 0 }
}

Definition at line 397 of file argumentHandlers.cpp.

struct argp ArgumentHandlers::perseusbackup_argp
static
const char* ArgumentHandlers::perseusbackup_argp_version = "Perseus Backup options parser 0.1"

Definition at line 504 of file argumentHandlers.cpp.

const char* ArgumentHandlers::perseusbackup_args_doc = 0
static

Definition at line 505 of file argumentHandlers.cpp.

struct argp_child ArgumentHandlers::perseusbackup_child
Initial value:
"Perseus backup options",

Definition at line 588 of file argumentHandlers.cpp.

const char* ArgumentHandlers::perseusbackup_doc
static
Initial value:
"This is the documentation for the options options parser\
This parser should be included as a child argp parser in the \
main argp parser of your application. (and this message will\
not be shown)\
\vBACKUP parameter:\n\
0 or POMDP -> use PerseusPOMDP (default)\n\
1 or BG -> use PerseusBG (BG solver can be specified by BGBACKUP)\n\
\n\
BGBACKUP parameter (details in AlphaVectorBG.{h,cpp}):\n\
0 or EXH_MAX -> use EXHAUSTIVE_ONLYKEEPMAX backup in PerseusBG\n\
1 or EXH_ALL -> use EXHAUSTIVE_STOREALL backup in PerseusBG\n\
2 or BGS_EXH -> use BGIP_SOLVER_EXHAUSTIVE backup in PerseusBG (default)\n\
3 or BGS_ALTMAX -> use BGIP_SOLVER_ALTERNATINGMAXIMIZATION backup in PerseusBG\n\
4 or BGS_ALTMAX100 -> use BGIP_SOLVER_ALTERNATINGMAXIMIZATION_100STARTS backup\n\
"

Definition at line 506 of file argumentHandlers.cpp.

struct argp_option ArgumentHandlers::perseusbackup_options[]
static
Initial value:
{
{"backup", 'b', "BACKUP", 0, "Select which backup to use, see below" },
{"vectorEachBelief", 'e', 0, 0, "If specified, don't sample from belief set, but compute vector for each belief" },
{"BGbackup", 'y', "BGBACKUP", 0, "Select which BG backup to use for PerseusBG" },
{"waitPenalty", 'w', "PENALTY", 0, "Set the wait penalty for PerseusImplicitWaiting" },
{"weight", 'W', "WEIGHT", 0, "Set the weight for PerseusWeighted{NS}" },
{"commModel", 'c', "COMM", 0, "Select the communication model for PerseusWeighted" },
{ 0 }
}

Definition at line 523 of file argumentHandlers.cpp.

struct argp ArgumentHandlers::perseusbelief_argp
static
const char* ArgumentHandlers::perseusbelief_argp_version = "Perseus Belief options parser 0.1"

Definition at line 448 of file argumentHandlers.cpp.

const char* ArgumentHandlers::perseusbelief_args_doc = 0
static

Definition at line 449 of file argumentHandlers.cpp.

struct argp_child ArgumentHandlers::perseusbelief_child
Initial value:
"Perseus belief set sampling options", GID_PERSEUSBELIEF}

Definition at line 499 of file argumentHandlers.cpp.

const char* ArgumentHandlers::perseusbelief_doc
static
Initial value:
"This is the documentation for the options options parser\
This parser should be included as a child argp parser in the \
main argp parser of your application. (and this message will\
not be shown)"

Definition at line 450 of file argumentHandlers.cpp.

struct argp_option ArgumentHandlers::perseusbelief_options[]
static
Initial value:
{
{"beliefs",'n', "BELIEFS", 0, "Set the belief set size" },
{"saveBeliefs", 'B', 0, 0, "Save beliefs to disk" },
{"beliefSamplingHorizon", 'H', "HORIZON", 0, "Introduce an artificial horizon when sampling the beliefs (useful in infinite-horizon case)" },
{"uniqueBeliefs", 'u', 0, 0, "Sample unique beliefs (no duplicates)" },
{"useQMDP", 'Q', 0, 0, "Follow the QMDP policy while sampling beliefs instead of acting uniformly at random."},
{"QMDPexploreProb", 'x', "PROB", 0, "Probability with which to take a random action when using QMDP for belief sampling."},
{ 0 }
}

Definition at line 456 of file argumentHandlers.cpp.

struct argp ArgumentHandlers::problemFile_argp = { problemFile_options, problemFile_parse_argument, problemFile_args_doc, problemFile_doc }
static

Definition at line 111 of file argumentHandlers.cpp.

const char* ArgumentHandlers::problemFile_argp_version = ".dpomdp file argument parser 0.1"

Definition at line 44 of file argumentHandlers.cpp.

const char* ArgumentHandlers::problemFile_args_doc = "PROBLEM"
static

Definition at line 45 of file argumentHandlers.cpp.

struct argp_child ArgumentHandlers::problemFile_child = {&problemFile_argp, 0, "Problem specification options", GID_PROBLEMFILE}

Definition at line 235 of file argumentHandlers.h.

const char* ArgumentHandlers::problemFile_doc
static
Initial value:
"This is the documentation for the .dpomdp file argument parser\
This parser should be included as a child argp parser in the \
main argp parser of your application.(and this message will\
not be shown)\
\vPROBLEM is either \n\
a) one of the following standard problems: DT, FF\n\
or \n\
b) a Dec-POMDP problem filename (.dpomdp or .toi-dpomdp). \
If it includes an extension, PROBLEM will be attempted to be loaded as is, \
otherwise the <PROBLEMSDIR> will be searched. \
I.e., ~/.madp/problems/PROBLEM.{toi-}dpomdp will be loaded.\n\
Some of the standard problems take options."

Definition at line 46 of file argumentHandlers.cpp.

struct argp_option ArgumentHandlers::problemFile_options[]
static
Initial value:
{
{"agents", OPT_NRAGENTS, "NRAGENTS", 0, "FireFighting: the number of agents (2)" },
{"houses", OPT_NRHOUSES, "NRHOUSES", 0, "FireFighting: the number of houses (3)" },
{"firelevels", OPT_NRFLS, "NRFLS", 0, "FireFighting: the number of firelevels (3)"},
{ 0 }
}

Definition at line 63 of file argumentHandlers.cpp.

struct argp ArgumentHandlers::qheur_argp
static
Initial value:

Definition at line 638 of file argumentHandlers.cpp.

const char* ArgumentHandlers::qheur_argp_version = "QHEUR options parser 0.1"

Definition at line 594 of file argumentHandlers.cpp.

const char* ArgumentHandlers::qheur_args_doc = 0
static

Definition at line 595 of file argumentHandlers.cpp.

struct argp_child ArgumentHandlers::qheur_child
Initial value:
{&qheur_argp, 0, "Q-heuristic options",

Definition at line 640 of file argumentHandlers.cpp.

const char* ArgumentHandlers::qheur_doc
static
Initial value:
"This is the documentation for the options options parser\
This parser should be included as a child argp parser in the \
main argp parser of your application. (and this message will\
not be shown)\vQHEUR parameter:\n\
0 or QMDP (defined on joint beliefs)\n\
1 or QPOMDP\n\
2 or QBG\n\
3 or QMDPc (cached for each joint AO history)"

Definition at line 596 of file argumentHandlers.cpp.

struct argp_option ArgumentHandlers::qheur_options[]
static
Initial value:
{
{"Qheuristic", 'Q', "QHEUR", 0, "Select which Q-heuristic to use" },
{ 0 }
}

Definition at line 606 of file argumentHandlers.cpp.

struct argp ArgumentHandlers::simulation_argp
static
const char* ArgumentHandlers::simulation_argp_version = "Simulation options parser 0.1"

Definition at line 646 of file argumentHandlers.cpp.

const char* ArgumentHandlers::simulation_args_doc = 0
static

Definition at line 647 of file argumentHandlers.cpp.

struct argp_child ArgumentHandlers::simulation_child
Initial value:
"Simulation options",

Definition at line 682 of file argumentHandlers.cpp.

const char* ArgumentHandlers::simulation_doc
static
Initial value:
"This is the documentation for the options options parser\
This parser should be included as a child argp parser in the \
main argp parser of your application. (and this message will\
not be shown)"

Definition at line 648 of file argumentHandlers.cpp.

struct argp_option ArgumentHandlers::simulation_options[]
static
Initial value:
{
{"runs", 'r', "RUNS", 0, "Set the number of episodes to simulate" },
{"seed", 'S', "SEED", 0, "Set the random seed" },
{ 0 }
}

Definition at line 654 of file argumentHandlers.cpp.

Definition at line 241 of file argumentHandlers.cpp.

const char* ArgumentHandlers::solutionMethodOptions_argp_version = "Solution method options parser 0.1"

Definition at line 203 of file argumentHandlers.cpp.

const char* ArgumentHandlers::solutionMethodOptions_args_doc = 0
static

Definition at line 204 of file argumentHandlers.cpp.

struct argp_child ArgumentHandlers::solutionMethodOptions_child = {&solutionMethodOptions_argp, 0, "Solution method options", GID_SM }

Definition at line 242 of file argumentHandlers.cpp.

const char* ArgumentHandlers::solutionMethodOptions_doc
static
Initial value:
"This is the documentation for the solution method options parser\
This parser should be included as a child argp parser in the \
main argp parser of your application. (and this message will\
not be shown)"

Definition at line 205 of file argumentHandlers.cpp.

struct argp_option ArgumentHandlers::solutionMethodOptions_options[]
static
Initial value:
{
{"horizon",'h',"HOR", 0, "Specifies the horizon to be considered" },
{"inf", OPT_INF , 0, 0, "Indicate that horizon is infinite" },
{ 0 }
}

Definition at line 216 of file argumentHandlers.cpp.

argp ArgumentHandlers::theArgpStruc = {options_main, parse_main, 0, doc, childVector }
static

Definition at line 52 of file argumentHandlersPostChild.h.