stores map from element id in[0, size) to T; More...
Classes | |
| class | _InOptConst_Element |
| This is used for optional parameters of class Element with default arguments. This is only used const parameters. For non-const ones we have _InOptMut_Element. Usage: | |
| class | _InOptMut_Element |
| This is used for optional parameters of class Element with default arguments. This is only used mutable parameters. For const ones we have _InOptConst_Element. Usage: | |
| struct | _Underlying |
| class | Const_Element |
| Generated from class MR::Heap<float, MR.GraphVertId, std::greater<float>>Element. This is the const half of the class. More... | |
| class | Element |
| Generated from class MR::Heap<float, MR.GraphVertId, std::greater<float>>Element. This is the non-const half of the class. More... | |
Public Member Functions | |
| virtual void | Dispose () |
| unsafe | Const_Heap_Float_MRGraphVertId_StdGreaterFloat (MR.Std.Greater_Float pred=default) |
| constructs an empty heap Generated from constructor MR::Heap<float, MR.GraphVertId, std::greater<float>>::Heap. | |
| unsafe | Const_Heap_Float_MRGraphVertId_StdGreaterFloat (MR._ByValue_Heap_Float_MRGraphVertId_StdGreaterFloat _other) |
| Generated from constructor MR::Heap<float, MR.GraphVertId, std::greater<float>>::Heap. | |
| Const_Heap_Float_MRGraphVertId_StdGreaterFloat (Const_Heap_Float_MRGraphVertId_StdGreaterFloat _other) | |
| Generated from constructor MR::Heap<float, MR.GraphVertId, std::greater<float>>::Heap. | |
| Const_Heap_Float_MRGraphVertId_StdGreaterFloat (Heap_Float_MRGraphVertId_StdGreaterFloat _other) | |
| Generated from constructor MR::Heap<float, MR.GraphVertId, std::greater<float>>::Heap. | |
| unsafe | Const_Heap_Float_MRGraphVertId_StdGreaterFloat (ulong size, float? def=null, MR.Std.Greater_Float pred=default) |
| constructs heap for given number of elements, assigning given default value to each element Generated from constructor MR::Heap<float, MR.GraphVertId, std::greater<float>>::Heap. Parameter def defaults to {}. | |
| unsafe | Const_Heap_Float_MRGraphVertId_StdGreaterFloat (MR.Std._ByValue_Vector_MRHeapFloatMRGraphVertIdStdGreaterFloatElement elms, MR.Std.Greater_Float pred=default) |
| constructs heap from given elements (id's shall not repeat and have spaces, but can be arbitrary shuffled) Generated from constructor MR::Heap<float, MR.GraphVertId, std::greater<float>>::Heap. | |
| unsafe ulong | size () |
| returns the size of the heap Generated from method MR::Heap<float, MR.GraphVertId, std::greater<float>>size. | |
| unsafe float | value (MR.GraphVertId elemId) |
| returns the value associated with given element Generated from method MR::Heap<float, MR.GraphVertId, std::greater<float>>value. | |
| unsafe MR.Heap_Float_MRGraphVertId_StdGreaterFloat.Const_Element | top () |
| returns the element with the largest value Generated from method MR::Heap<float, MR.GraphVertId, std::greater<float>>top. | |
Static Public Member Functions | |
| static unsafe implicit | operator Const_Heap_Float_MRGraphVertId_StdGreaterFloat (MR.Std.Greater_Float pred) |
| constructs an empty heap Generated from constructor MR::Heap<float, MR.GraphVertId, std::greater<float>>::Heap. | |
Protected Member Functions | |
| virtual unsafe void | Dispose (bool disposing) |
stores map from element id in[0, size) to T;
provides two operations: 1) change the value of any element; 2) find the element with the largest value Generated from class MR::Heap<float, MR.GraphVertId, std::greater<float>>. This is the const half of the class.
|
inline |
constructs an empty heap Generated from constructor MR::Heap<float, MR.GraphVertId, std::greater<float>>::Heap.
|
inline |
Generated from constructor MR::Heap<float, MR.GraphVertId, std::greater<float>>::Heap.
|
inline |
Generated from constructor MR::Heap<float, MR.GraphVertId, std::greater<float>>::Heap.
|
inline |
Generated from constructor MR::Heap<float, MR.GraphVertId, std::greater<float>>::Heap.
|
inline |
constructs heap for given number of elements, assigning given default value to each element Generated from constructor MR::Heap<float, MR.GraphVertId, std::greater<float>>::Heap. Parameter def defaults to {}.
|
inline |
constructs heap from given elements (id's shall not repeat and have spaces, but can be arbitrary shuffled) Generated from constructor MR::Heap<float, MR.GraphVertId, std::greater<float>>::Heap.
|
inlinevirtual |
|
inlineprotectedvirtual |
|
inlinestatic |
constructs an empty heap Generated from constructor MR::Heap<float, MR.GraphVertId, std::greater<float>>::Heap.
|
inline |
returns the size of the heap Generated from method MR::Heap<float, MR.GraphVertId, std::greater<float>>size.
|
inline |
returns the element with the largest value Generated from method MR::Heap<float, MR.GraphVertId, std::greater<float>>top.
|
inline |
returns the value associated with given element Generated from method MR::Heap<float, MR.GraphVertId, std::greater<float>>value.