fm.generate_fm_kadditive_convex_sparse | R Documentation |
Generates a random k-additive Belief fuzzy measure in sparse representation
fm.generate_fm_kadditive_convex_sparse(n, kadd, nonzero, envsp = NULL)
n |
Inputs length. (n inputs) |
kadd |
kadd is the value of k-additivity, which is used for reducing the complexity of fuzzy measures. default value is kadd = n. 1 < kadd < n+1; if kdd=n - f.m. is unrestricted |
nonzero |
Values stored and indexed in the respective arrays which are part of the structure |
envsp |
Structure required for sparse representation which stores the relevant values (k-tuples). It is obtained from fm.PrepareSparseFM(n). |
output |
The output is k-additive Belief fuzzy measure in sparse representation |
Gleb Beliakov, Andrei Kelarev, Quan Vu, Daniela L. Calderon, Deakin University
n <- 5 tups<-vector() tupsidx<-vector() envsp <- fm.PrepareSparseFM(n, tups,tupsidx) envsp <- fm.generate_fm_kadditive_convex_sparse(n,4,10, envsp) envsp envsp <- fm.FreeSparseFM(envsp)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.