Rev Language Reference


mvGraphFlipEdge

Usage

mvGraphFlipEdge(MatrixRealSymmetric x, Probability p, Natural[][] edges, Bool tune, RealPos weight, Probability tuneTarget)

Arguments

x : MatrixRealSymmetric (<stochastic> pass by reference)
The variable on which this move operates.
p : Probability (pass by value)
The probability of flipping each edge in edges (min flips == 1).
Default : 0
edges : Natural[][] (pass by reference)
A vector of [i,j] edges to target with this proposal. An empty vector is interpretted as the full list of edges.
Default : [ ]
tune : Bool (pass by value)
Should we tune the scaling factor during burnin?
Default : TRUE
weight : RealPos (pass by value)
The weight how often on average this move will be used per iteration.
Default : 1
tuneTarget : Probability (pass by value)
The acceptance probability targeted by auto-tuning.
Default : 0.44