def __init__(self): super(CLI, self).__init__(protectionless.name) subparser = self._add_argument("table", self._run_table) subparser.add_argument("sim", choices=submodule_loader.list_available( simulator.sim), help="The simulator you wish to run with.") subparser.add_argument("--show", action="store_true", default=False) subparser = self._add_argument("graph", self._run_graph) subparser.add_argument("sim", choices=submodule_loader.list_available( simulator.sim), help="The simulator you wish to run with.") subparser = self._add_argument("graph-min-max", self._run_min_max_versus) subparser.add_argument("sim", choices=submodule_loader.list_available( simulator.sim), help="The simulator you wish to run with.") subparser = self._add_argument("graph-dominating-min-max", self._run_dominating_min_max_versus) subparser = self._add_argument("graph-multi", self._run_multi_versus)
def __init__(self): # super(CLI, self).__init__(protectionless_tdma_das.result_file_path, RunSimulations) super(CLI, self).__init__(True, RunSimulations) subparser = self._add_argument("graph", self._run_graph) subparser.add_argument("sim", choices=submodule_loader.list_available( simulator.sim), help="The simulator you wish to run with.") subparser = self._add_argument("graph-versus-baseline", self._run_graph_versus_baseline) subparser.add_argument("sim", choices=submodule_loader.list_available( simulator.sim), help="The simulator you wish to run with.")
def __init__(self): super().__init__(protectionless.name, safety_period_equivalence=safety_period_equivalence) subparser = self._add_argument("table", self._run_table) subparser.add_argument("sim", choices=submodule_loader.list_available( simulator.sim), help="The simulator you wish to run with.") subparser.add_argument("--show", action="store_true", default=False) subparser = self._add_argument("graph", self._run_graph) subparser.add_argument("sim", choices=submodule_loader.list_available( simulator.sim), help="The simulator you wish to run with.")
def __init__(self): # super(CLI, self).__init__(__package__) super(CLI, self).__init__(None) subparser = self._add_argument("graph", self._run_graph) subparser.add_argument("sim", choices=submodule_loader.list_available( simulator.sim), help="The simulator you wish to run with.") subparser = self._add_argument("table", self._run_table)
def __init__(self): super().__init__(protectionless.name, safety_period_equivalence=safety_period_equivalence) subparser = self._add_argument("table", self._run_table) subparser.add_argument("sim", choices=submodule_loader.list_available( simulator.sim), help="The simulator you wish to run with.") subparser.add_argument("--show", action="store_true", default=False) subparser.add_argument( "--testbed", type=str, choices=submodule_loader.list_available(data.testbed), default=None, help= "Select the testbed to analyse. (Only if not analysing regular results.)" ) subparser = self._add_argument("graph", self._run_graph) subparser.add_argument("sim", choices=submodule_loader.list_available( simulator.sim), help="The simulator you wish to run with.") subparser.add_argument( "--testbed", type=str, choices=submodule_loader.list_available(data.testbed), default=None, help= "Select the testbed to analyse. (Only if not analysing regular results.)" ) subparser = self._add_argument("graph-testbed", self._run_graph_testbed) subparser.add_argument( "testbed", type=str, choices=submodule_loader.list_available(data.testbed), help= "Select the testbed to analyse. (Only if not analysing regular results.)" )
def __init__(self): super(CLI, self).__init__(True, RunSimulations) subparser = self._add_argument("graph", self._run_graph) subparser = self._add_argument("graph-versus-baseline", self._run_graph_versus_baseline) subparser = self._add_argument("graph-min-max", self._run_graph_min_max) subparser.add_argument("sim", choices=submodule_loader.list_available( simulator.sim), help="The simulator you wish to run with.")