plotGameGrid {GPGame} | R Documentation |
Visualisation of equilibrium solution in input/output space
Description
Plot equilibrium for 2 objectives test problems with evaluations on a grid. The number of variables is not limited.
Usage
plotGameGrid(
fun = NULL,
domain = NULL,
n.grid,
graphs = c("both", "design", "objective"),
x.to.obj = NULL,
integcontrol = NULL,
equilibrium = c("NE", "KSE", "CKSE", "NKSE"),
fun.grid = NULL,
Nadir = NULL,
Shadow = NULL,
calibcontrol = NULL,
...
)
Arguments
fun |
name of the function considered |
domain |
optional matrix for the bounds of the domain (for now [0,1]^d only), (two columns matrix with min and max) |
n.grid |
number of divisions of the grid in each dimension (must correspond to |
graphs |
either |
x.to.obj , integcontrol |
see |
equilibrium |
either " |
fun.grid |
optional matrix containing the values of |
Nadir , Shadow |
optional vectors of size |
calibcontrol |
an optional list for calibration problems, containing |
... |
further arguments to |
Value
list returned by invisible() with elements:
-
trueEqdesign
design corresponding to equilibrium valuetrueEq
-
trueEqPoff
corresponding values of the objective -
trueParetoFront
Pareto front -
response.grid
-
integ.pts, expanded.indices
Examples
library(GPareto)
## 2 variables
dom <- matrix(c(0,0,1,1),2)
plotGameGrid("P1", domain = dom, n.grid = 51, equilibrium = "NE")
plotGameGrid("P1", domain = dom, n.grid = rep(31,2), equilibrium = "NE") ## As in the tests
plotGameGrid("P1", domain = dom, n.grid = 51, equilibrium = "KSE")
plotGameGrid("P1", domain = dom, n.grid = rep(31,2), equilibrium = "NKSE")
plotGameGrid("P1", graphs = "design", domain = dom, n.grid = rep(31,2), equilibrium = "NKSE")
## 4 variables
dom <- matrix(rep(c(0,1), each = 4), 4)
plotGameGrid("ZDT3", domain = dom, n.grid = 25, equilibrium = "NE", x.to.obj = c(1,1,2,2))