Wolfram Language
Paclet Repository
Community-contributed installable additions to the Wolfram Language
Primary Navigation
Categories
Cloud & Deployment
Core Language & Structure
Data Manipulation & Analysis
Engineering Data & Computation
External Interfaces & Connections
Financial Data & Computation
Geographic Data & Computation
Geometry
Graphs & Networks
Higher Mathematical Computation
Images
Knowledge Representation & Natural Language
Machine Learning
Notebook Documents & Presentation
Scientific and Medical Data & Computation
Social, Cultural & Linguistic Data
Strings & Text
Symbolic & Numeric Computation
System Operation & Setup
Time-Related Computation
User Interface Construction
Visualization & Graphics
Random Paclet
Alphabetical List
Using Paclets
Create a Paclet
Get Started
Download Definition Notebook
Learn More about
Wolfram Language
NewMazePaclet
Guides
NewMazePaclet
Tech Notes
NewMazePaclet
Symbols
EquilateralTriangleGraph
HexagonalGridGraph
MakeMaze
PositiveIntegerQ
ReduceGraph
SolveMaze
TriangularGridGraph
VertexCoordinateList
PeterBurbery`NewMazePaclet`
R
e
d
u
c
e
G
r
a
p
h
R
e
d
u
c
e
G
r
a
p
h
[
u
g
r
a
p
h
]
c
o
n
t
r
a
c
t
s
v
e
r
t
i
c
e
s
w
i
t
h
a
v
e
r
t
e
x
d
e
g
r
e
e
o
f
2
i
n
t
h
e
u
n
d
i
r
e
c
t
e
d
g
r
a
p
h
u
g
r
a
p
h
.
R
e
d
u
c
e
G
r
a
p
h
[
d
g
r
a
p
h
]
c
o
n
t
r
a
c
t
s
v
e
r
t
i
c
e
s
w
i
t
h
a
n
i
n
d
e
g
r
e
e
o
f
1
a
n
d
o
u
t
d
e
g
r
e
e
o
f
1
i
n
t
h
e
d
i
r
e
c
t
e
d
g
r
a
p
h
d
g
r
a
p
h
.
Examples
(
1
)
Basic Examples
(
1
)
Generate a few mazes:
I
n
[
1
]
:
=
t
r
i
a
n
g
u
l
a
r
M
a
z
e
s
=
T
a
b
l
e
M
a
k
e
M
a
z
e
T
r
i
a
n
g
u
l
a
r
G
r
i
d
G
r
a
p
h
[
{
8
,
8
}
]
,
4
O
u
t
[
1
]
=
,
,
,
Analyze the mazes as trees.
I
n
[
2
]
:
=
A
s
s
o
c
i
a
t
i
o
n
M
a
p
R
e
d
u
c
e
G
r
a
p
h
[
t
r
i
a
n
g
u
l
a
r
M
a
z
e
s
]
O
u
t
[
2
]
=
,
,
,
Make a dataset:
I
n
[
3
]
:
=
d
a
t
a
=
D
a
t
a
s
e
t
A
s
s
o
c
i
a
t
i
o
n
M
a
p
R
e
d
u
c
e
G
r
a
p
h
[
t
r
i
a
n
g
u
l
a
r
M
a
z
e
s
]
O
u
t
[
3
]
=
Make trees:
I
n
[
4
]
:
=
G
r
a
p
h
T
r
e
e
/
@
d
a
t
a
O
u
t
[
4
]
=
Sort the trees by depth.