public static class SingleStageNormalFormGame.AgentPayoutFunction
extends java.lang.Object
Constructor and Description |
---|
AgentPayoutFunction() |
Modifier and Type | Method and Description |
---|---|
SingleStageNormalFormGame.AgentPayoutFunction |
copy() |
static SingleStageNormalFormGame.AgentPayoutFunction[] |
getDeepCopyOfPayoutArray(SingleStageNormalFormGame.AgentPayoutFunction[] input) |
double |
getPayout(SingleStageNormalFormGame.StrategyProfile profile)
Returns the payout for a given strategy profile
|
void |
set(SingleStageNormalFormGame.StrategyProfile profile,
double p)
sets the payout for a given strategy profile
|
public void set(SingleStageNormalFormGame.StrategyProfile profile, double p)
profile
- the strategy profilep
- the payout returned for this strategy profilepublic double getPayout(SingleStageNormalFormGame.StrategyProfile profile)
profile
- the strategy profilepublic SingleStageNormalFormGame.AgentPayoutFunction copy()
public static SingleStageNormalFormGame.AgentPayoutFunction[] getDeepCopyOfPayoutArray(SingleStageNormalFormGame.AgentPayoutFunction[] input)