sierra.plugins.platform.ros1gazebo.variables.population_size
Classes for the population size batch criteria.
See System Population Size for usage documentation.
PopulationSize
: A univariate range of system sizes used to define batch experiments.
- class sierra.plugins.platform.ros1gazebo.variables.population_size.PopulationSize(cli_arg: str, main_config: Dict[str, Any], batch_input_root: Path, robot: str, sizes: List[int], positions: List[Vector3D])[source]
A univariate range of system sizes used to define batch experiments.
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 size distribution.Note: Usage of this class assumes homogeneous systems.
- size_list
List of integer system sizes defining the range of the variable for the batch experiment.
Inheritance
- __doc__ = "A univariate range of system sizes used to define batch experiments.\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 size distribution.\n\n Note: Usage of this class assumes homogeneous systems.\n\n Attributes:\n\n size_list: List of integer system sizes defining the range of the\n variable for the batch experiment.\n\n "
- __init__(cli_arg: str, main_config: Dict[str, Any], batch_input_root: Path, robot: str, sizes: List[int], positions: List[Vector3D]) None [source]
- __module__ = 'sierra.plugins.platform.ros1gazebo.variables.population_size'
- 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.
- gen_tag_addlist() List[TagAddList] [source]
Generate XML modifications to set system sizes.