nmmo.task.group module#
- class nmmo.task.group.Group(agents: Iterable[int], name: Optional[str] = None)#
Bases:
Sequence,SetAn immutable, ordered, unique group of agents involved in a task
- property agents#
- count(value) integer -- return number of occurrences of value#
- description() Dict#
- index(value[, start[, stop]]) integer -- return first index of value.#
Raises ValueError if the value is not present.
Supporting start and stop arguments is optional, but recommended.
- isdisjoint(other)#
Return True if two sets have a null intersection.