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

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.
 
 Heap_Float_MRGraphVertId_StdGreaterFloat (Const_Heap_Float_MRGraphVertId_StdGreaterFloat _other)
 Generated from constructor MR.Heap<float, MR.GraphVertId, std.greater<float>>::Heap.
 
 Heap_Float_MRGraphVertId_StdGreaterFloat (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.
 

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 non-const half of the class.

Constructor & Destructor Documentation

◆ Heap_Float_MRGraphVertId_StdGreaterFloat() [1/5]

unsafe MR.Heap_Float_MRGraphVertId_StdGreaterFloat.Heap_Float_MRGraphVertId_StdGreaterFloat ( MR._ByValue_Heap_Float_MRGraphVertId_StdGreaterFloat _other)
inline

Generated from constructor MR.Heap<float, MR.GraphVertId, std.greater<float>>::Heap.

◆ Heap_Float_MRGraphVertId_StdGreaterFloat() [2/5]

MR.Heap_Float_MRGraphVertId_StdGreaterFloat.Heap_Float_MRGraphVertId_StdGreaterFloat ( Const_Heap_Float_MRGraphVertId_StdGreaterFloat _other)
inline

Generated from constructor MR.Heap<float, MR.GraphVertId, std.greater<float>>::Heap.

◆ Heap_Float_MRGraphVertId_StdGreaterFloat() [3/5]

MR.Heap_Float_MRGraphVertId_StdGreaterFloat.Heap_Float_MRGraphVertId_StdGreaterFloat ( Heap_Float_MRGraphVertId_StdGreaterFloat _other)
inline

Generated from constructor MR.Heap<float, MR.GraphVertId, std.greater<float>>::Heap.

◆ Heap_Float_MRGraphVertId_StdGreaterFloat() [4/5]

unsafe MR.Heap_Float_MRGraphVertId_StdGreaterFloat.Heap_Float_MRGraphVertId_StdGreaterFloat ( ulong size,
float? def = null,
MR.Std.Greater_Float pred = default )
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 {}.

◆ Heap_Float_MRGraphVertId_StdGreaterFloat() [5/5]

unsafe MR.Heap_Float_MRGraphVertId_StdGreaterFloat.Heap_Float_MRGraphVertId_StdGreaterFloat ( MR.Std._ByValue_Vector_MRHeapFloatMRGraphVertIdStdGreaterFloatElement elms,
MR.Std.Greater_Float pred = default )
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.

Member Function Documentation

◆ assign()

unsafe MR.Heap_Float_MRGraphVertId_StdGreaterFloat MR.Heap_Float_MRGraphVertId_StdGreaterFloat.assign ( MR._ByValue_Heap_Float_MRGraphVertId_StdGreaterFloat _other)
inline

Generated from method MR.Heap<float, MR.GraphVertId, std.greater<float>>::operator=.

◆ resize()

unsafe void MR.Heap_Float_MRGraphVertId_StdGreaterFloat.resize ( ulong size,
float? def = null )
inline

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

◆ setLargerValue()

unsafe void MR.Heap_Float_MRGraphVertId_StdGreaterFloat.setLargerValue ( MR.GraphVertId elemId,
float newVal )
inline

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.

◆ setSmallerValue()

unsafe void MR.Heap_Float_MRGraphVertId_StdGreaterFloat.setSmallerValue ( MR.GraphVertId elemId,
float newVal )
inline

Generated from method MR.Heap<float, MR.GraphVertId, std.greater<float>>::setSmallerValue.

◆ setTopValue()

unsafe MR.Heap_Float_MRGraphVertId_StdGreaterFloat.Element MR.Heap_Float_MRGraphVertId_StdGreaterFloat.setTopValue ( float newVal)
inline

sets new value to the current top element, returning its previous value Generated from method MR.Heap<float, MR.GraphVertId, std.greater<float>>::setTopValue.

◆ setValue()

unsafe void MR.Heap_Float_MRGraphVertId_StdGreaterFloat.setValue ( MR.GraphVertId elemId,
float newVal )
inline

sets new value to given element Generated from method MR.Heap<float, MR.GraphVertId, std.greater<float>>::setValue.


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