sierra.core.variables.population_size
Reusable classes related to the homogeneous populations of agents.
BasePopulationSize
: Base class for changing the # agents/robots to reduce code duplication.Parser
: A base parser for use in changing the # robots/agents.
- class sierra.core.variables.population_size.BasePopulationSize(*args, **kwargs)[source]
Base class for changing the # agents/robots to reduce code duplication.
Inheritance
- __doc__ = '\n Base class for changing the # agents/robots to reduce code duplication.\n '
- __module__ = 'sierra.core.variables.population_size'
- class sierra.core.variables.population_size.Parser[source]
A base parser for use in changing the # robots/agents.
Inheritance
- __dict__ = mappingproxy({'__module__': 'sierra.core.variables.population_size', '__doc__': 'A base parser for use in changing the # robots/agents.\n\n ', '__call__': <function Parser.__call__>, 'to_sizes': <function Parser.to_sizes>, '__dict__': <attribute '__dict__' of 'Parser' objects>, '__weakref__': <attribute '__weakref__' of 'Parser' objects>, '__annotations__': {}})
- __doc__ = 'A base parser for use in changing the # robots/agents.\n\n '
- __module__ = 'sierra.core.variables.population_size'
- __weakref__
list of weak references to the object (if defined)