jt_nbinary_ops: Number of Binary Operations

View source: R/helper_binary_ops.R

jt_nbinary_opsR 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


jti documentation built on April 12, 2022, 9:05 a.m.