Learn R Programming

Rfmtool (version 5.0.3)

fm.check_monotonicity: Function for checking monotonicity of the set function v

Description

Checks monotonicity of the set function v in standard representation using insert sort.

Usage

fm.check_monotonicity(v, 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.

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)
v <- fm.generate_fm_sorting(1, 1000, 0, env)
monotonicity <- fm.check_monotonicity(v, env)

Run the code above in your browser using DataLab