transposeEdgeIsAddable: Find togglable edges.

Description Usage Arguments Value See Also

View source: R/mcmc-mh.R

Description

Finds "edge-locations" in the graph that can be added or removed without introducing a cycle into the graph

Usage

1
2
  transposeEdgeIsAddable(routes, adjacency, constraintT,
    maxNumberParents)

Arguments

routes

The routes matrix of the network

adjacency

The adjacency matrix of the network

constraintT

The transpose of a constraint matrix

maxNumberParents

Integer of length 1. The maximum number of parents of any node.

Value

A logical matrix of the same dimension as the supplied matrices, with entries indicating whether the corresponding edge can be added or removed without introducing a cycle. NOTE THIS IS TRANSPOSE OF EXPECTED

See Also

BNSampler, transposeEdgeIsRemovable, transposeEdgeIsTogglable, edgeIsFlippable


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