egttools.behaviors.CRD.moving_average.AbstractCRDStrategy¶
- class AbstractCRDStrategy(self: egttools.numerical.numerical_.behaviors.CRD.AbstractCRDStrategy)¶
Bases:
pybind11_objectAbstract base class for strategies in collective-risk dilemma games.
Methods
Return the action chosen by the strategy.
Return the strategy type.
- __init__(self: egttools.numerical.numerical_.behaviors.CRD.AbstractCRDStrategy) None¶
- __new__(**kwargs)¶
- get_action(self: egttools.numerical.numerical_.behaviors.CRD.AbstractCRDStrategy, time_step: SupportsInt | SupportsIndex, group_contributions_prev: SupportsInt | SupportsIndex) int¶
Return the action chosen by the strategy.
- type(self: egttools.numerical.numerical_.behaviors.CRD.AbstractCRDStrategy) str¶
Return the strategy type.
- __annotations__ = {}¶