sierra.plugins.platform.argos.variables.population_variable_density
Classes for the variable population density batch criteria.
See Variable Population Density for usage documentation.
PopulationVariableDensity
: Defines XML changes for variable population density within a single arena.
- class sierra.plugins.platform.argos.variables.population_variable_density.PopulationVariableDensity(*args, **kwargs)[source]
Defines XML changes for variable population density within a single arena.
This class is a base class which should (almost) never be used on its own. Instead, the
factory()
function should be used to dynamically create derived classes expressing the user’s desired density ranges.Inheritance
- __doc__ = "Defines XML changes for variable population density within a single arena.\n\n This class is a base class which should (almost) never be used on its\n own. Instead, the ``factory()`` function should be used to dynamically\n create derived classes expressing the user's desired density ranges.\n\n "
- __module__ = 'sierra.plugins.platform.argos.variables.population_variable_density'
- attr_changes: List[AttrChangeSet]
- gen_attr_changelist() List[AttrChangeSet] [source]
Generate XML modifications to achieve the desired population densities.
Robots are approximated as point masses.
- gen_exp_names(cmdopts: Dict[str, Any]) List[str] [source]
Generate list of experiment names from the criteria.
Used for creating unique directory names for each experiment in the batch.
- Returns:
List of experiments names for current experiment.