public class CorrelatedEquilibrium extends BimatrixEquilibriumSolver
CorrelatedEquilibriumSolver.CorrelatedEquilibriumObjective.UTILITARIAN
objective.
A different objective may be set using the corresponding constructor.Modifier and Type | Field and Description |
---|---|
protected CorrelatedEquilibriumSolver.CorrelatedEquilibriumObjective |
objective |
doubleEpislon, lastColPlayerPayoff, lastColsStrategy, lastRowPlayerPayoff, lastRowStrategy
Constructor and Description |
---|
CorrelatedEquilibrium() |
CorrelatedEquilibrium(CorrelatedEquilibriumSolver.CorrelatedEquilibriumObjective objective) |
Modifier and Type | Method and Description |
---|---|
double[] |
computeColStrategy(double[][] rowPayoff,
double[][] colPayoff)
Computes and returns the column player strategy for the given bimatrix game.
|
double[] |
computeRowStrategy(double[][] rowPayoff,
double[][] colPayoff)
Computes and returns the row player strategy for the given bimatrix game.
|
bimatrixEqualsLast, doubleEquality, getLastComputedColStrategy, getLastComputedRowStrategy, solve
protected CorrelatedEquilibriumSolver.CorrelatedEquilibriumObjective objective
public CorrelatedEquilibrium()
public CorrelatedEquilibrium(CorrelatedEquilibriumSolver.CorrelatedEquilibriumObjective objective)
public double[] computeRowStrategy(double[][] rowPayoff, double[][] colPayoff)
BimatrixEquilibriumSolver
computeRowStrategy
in class BimatrixEquilibriumSolver
rowPayoff
- the row player payoffs.colPayoff
- the column player payoffs.public double[] computeColStrategy(double[][] rowPayoff, double[][] colPayoff)
BimatrixEquilibriumSolver
computeColStrategy
in class BimatrixEquilibriumSolver
rowPayoff
- the row player payoffs.colPayoff
- the column player payoffs.