Skip to contents

A single move proposal during an MCMC sweep

Usage

propose_move(curr_v, G, p, block.edges, eps = 1)

Arguments

curr_v

A node in graph.

G

An igraph graph.

p

Vector of integer values giving the block membership of each vertex

block.edges

a list of all incident edge ids per block

eps

(optional) A number controlling the randomness of moves.

Value

A new group membership for vertex.