forked from rolling-scopes-school/priority-queue
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathscore-weight.json
More file actions
38 lines (38 loc) · 706 Bytes
/
Copy pathscore-weight.json
File metadata and controls
38 lines (38 loc) · 706 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{
"Node": {
"weight": 10,
"suitesWeights": {
"#constructor": 10,
"#appendChild": 25,
"#removeChild": 25,
"#remove": 10,
"#swapWithParent": 30
}
},
"MaxHeap": {
"weight": 30,
"suitesWeights": {
"#constructor": 10,
"#push": 10,
"#insertNode": 10,
"#shiftNodeUp": 30,
"#clear": 5,
"#pop": 10,
"#detachRoot": 10,
"#restoreRootFromLastInsertedNode": 10,
"#shiftNodeDown": 30,
"#size": 5,
"#isEmpty": 5
}
},
"PriorityQueue": {
"weight": 60,
"suitesWeights": {
"#constructor": 1,
"#push": 10,
"#shift": 50,
"#size": 1,
"#isEmpty": 1
}
}
}