p_flip: Flip-probability

Description Usage Arguments

Description

This function is used to simulate Glauber dynamics calculated the probability a randomly selected node to flip to another state (e.g. -1 -> 1)

Usage

1
p_flip(tau, omega, X, g, beta = 1)

Arguments

tau

is a vector with a threshold for each node

omega

is a (symmetrical) matrix with the strength of connection between each nodes. Set the the diagonal to zero.

X

is a configuration of the network (e.g. if there are three nodes, c(-1,1,-1))

g

is a node pciked at random

beta

is the dependency parameter in the Ising model


BenjiUvA/Learning_Ising_Model documentation built on June 8, 2019, 3:44 a.m.