sierra.plugins.platform.argos.variables.population_constant_density
Classes for the constant population density batch criteria.
See Constant Population Density for usage documentation.
PopulationConstantDensity
: Defines XML changes for maintain population density across arena sizes.
- class sierra.plugins.platform.argos.variables.population_constant_density.PopulationConstantDensity(*args, **kwargs)[source]
Defines XML changes for maintain population density across arena sizes.
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.Does not change the # blocks/block manifest.
Inheritance
- __doc__ = "Defines XML changes for maintain population density across arena sizes.\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.\n\n Does not change the # blocks/block manifest.\n\n "
- __module__ = 'sierra.plugins.platform.argos.variables.population_constant_density'
- gen_attr_changelist() List[AttrChangeSet] [source]
Generate XML modifications to to maintain constant population density.
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.