solveMaze: Solve Maze

Description Usage Arguments Value Examples

Description

Solves a maze given the maze and the distance matrix

Usage

1
solveMaze(maze, dist)

Arguments

maze

a maze object

dist

a distance matrix

Value

a matrix with the solution which can pe ploted

Examples

1
2
3
maze <- makeMazeBinary()
d <- distance(maze)
solveMaze(maze, d)

Ziegelsteintom/rmazing documentation built on May 10, 2019, 1:58 a.m.