egttools.behaviors.NormalForm.TwoActions.SuspiciousTFT¶
- class SuspiciousTFT(self: egttools.numerical.numerical_.behaviors.NormalForm.TwoActions.SuspiciousTFT)¶
Bases:
AbstractNFGStrategySuspicious Tit for Tat: defect in the first round, then copy the opponent’s previous action.
Methods
Return the action chosen by the strategy.
Return whether the strategy is stochastic.
Return the strategy type.
- __new__(**kwargs)¶
- get_action(self: egttools.numerical.numerical_.behaviors.NormalForm.TwoActions.SuspiciousTFT, time_step: SupportsInt | SupportsIndex, action_prev: SupportsInt | SupportsIndex) int¶
Return the action chosen by the strategy.
- is_stochastic(self: egttools.numerical.numerical_.behaviors.NormalForm.TwoActions.SuspiciousTFT) bool¶
Return whether the strategy is stochastic.
- type(self: egttools.numerical.numerical_.behaviors.NormalForm.TwoActions.SuspiciousTFT) str¶
Return the strategy type.
- __annotations__ = {}¶