View source: R/makeNKFunction.R
exportNKFunction | R Documentation |
NK-landscapes and rMNK-landscapes are randomly generated combinatorial structures. In contrast to continuous benchmark function it thus makes perfect sense to store the landscape definitions in a text-based format.
exportNKFunction(x, path)
importNKFunction(path)
x |
[ |
path |
[ |
The format uses two comment lines with basic information like the package version,
the date of storage etc. The third line contains \rho
, M
and N
separated by a single-whitespace. Following that follow epistatic links from
which the number of epistatic links can be attracted. There are M * N
lines for a MNK-landscape with M
objectives and input dimension N
.
The first N
lines contain the links for the first objective an so on.
Following that the tabular values follow in the same manner. For every position
i = 1, \ldots, N
there is a line with 2^{K_i + 1}
values.
Note: exportNKFunction
overwrites existing files without asking.
Silently returns TRUE
on success.
importNKFunction
Other nk_landscapes:
makeMNKFunction()
,
makeNKFunction()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.