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::PriorityQueue(K, V)
Mazebot::PriorityQueue(K, V)
Reference
Object
Overview
A very simple priority key implementation to help our Dijkstra algorithm.
Defined in:
mazebot/priority_queue.cr
Constructors
.new
Instance Method Summary
#any?
#insert
(key : K, value : V)
#remove_min
Constructor Detail
def self.
new
#
[
View source
]
Instance Method Detail
def
any?
#
[
View source
]
def
insert
(key : K, value : V)
#
[
View source
]
def
remove_min
#
[
View source
]