Package

axle.game

prisoner

Permalink

package prisoner

Prisoner's Dilemma

https://en.wikipedia.org/wiki/Prisoner%27s_dilemma

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. prisoner
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class Betrayal() extends PrisonersDilemmaMove with Product with Serializable

    Permalink
  2. case class PrisonersDilemma(p1: Player, p1Strategy: (PrisonersDilemma, PrisonersDilemmaState) ⇒ Distribution0[PrisonersDilemmaMove, Rational], p1Displayer: (String) ⇒ Unit, p2: Player, p2Strategy: (PrisonersDilemma, PrisonersDilemmaState) ⇒ Distribution0[PrisonersDilemmaMove, Rational], p2Displayer: (String) ⇒ Unit) extends Product with Serializable

    Permalink
  3. trait PrisonersDilemmaMove extends AnyRef

    Permalink
  4. case class PrisonersDilemmaOutcome(p1YearsInPrison: Int, p2YearsInPrison: Int) extends Product with Serializable

    Permalink
  5. case class PrisonersDilemmaState(p1Move: Option[PrisonersDilemmaMove], p1Moved: Boolean, p2Move: Option[PrisonersDilemmaMove]) extends Product with Serializable

    Permalink
  6. case class Silence() extends PrisonersDilemmaMove with Product with Serializable

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped