sierra.plugins.engine.argos.variables.arena_shape#

Functionality for modifying/setting the size of the arena in ARGoS.

Classes#

ArenaShape

Maps a list of desired arena dimensions sets of XML changes.

Module Contents#

class sierra.plugins.engine.argos.variables.arena_shape.ArenaShape(extents: list[sierra.core.utils.ArenaExtent])[source]#
Inheritance diagram of sierra.plugins.engine.argos.variables.arena_shape.ArenaShape

Maps a list of desired arena dimensions sets of XML changes.

This class is a base class which should (almost) never be used on its own. Instead, derived classes defined in this file should be used instead.

extents#

List of arena extents.

gen_attr_changelist() list[sierra.core.experiment.definition.AttrChangeSet][source]#

Generate changes necessary setup ARGoS with the specified arena sizes.

gen_element_addlist() list[sierra.core.experiment.definition.ElementAddList][source]#

Generate expdef elelemnts to add to the batch experiment definition.

Modifications are lists, one per experiment in the batch, because the order you apply them matters.

gen_files() None[source]#

Generate files to add to the batch experiment definition.

Presumably, the created files will be referenced in the --expdef-template file by path.

gen_tag_rmlist() list[sierra.core.experiment.definition.ElementRmList][source]#

Generate expdef tags to remove from the batch experiment definition.

Modifications are lists, one per experiment in the batch, because the order you apply them matters.