MeshLib C# Docs
Loading...
Searching...
No Matches
MR.Const_Heap_Float_MRGraphVertId_StdGreaterFloat Class Reference

stores map from element id in[0, size) to T; More...

+ Inheritance diagram for MR.Const_Heap_Float_MRGraphVertId_StdGreaterFloat:

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: More...
 
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: More...
 
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._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.
 

Protected Member Functions

virtual unsafe void Dispose (bool disposing)
 

Additional Inherited Members

- 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.
 

Detailed Description

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.


The documentation for this class was generated from the following file: