flag: Constructor for flag node

Description Usage Arguments Value

Description

Constructor for flag node

Usage

1
flag(index, name, values, parents, pvals, params, params2)

Arguments

index

integer giving the index of the node

name

string giving name of node

values

vector of strings giving names of values of node. This must be length 2.

pvals

vector specifying number of values for each parent of node. This must be length 1

params

matrix specifying parameters of node: The relevant value of the parent as a 1x1 matrix.

Value

constructed flag node


mickash/Adaptive-Bayesian-Networks documentation built on Nov. 14, 2019, 12:14 a.m.