stores map from element id in[0, size) to T; More...
Inheritance diagram for MR.Heap_Float_MRGraphVertId_StdGreaterFloat:Public Member Functions | |
| unsafe | Heap_Float_MRGraphVertId_StdGreaterFloat (MR._ByValue_Heap_Float_MRGraphVertId_StdGreaterFloat _other) |
Generated from constructor MR.Heap<float, MR.GraphVertId, std.greater<float>>::Heap. | |
| unsafe | 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 | 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 MR.Heap_Float_MRGraphVertId_StdGreaterFloat | assign (MR._ByValue_Heap_Float_MRGraphVertId_StdGreaterFloat _other) |
Generated from method MR.Heap<float, MR.GraphVertId, std.greater<float>>::operator=. | |
| unsafe void | resize (ulong size, float? def=null) |
increases the size of the heap by adding elements at the end Generated from method MR.Heap<float, MR.GraphVertId, std.greater<float>>::resize. Parameter def defaults to {}. | |
| unsafe void | setValue (MR.GraphVertId elemId, float newVal) |
sets new value to given element Generated from method MR.Heap<float, MR.GraphVertId, std.greater<float>>::setValue. | |
| unsafe void | setLargerValue (MR.GraphVertId elemId, float newVal) |
sets new value to given element, which shall be larger/smaller than the current value Generated from method MR.Heap<float, MR.GraphVertId, std.greater<float>>::setLargerValue. | |
| unsafe void | setSmallerValue (MR.GraphVertId elemId, float newVal) |
Generated from method MR.Heap<float, MR.GraphVertId, std.greater<float>>::setSmallerValue. | |
| unsafe MR.Heap_Float_MRGraphVertId_StdGreaterFloat.Element | setTopValue (float newVal) |
sets new value to the current top element, returning its previous value Generated from method MR.Heap<float, MR.GraphVertId, std.greater<float>>::setTopValue. | |
Public Member Functions inherited from MR.Const_Heap_Float_MRGraphVertId_StdGreaterFloat | |
| virtual void | Dispose () |
| 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. | |
| 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. | |
Additional Inherited Members | |
Protected Member Functions inherited from MR.Const_Heap_Float_MRGraphVertId_StdGreaterFloat | |
| virtual unsafe void | Dispose (bool disposing) |
Protected Attributes inherited from MR.Misc.Object< Const_Heap_Float_MRGraphVertId_StdGreaterFloat > | |
| bool | _IsOwningVal |
Properties inherited from MR.Misc.Object< Const_Heap_Float_MRGraphVertId_StdGreaterFloat > | |
| virtual bool | _IsOwning [get] |
| Returns true if this is an owning instance, and when disposed, will destroy the underlying C++ instance. If false, we assume that the underlying C++ instance will live long enough. | |
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 non-const half of the class.