Arguments
Sall
Structure of all segments. A list of length q
, where each
element is a K_i
by q
matrix containing the parents for the
current node in each of the K_i
segments.
Eall
Positions of segment boundaries. A list of length q
,
where each element is a vector containing the segment boundaries for the
current parent node.
prior.params
The hyperparameters of the information sharing prior (if
applicable).
posPhase
The segment being changed.
target
The target parent node whose edge is being changed.
q
The total number of nodes in the network.
self.loops
Whether self-loops are allowed in the network.
k
The level-2 hyperparameter for the exponential prior.