fm.check_convexity_monotonicity_mob {Rfmtool} | R Documentation |
Checks supermodularity of the set function v in Mobius representation using stan- dard check.
fm.check_convexity_monotonicity_mob(v, len, env=NULL)
v |
matrix v stores fuzzy measurements consecutively in cardinal order v. |
len |
this is the length of array Mob (this array is usually smaller than 2^n), and is computed by fm.fm_arraysize_kadd(N, Kadd). |
env |
Environment variable obtained from fm.Init(n). |
output |
The output is 1 or 0 to check for monotonicity. |
Gleb Beliakov, Andrei Kelarev, Quan Vu, Daniela L. Calderon, Deakin University
env<-fm.Init(3)
step <- 0.001
Fn <- NULL
Option<- 3
fuzzymeasures <- fm.generate_fm_randomwalk(1, 3, 2, 1000, Option, step, Fn, env)
len <- fuzzymeasures$length
check <- fm.check_convexity_monotonicity_mob(fuzzymeasures$V, len, env)