Expand description
This crate provides the necessary framework to simulate the iterated prisoner’s dilemma in cases where the history is not always entirely available.
The mechanisms to provide one simulation are provided by the simulate
function, and the full
details of how this works are provided by the associated documentation. If one is interested in
comparing many strategies against each other, the tournament
function provides the necessary
interface.
Re-exports§
pub use Choice::*;
Modules§
Enums§
- Represents one of two possible choices that an actor can make.
- Represents a choice that the other player made in the last round.
Functions§
- Runs a tournament between a set of strategies.
Type Aliases§
- Represents a policy that decides how history is revealed.
- Represents a playing strategy