transposeEdgeIsRemovable: 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
  transposeEdgeIsRemovable(routes, adjacency, constraintT)

Arguments

routes

The routes matrix of the network

adjacency

The adjacency matrix of the network

constraintT

The transpose of a constraint matrix

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, transposeEdgeIsAddable, transposeEdgeIsTogglable, edgeIsFlippable


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