fm.check_monotonicity_mob_2additive {Rfmtool} | R Documentation |
Check the monotonicity of the 2-additive set function v in Mobius representation using fast check.
fm.check_monotonicity_mob_2additive(v, n, temp=NULL)
v |
Random 2-additive fuzzy measure in Mobius representation. |
n |
Number of inputs |
temp |
Auxiliary array of length n^2 (e.g: array(0.0,n*n)). It may or may not be specified (if speed matters, then preallocate it). |
output |
The output is 1 or 0 to check for monotonicity. |
Gleb Beliakov, Andrei Kelarev, Quan Vu, Daniela L. Calderon, Deakin University
v <- fm.generate_fm_2additive(1, 10)
n <- 10
v$len
v$V
check <- fm.check_monotonicity_mob_2additive(v$V, n)
check
temp <- array(0.0,10*10);
check <- fm.check_monotonicity_mob_2additive(v$V, n, temp)
check