fm.ChoquetMob_sparse: Choquet integral computation function in sparse...

View source: R/Rfmtool.r

fm.ChoquetMob_sparseR Documentation

Choquet integral computation function in sparse representation

Description

Calculates the Choquet integral in Mobius sparse representation.

Usage

  fm.ChoquetMob_sparse(x, envsp=NULL)

Arguments

x

Input vector of size n, containing utility value of input criteria. x is in [0,1].

envsp

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

Value

output

The output is the Choquet integral in Mobius sparse representation.

Author(s)

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

Examples

  n <- 3
  envsp <- fm.PrepareSparseFM(n, vector(), vector()) 
  envsp <- fm.add_singletons_sparse(c(0.2,0.1,0.2),envsp) 
  envsp <- fm.add_pair_sparse(1,2,0.4,envsp);

   ChoquetMobsparse <- fm.ChoquetMob_sparse(c(0.1,0.05,0.2),envsp)
   ChoquetMobsparse 
   envsp <- fm.FreeSparseFM(envsp)
  

Rfmtool documentation built on Feb. 16, 2023, 9:21 p.m.