MCPcopy Create free account
hub / github.com/arnauddri/algorithms / NewMax

Function NewMax

data-structures/priority-queue/priority_queue.go:28–32  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

26}
27
28func NewMax() (q *PQ) {
29 return &PQ{
30 data: *heap.NewMax(),
31 }
32}
33
34func NewMin() (q *PQ) {
35 return &PQ{

Callers 2

TestMaxPriorityQueueFunction · 0.70
TestChangePriorityFunction · 0.70

Calls

no outgoing calls

Tested by 2

TestMaxPriorityQueueFunction · 0.56
TestChangePriorityFunction · 0.56