jt_nbinary_ops {jti} | R Documentation |
Number of Binary Operations
Description
Number of binary operations needed to propagate in a junction tree given evidence, using the Lauritzen-Spiegelhalter scheme
Usage
jt_nbinary_ops(x, evidence = list(), root = NULL, nc = 1)
## S3 method for class 'triangulation'
jt_nbinary_ops(x, evidence = list(), root = NULL, nc = 1)
Arguments
x |
A junction tree object or an object returned from the triangulation function |
evidence |
List of character vectors with evidence nodes |
root |
Integer specifying the root node in the junction tree |
nc |
Integer. The number of cores to be used in parallel |
[Package jti version 0.8.4 Index]