sierra.plugins.platform.argos.variables.population_variable_density

Classes for the variable population density batch criteria.

See Variable Population Density for usage documentation.

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

Inheritance diagram of PopulationVariableDensity
__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    "
__init__(*args, **kwargs) None[source]
__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.

graph_xlabel(cmdopts: Dict[str, Any]) str[source]
graph_xticklabels(cmdopts: Dict[str, Any], exp_names: Optional[List[str]] = None) List[str][source]
graph_xticks(cmdopts: Dict[str, Any], exp_names: Optional[List[str]] = None) List[float][source]
n_robots(exp_num: int) int[source]