samplecycles: Samples n cycles and alters the random state accordingly

Description Usage Arguments Value

Description

Samples n cycles and alters the random state accordingly

Usage

1
samplecycles(n, bft, depth, idx, idx0, triplets, randomstate)

Arguments

n

Number of cycles to sample

bft

Spannig tree.

depth

depth of the items in spanning tree.

idx

Triplet indices of the links in spanning tree.

idx0

Vector of cycle links that do not appear in the spanning tree.

triplets

nX2 matrix of triplest (links)

randomstate

Current random state.

Value

New random state.


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