buildTree | R Documentation |
Build a tree of...
buildTree(tt, qq, indices = NULL)
tt |
A (0,1)-matrix or a boolean matrix. The number of columns must match the number of elements (values) of the Frame of Discernment (FoD). |
q |
Commonality values of the |
A tree structure of commonalities is built from the binary matrix tt
. This tree structure can then be used with large frames of discernment to optimize the combination of support functions.
tree The tree structure.
Peiyuan Zhu
Chaveroche, Franck Davoine, Véronique Cherfaoui. Efficient Möbius Transformations and their applications to Dempster-Shafer Theory: Clarification and implementation. ArXiv preprint arXiv:2107.07359.
# Example from figure 12 of the cited reference.
x <- matrix(c(1,0,0,
0,0,1,
0,1,1,
1,1,1), nrow = 4, byrow = TRUE, dimnames = list(NULL,c("a","b","c")))
rownames(x) <- nameRows(x)
m <- c(0.1,0.2,0.3,0.4)
q <- commonality(x,m,"ezt-m")
q_tree <- buildTree(x,q)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.