pycopancore.model_components.base.implementation.group module

class Group(*args, **kwargs)[source]

Bases: DUMMY, DUMMY

Gropp entity type mixin implementation class.

Base component’s Group mixin that every model must use in composing their Group class. Inherits from I.Group as the interface with all necessary variables and parameters.

culture

reference to another entity or process taxon

deactivate()[source]

Deactivate a group.

In particular, deregister from all networks.

environment

reference to another entity or process taxon

group_members

reference to a set of entities

metabolism

reference to another entity or process taxon

processes = []
reactivate()[source]

Reactivate a group.

In particular, deregister with all mandatory networks.

property world

Get the World the Group is part of.