requireSomethingFromEachParent: Require something from each parent.

Description Usage Arguments Value

View source: R/graph-ops.R

Description

Require something from each parent.

Usage

1
2
3
  requireSomethingFromEachParent(numberOfNodes, nodesSeq,
    possibleParents, change, descendantsList,
    currentNetwork, maxIndegree)

Arguments

numberOfNodes

The number of nodes

nodesSeq

A sequence 1:numberOfNodes

possibleParents

The output of getPossibleParents

change

A numeric vector, containing the nodes whose parents are to be changed.

descendantsList

The output of allDescendants

currentNetwork

A list, containing in the first position the starting bn, and in the second position the routes matrix for that BN.

maxIndegree

Maximum indegree

Value

A list


rjbgoudie/structmcmc documentation built on Nov. 3, 2020, 3:41 a.m.