cyclesampler: Cyclesampler object.

Description Usage Arguments Value

Description

Cyclesampler object.

Usage

1
2
cyclesampler(data, a = rep(0, dim(data)[1]), b = rep(1, dim(data)[1]),
  useC = TRUE, nukezeros = TRUE)

Arguments

data

n X 3 matrix containing triplets (first 2 columns and the random state (data[, 3]). The data matrix should be normalized so that the row and column indices are continous, i.e., there is no node to which there are no links.

Value

Returns two function $getstate() that gives the current random state and $samplecycles(n) that samples n cycles.


edahelsinki/cyclesampler documentation built on June 9, 2019, 10:51 a.m.