fm.sparse_get_singletons {Rfmtool} | R Documentation |
Export the internal arrays of the sparse capacity as arrays of singletons, pairs and tuples.
fm.sparse_get_singletons(envsp=NULL)
envsp |
Structure required for sparse representation which stores the relevant values (k-tuples). It is obtained from fm.PrepareSparseFM(n). |
output |
The output is the numbers of pairs and tuples. |
Gleb Beliakov, Andrei Kelarev, Quan Vu, Daniela L. Calderon, Deakin University
n <- 3
envsp <- fm.PrepareSparseFM(n)
envsp <- fm.add_singletons_sparse(c(0, 0.3, 0.5),envsp)
singletons <- fm.sparse_get_singletons(envsp)
singletons
envsp <- fm.FreeSparseFM(envsp)