Function m_ipd::strategies::axelrod::random_tit_for_tat[][src]

pub fn random_tit_for_tat() -> Box<dyn FnMut(Round) -> Choice>

Copies the other’s cooperation with probability 90%, otherwise defects.

Adapted from a strategy by Joss.