5 #include "core/LongOptions.h" 6 #include "core/Arguments.h" 7 #include "core/Command.h" 9 #include "SweepController.h" 10 #include "ABCRejectionController.h" 11 #include "ABCSMCController.h" 13 #include "AbstractController.h" 19 if (arg.compare(
"sweep") == 0)
23 else if (arg.compare(
"rejection") == 0)
27 else if (arg.compare(
"smc") == 0)
45 throw std::runtime_error(
"Invalid controller type in " 46 "AbstractController::help");
62 throw std::runtime_error(
"Invalid controller type in " 63 "AbstractController::makeController");
79 throw std::runtime_error(
"Invalid controller type in " 80 "AbstractController::makeController");
static std::string help()
static std::string help()
static ABCSMCController * makeController(const Arguments &args)
static controller_t getController(const std::string &arg)
static SweepController * makeController(const Arguments &args)
static std::string help(controller_t controller)
static ABCRejectionController * makeController(const Arguments &args)
static void addLongOptions(LongOptions &lopts)
static void addLongOptions(LongOptions &lopts)
static void addLongOptions(LongOptions &lopts)
static AbstractController * makeController(controller_t controller, const Arguments &args)
static std::string help()
static void addLongOptions(controller_t controller, LongOptions &lopts)