fm.generate_fm_2additive_convex_sparse {Rfmtool}R Documentation

Function for generating 2additive convex numbers in sparse representation

Description

Generates a random 2-additive supermodular fuzzy measure in sparse representation.

Usage

  fm.generate_fm_2additive_convex_sparse(n, envsp = NULL)

Arguments

n

Number of inputs

envsp

Structure required for sparse representation which stores the relevant values (k-tuples). It is obtained from fm.PrepareSparseFM(n).

Value

output

The output are 2-additive supermodular fuzzy measure in sparse representation

Author(s)

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

Examples

  n <- 5
  tups<-vector()
  tupsidx<-vector()
  envsp <- fm.PrepareSparseFM(n, tups,tupsidx) 
  envsp <- fm.generate_fm_2additive_convex_sparse(n, envsp)
  envsp
     envsp <- fm.FreeSparseFM(envsp) 
  

[Package Rfmtool version 5.0.4 Index]