fm.sparse_get_tuples {Rfmtool} | R Documentation |
Get tuples of a sparse fuzzy measure
Description
Export the internal arrays of the sparse capacity as arrays of singletons, pairs and tuples.
Usage
fm.sparse_get_tuples(envsp=NULL)
Arguments
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 numbers of pairs and tuples. |
Author(s)
Gleb Beliakov, Andrei Kelarev, Quan Vu, Daniela L. Calderon, Deakin University
Examples
n <- 3
envsp <- fm.PrepareSparseFM(n)
envsp <- fm.add_tuple_sparse(c(1,2,3),0.2,envsp)
envsp <- fm.add_tuple_sparse(c(1,3,4),0.3,envsp)
tuples <- fm.sparse_get_tuples(envsp)
tuples
envsp <- fm.FreeSparseFM(envsp)
[Package Rfmtool version 5.0.4 Index]