Description Usage Arguments Value Examples
Plot equilibrium for 2 objectives test problems with evaluations on a grid. The number of variables is not limited.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
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 |
list returned by invisible() with elements:
trueEqdesign
design corresponding to equilibrium value trueEq
trueEqPoff
corresponding values of the objective
trueParetoFront
Pareto front
response.grid
integ.pts, expanded.indices
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | 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))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.