| fm.check_monotonicity_sort_merge {Rfmtool} | R Documentation | 
Function for checking monotonicity of the set function v
Description
Checks monotonicity of the set function v in standard representation using merge sort.
Usage
  fm.check_monotonicity_sort_merge(v, indices=NULL, env=NULL)
Arguments
| v | matrix v stores fuzzy measurements consecutively in cardinal order. | 
| indices | The indices can be used at subsequent steps of monotonicity verification. Initially indices need not be specified | 
| env | Environment variable obtained from fm.Init(n). | 
Value
| output | The output is a list of components (True/False, indices, values). The indices and values can be used at subsequent steps of monotonicity verification (e.g., values slightly perturbed) | 
Author(s)
Gleb Beliakov, Andrei Kelarev, Quan Vu, Daniela L. Calderon, Deakin University
Examples
 
  env<-fm.Init(3)
  v <- fm.generate_fm_sorting(1, 1000, 0, env)
  v
  measure <- fm.check_monotonicity_sort_merge(v,NULL, env)
  print(measure$out)
  
    measure$V[1] = measure$V[1] *1.1
    measure <- fm.check_monotonicity_sort_merge(measure$V, measure$index, env)
[Package Rfmtool version 5.0.4 Index]