Learn R Programming

Rfmtool (version 5.0.3)

fm.check_convexity_monotonicity_mob: Function for checking supermodularity of the set function v in Mobius representation

Description

Checks supermodularity of the set function v in Mobius representation using stan- dard check.

Usage

fm.check_convexity_monotonicity_mob(v, len, env=NULL)

Value

output

The output is 1 or 0 to check for monotonicity.

Arguments

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).

Author

Gleb Beliakov, Andrei Kelarev, Quan Vu, Daniela L. Calderon, Deakin University

Examples

Run this code
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)

Run the code above in your browser using DataLab