Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
mazebot-crystal
master
Top Level Namespace
Mazebot
Dijkstra
ExampleSolution
Graph
Maze
Node
NodeData
PriorityQueue
SolutionResponse
Built with Crystal 1.9.2
2023-10-07 11:12:52 UTC
class
Mazebot::Graph
Mazebot::Graph
Reference
Object
Defined in:
mazebot/graph.cr
Constructors
.from
(maze : Mazebot::Maze) :
self
Instance Method Summary
#add_node
(data : Mazebot::NodeData)
#nodes
: Array(Mazebot::Node)
Constructor Detail
def self.
from
(maze :
Mazebot::Maze
) :
self
#
[
View source
]
Instance Method Detail
def
add_node
(data :
Mazebot::NodeData
)
#
[
View source
]
def
nodes
: Array(
Mazebot::Node
)
#
[
View source
]