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

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

Cooperates unless one betrayer betrayed the other in the last shown round, in which case it only cooperates with low probability.

Adapted from a strategy created by Grofman