Kone
Toggle table of contents
0.0.0-experiment
common
Platform filter
common
Switch theme
Search in API
Kone
kone.collections
/
dev.lounres.kone.collections.heap.implementations
/
KoneBinaryGCMinimumHeap
Kone
Binary
GCMinimum
Heap
fun
<
Element
,
Priority
>
KoneBinaryGCMinimumHeap
(
priorityContext
:
Order
<
Priority
>
)
:
KoneBinaryGCMinimumHeap
<
Element
,
Priority
>
(
source
)
inline
fun
<
Element
,
Priority
>
KoneBinaryGCMinimumHeap
(
priorityContext
:
Order
<
Priority
>
,
size
:
UInt
,
elementInitializer
:
(
index
:
UInt
)
->
Element
,
priorityInitializer
:
(
index
:
UInt
)
->
Priority
)
:
KoneBinaryGCMinimumHeap
<
Element
,
Priority
>
(
source
)
inline
fun
<
Element
,
Priority
>
KoneBinaryGCMinimumHeap
(
priorityContext
:
Order
<
Priority
>
,
size
:
UInt
,
heapEntryInitializer
:
(
index
:
UInt
)
->
HeapEntry
<
Element
,
Priority
>
)
:
KoneBinaryGCMinimumHeap
<
Element
,
Priority
>
(
source
)