sierra.plugins.platform.argos.variables.exp_setup

Classes for the --exp-setup cmdline option.

See Experiment Setup for usage documentation.

  • ExpSetup: Defines the simulation duration.

class sierra.plugins.platform.argos.variables.exp_setup.ExpSetup(n_secs_per_run: int, n_datapoints: int, n_ticks_per_sec: int)[source]

Defines the simulation duration.

duration

The simulation duration in seconds, NOT timesteps.

Inheritance

Inheritance diagram of ExpSetup
__dict__ = mappingproxy({'__module__': 'sierra.plugins.platform.argos.variables.exp_setup', '__doc__': '\n    Defines the simulation duration.\n\n    Attributes:\n\n        duration: The simulation duration in seconds, NOT timesteps.\n    ', 'extract_time_params': <staticmethod object>, '__init__': <function ExpSetup.__init__>, 'gen_attr_changelist': <function ExpSetup.gen_attr_changelist>, 'gen_tag_rmlist': <function ExpSetup.gen_tag_rmlist>, 'gen_tag_addlist': <function ExpSetup.gen_tag_addlist>, 'gen_files': <function ExpSetup.gen_files>, '__dict__': <attribute '__dict__' of 'ExpSetup' objects>, '__weakref__': <attribute '__weakref__' of 'ExpSetup' objects>, '__annotations__': {'attr_changes': 'tp.List[xml.AttrChangeSet]'}})
__doc__ = '\n    Defines the simulation duration.\n\n    Attributes:\n\n        duration: The simulation duration in seconds, NOT timesteps.\n    '
__init__(n_secs_per_run: int, n_datapoints: int, n_ticks_per_sec: int) None[source]
__module__ = 'sierra.plugins.platform.argos.variables.exp_setup'
__weakref__

list of weak references to the object (if defined)

static extract_time_params(exp_def: AttrChangeSet) Dict[str, int][source]

Extract and return time parameters for the experiment.

Returns:

length (in seconds), ticks_per_second

gen_attr_changelist() List[AttrChangeSet][source]
gen_files() None[source]
gen_tag_addlist() List[TagAddList][source]
gen_tag_rmlist() List[TagRmList][source]