Skip to content

Command line tools: return probability distribution over terminal nodes, expected payoffs and beliefs #161

@skranz

Description

@skranz

First of all, thanks to all contributors to Gambit.

I wanted to ask if it would be possible to augment the command line tools for flags that allow to show in addition to the equilibria the following elements (in a table like manner that can be easily parsed):

  1. -- outcomes: the induced probabilty distribution over terminal nodes for each equilibrium
  2. -- payoffs: the expected payoffs for each equilibrium
  3. -- beliefs: (less important) the beliefs for each node

For example, consider the following game with 3 nodes in which player 1 moves at node 1 and player 2 at nodes 2 and 3:

              2|-------  (10,1) (Outcome 1)
      |-------*|
1     |        |-------  (0,0) (Outcome 2)
*-----|
      |       3|-------- (10,5) (Outcome 3)
      |-------*|
               |-------- (1,1)  (Outcome 4)

The output for one equilibrium in which player 1 mixes equally between the two actions in the first node could look as follows if all three flags are turned on:

NE,0.5,0.5,1,0,1,0    # Probabilities over information sets
OUT,0.5,0,0.5,0       # Probabilities over outcomes
PAY,10,3              # Expected payoffs for each player
BE,1,1,1              # Beliefs over each node in each information set

(Since all information sets are singleton, the beliefs are trivial here).
In particular, the option to see the probabilities over outcomes would be really useful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions