fm.NonmodularityIndex_sparse {Rfmtool} | R Documentation |
Nonmodularity index computation function in sparse representation
Description
Calculate all 2^n nonmodularity indices using Mobius transform of a fuzzy measure of lenght 2^n=m, using sparse representation
Usage
fm.NonmodularityIndex_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 is all 2^n nonmodularity indice. |
Author(s)
Gleb Beliakov, Andrei Kelarev, Quan Vu, Daniela L. Calderon, Deakin University
Examples
n <- 3
tups<-vector()
tupsidx<-vector()
envsp <- fm.PrepareSparseFM(n, tups,tupsidx)
envsp <- fm.add_singletons_sparse(c(0.2,0.1,0.2),envsp)
envsp <- fm.add_pair_sparse(1,2,0.4,envsp);
fm.NonmodularityIndex_sparse(3,envsp)
envsp <- fm.FreeSparseFM(envsp)
[Package Rfmtool version 5.0.4 Index]