Crate m_ipd[−][src]
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
policies | |
strategies |
Enums
Choice | Represents one of two possible choices that an actor can make. |
Round | Represents a choice that the other player made in the last round. |
Functions
tournament | Runs a tournament between a set of strategies. |
Type Definitions
RevealPolicy | Represents a policy that decides how history is revealed. |
Strategy | Represents a playing strategy |