| genRandomSpanningTrees {mcMST} | R Documentation |
Generate a set of random spanning trees.
Description
Generate a set of random spanning trees of a graph given the number of nodes of the problem instance.
Usage
genRandomSpanningTrees(m, n, type = "pruefer", simplify = TRUE)
Arguments
m |
[ |
n |
[ |
type |
[ |
simplify |
[ |
Value
[list | matrix] Result type depends on simplify
and type.
Examples
genRandomSpanningTrees(3, 10)
genRandomSpanningTrees(3, 10, simplify = FALSE)
genRandomSpanningTrees(3, 10, type = "edgelist")
[Package mcMST version 1.1.1 Index]