make_maze: Generate a square maze

Description Usage Arguments Value Examples

Description

Generate a square maze of the specified dimentions using a specified weight function.

Usage

1
make_maze(nrow = 1, ncol = 1, weight.fun = "rnorm")

Arguments

nrow

number of rows.

ncol

number of columns.

weight.fun

weight function.

Value

An object of class igraph. A minimum spaning tree.

Examples

1
make_maze(2, 2)

ddiez/maze documentation built on May 15, 2019, 1:51 a.m.