MultiAgentDecisionProcess
Release 0.2.1
|
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 } |
ArgumentHandlers contains functionality for parsing and handling command-line arguments.
error_t ArgumentHandlers::CE_parse_argument | ( | int | key, |
char * | arg, | ||
struct argp_state * | state | ||
) |
Definition at line 714 of file argumentHandlers.cpp.
References ArgumentHandlers::Arguments::CE_alpha, CE_EVALUATION_RUNS, CE_RESTARTS, ArgumentHandlers::Arguments::CE_use_hard_threshold, ArgumentHandlers::Arguments::nrCEEvalutionRuns, ArgumentHandlers::Arguments::nrCEIterations, ArgumentHandlers::Arguments::nrCERestarts, ArgumentHandlers::Arguments::nrCESamples, and ArgumentHandlers::Arguments::nrCESamplesForUpdate.
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::gmaa_parse_argument | ( | int | key, |
char * | arg, | ||
struct argp_state * | state | ||
) |
Definition at line 330 of file argumentHandlers.cpp.
References BGIP_SolverType::AM, AM_RESTARTS, BGIP_SolverType::BFS, ArgumentHandlers::Arguments::bgsolver, GMAAtype::FSPC, ArgumentHandlers::Arguments::gmaa, ArgumentHandlers::Arguments::k, GMAAtype::kGMAA, GMAAtype::MAAstar, ArgumentHandlers::Arguments::nrAMRestarts, ArgumentHandlers::Arguments::nrRestarts, and BGIP_SolverType::NUMBER_OF_BGIP_SOLVER_TYPES.
error_t ArgumentHandlers::JESP_parse_argument | ( | int | key, |
char * | arg, | ||
struct argp_state * | state | ||
) |
Definition at line 779 of file argumentHandlers.cpp.
References ArgumentHandlers::Arguments::jesp, JESP_RESTARTS, JESP_TYPE, JESPtype::JESPDP, JESPtype::JESPExhaustive, and ArgumentHandlers::Arguments::JESPnrRestarts.
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 | ||
) |
Definition at line 176 of file argumentHandlers.cpp.
References ArgumentHandlers::Arguments::discount, ArgumentHandlers::Arguments::isTOI, OPT_TOI, and ArgumentHandlers::Arguments::sparse.
|
static |
Definition at line 35 of file argumentHandlersPostChild.h.
error_t ArgumentHandlers::perseus_parse_argument | ( | int | key, |
char * | arg, | ||
struct argp_state * | state | ||
) |
Definition at line 407 of file argumentHandlers.cpp.
References ArgumentHandlers::Arguments::initializeWithImmediateReward, ArgumentHandlers::Arguments::initializeWithZero, ArgumentHandlers::Arguments::minimumNrIterations, ArgumentHandlers::Arguments::nrBeliefs, ArgumentHandlers::Arguments::saveIntermediateV, ArgumentHandlers::Arguments::savePOMDP, and ArgumentHandlers::Arguments::saveTimings.
error_t ArgumentHandlers::perseusbackup_parse_argument | ( | int | key, |
char * | arg, | ||
struct argp_state * | state | ||
) |
Definition at line 533 of file argumentHandlers.cpp.
References ArgumentHandlers::Arguments::backup, BG, ArgumentHandlers::Arguments::bgBackup, BGIP_SOLVER_ALTERNATINGMAXIMIZATION, BGIP_SOLVER_ALTERNATINGMAXIMIZATION_100STARTS, BGIP_SOLVER_EXHAUSTIVE, ArgumentHandlers::Arguments::commModel, ArgumentHandlers::Arguments::computeVectorForEachBelief, EXHAUSTIVE_ONLYKEEPMAX, EXHAUSTIVE_STOREALL, POMDP, ArgumentHandlers::Arguments::waitPenalty, and ArgumentHandlers::Arguments::weight.
error_t ArgumentHandlers::perseusbelief_parse_argument | ( | int | key, |
char * | arg, | ||
struct argp_state * | state | ||
) |
Definition at line 466 of file argumentHandlers.cpp.
References ArgumentHandlers::Arguments::nrBeliefs, ArgumentHandlers::Arguments::QMDPexploreProb, ArgumentHandlers::Arguments::resetAfter, ArgumentHandlers::Arguments::saveBeliefs, ArgumentHandlers::Arguments::uniqueBeliefs, and ArgumentHandlers::Arguments::useQMDPforSamplingBeliefs.
error_t ArgumentHandlers::problemFile_parse_argument | ( | int | key, |
char * | arg, | ||
struct argp_state * | state | ||
) |
Definition at line 70 of file argumentHandlers.cpp.
References ArgumentHandlers::Arguments::dpf, ProblemType::DT, ProblemType::FF, ArgumentHandlers::Arguments::nrAgents, ArgumentHandlers::Arguments::nrFLs, ArgumentHandlers::Arguments::nrHouses, OPT_NRAGENTS, OPT_NRFLS, OPT_NRHOUSES, and ArgumentHandlers::Arguments::problem_type.
error_t ArgumentHandlers::qheur_parse_argument | ( | int | key, |
char * | arg, | ||
struct argp_state * | state | ||
) |
Definition at line 611 of file argumentHandlers.cpp.
References qheur::eQBG, qheur::eQMDP, qheur::eQMDPc, qheur::eQPOMDP, and ArgumentHandlers::Arguments::qheur.
error_t ArgumentHandlers::simulation_parse_argument | ( | int | key, |
char * | arg, | ||
struct argp_state * | state | ||
) |
Definition at line 660 of file argumentHandlers.cpp.
References ArgumentHandlers::Arguments::nrRuns, and ArgumentHandlers::Arguments::randomSeed.
error_t ArgumentHandlers::solutionMethodOptions_parse_argument | ( | int | key, |
char * | arg, | ||
struct argp_state * | state | ||
) |
Definition at line 222 of file argumentHandlers.cpp.
References ArgumentHandlers::Arguments::horizon, ArgumentHandlers::Arguments::infiniteHorizon, and OPT_INF.
|
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.
|
static |
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.
|
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.
|
static |
Definition at line 690 of file argumentHandlers.cpp.
|
static |
Definition at line 702 of file argumentHandlers.cpp.
Referenced by CE_parse_argument().
|
static |
Definition at line 703 of file argumentHandlers.cpp.
|
static |
Definition at line 701 of file argumentHandlers.cpp.
Referenced by CE_parse_argument().
|
static |
Definition at line 687 of file argumentHandlers.cpp.
|
static |
Definition at line 117 of file argumentHandlers.cpp.
|
static |
Definition at line 302 of file argumentHandlers.cpp.
|
static |
Definition at line 39 of file argumentHandlers.cpp.
|
static |
Definition at line 754 of file argumentHandlers.cpp.
|
static |
Definition at line 246 of file argumentHandlers.cpp.
|
static |
Definition at line 158 of file argumentHandlers.cpp.
|
static |
Definition at line 388 of file argumentHandlers.cpp.
|
static |
Definition at line 503 of file argumentHandlers.cpp.
|
static |
Definition at line 447 of file argumentHandlers.cpp.
|
static |
Definition at line 43 of file argumentHandlers.cpp.
|
static |
Definition at line 593 of file argumentHandlers.cpp.
|
static |
Definition at line 645 of file argumentHandlers.cpp.
|
static |
Definition at line 214 of file argumentHandlers.cpp.
|
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.
|
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.
|
static |
Definition at line 120 of file argumentHandlers.cpp.
|
static |
Definition at line 126 of file argumentHandlers.cpp.
|
static |
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.
|
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.
|
static |
Definition at line 305 of file argumentHandlers.cpp.
|
static |
Definition at line 321 of file argumentHandlers.cpp.
|
static |
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.
|
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.
|
static |
Definition at line 757 of file argumentHandlers.cpp.
|
static |
Definition at line 773 of file argumentHandlers.cpp.
|
static |
Definition at line 771 of file argumentHandlers.cpp.
Referenced by JESP_parse_argument().
|
static |
Definition at line 772 of file argumentHandlers.cpp.
Referenced by JESP_parse_argument().
|
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.
|
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.
|
static |
Definition at line 249 of file argumentHandlers.cpp.
|
static |
Definition at line 256 of file argumentHandlers.cpp.
|
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.
|
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.
|
static |
Definition at line 161 of file argumentHandlers.cpp.
|
static |
Definition at line 169 of file argumentHandlers.cpp.
|
static |
Definition at line 215 of file argumentHandlers.cpp.
Referenced by solutionMethodOptions_parse_argument().
|
static |
Definition at line 60 of file argumentHandlers.cpp.
Referenced by problemFile_parse_argument().
|
static |
Definition at line 62 of file argumentHandlers.cpp.
Referenced by problemFile_parse_argument().
|
static |
Definition at line 61 of file argumentHandlers.cpp.
Referenced by problemFile_parse_argument().
|
static |
Definition at line 168 of file argumentHandlers.cpp.
Referenced by modelOptions_parse_argument().
|
static |
Definition at line 31 of file argumentHandlersPostChild.h.
|
static |
Definition at line 441 of file argumentHandlers.cpp.
const char* ArgumentHandlers::perseus_argp_version = "Perseus options parser 0.1" |
Definition at line 389 of file argumentHandlers.cpp.
|
static |
Definition at line 390 of file argumentHandlers.cpp.
struct argp_child ArgumentHandlers::perseus_child |
Definition at line 443 of file argumentHandlers.cpp.
|
static |
Definition at line 391 of file argumentHandlers.cpp.
|
static |
Definition at line 397 of file argumentHandlers.cpp.
|
static |
Definition at line 584 of file argumentHandlers.cpp.
const char* ArgumentHandlers::perseusbackup_argp_version = "Perseus Backup options parser 0.1" |
Definition at line 504 of file argumentHandlers.cpp.
|
static |
Definition at line 505 of file argumentHandlers.cpp.
struct argp_child ArgumentHandlers::perseusbackup_child |
Definition at line 588 of file argumentHandlers.cpp.
|
static |
Definition at line 506 of file argumentHandlers.cpp.
|
static |
Definition at line 523 of file argumentHandlers.cpp.
|
static |
Definition at line 497 of file argumentHandlers.cpp.
const char* ArgumentHandlers::perseusbelief_argp_version = "Perseus Belief options parser 0.1" |
Definition at line 448 of file argumentHandlers.cpp.
|
static |
Definition at line 449 of file argumentHandlers.cpp.
struct argp_child ArgumentHandlers::perseusbelief_child |
Definition at line 499 of file argumentHandlers.cpp.
|
static |
Definition at line 450 of file argumentHandlers.cpp.
|
static |
Definition at line 456 of file argumentHandlers.cpp.
|
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.
|
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.
|
static |
Definition at line 46 of file argumentHandlers.cpp.
|
static |
Definition at line 63 of file argumentHandlers.cpp.
|
static |
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.
|
static |
Definition at line 595 of file argumentHandlers.cpp.
struct argp_child ArgumentHandlers::qheur_child |
Definition at line 640 of file argumentHandlers.cpp.
|
static |
Definition at line 596 of file argumentHandlers.cpp.
|
static |
Definition at line 606 of file argumentHandlers.cpp.
|
static |
Definition at line 679 of file argumentHandlers.cpp.
const char* ArgumentHandlers::simulation_argp_version = "Simulation options parser 0.1" |
Definition at line 646 of file argumentHandlers.cpp.
|
static |
Definition at line 647 of file argumentHandlers.cpp.
struct argp_child ArgumentHandlers::simulation_child |
Definition at line 682 of file argumentHandlers.cpp.
|
static |
Definition at line 648 of file argumentHandlers.cpp.
|
static |
Definition at line 654 of file argumentHandlers.cpp.
|
static |
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.
|
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.
|
static |
Definition at line 205 of file argumentHandlers.cpp.
|
static |
Definition at line 216 of file argumentHandlers.cpp.
|
static |
Definition at line 52 of file argumentHandlersPostChild.h.