Gambit: Software Tools for Game Theory | ||
---|---|---|
<<< Previous | Next >>> |
Payoff[outcome->EFOUTCOME*, player->EFPLAYER] =: NUMBER Payoff[outcome->NFOUTCOME*, player->NFPLAYER] =: NUMBER Payoff[profile->BEHAV, player->EFPLAYER] =: NUMBER Payoff[profile->MIXED, player->NFPLAYER] =: NUMBER |
The first two versions of Payoff return the value of the outcome outcome to the player player.
The third and fourth versions return the expected payoff to player player, when all players play according to profile.
In all cases, an error occurs if the parameters are not from the same game.
<<< Previous | Home | Next >>> |
Parentheses | Up | Platform |