simulavr
1.1.0
|
#include <systemclock.h>
Public Member Functions | |
MinHeap () | |
bool | IsEmpty () const |
Key | GetMinimumKey () const |
Value | GetMinimumValue () const |
void | RemoveMinimum () |
bool | ContainsValue (Value v) const |
void | Insert (Key k, Value v) |
void | RemoveMinimumAndInsert (Key k, Value v) |
void | RemoveAtPositionAndInsert (Key k, Value v, unsigned pos) |
Protected Member Functions | |
void | InsertInternal (Key k, Value v, unsigned pos) |
void | RemoveAtPositionAndInsertInternal (Key k, Value v, unsigned pos) |
A heap data structure optimized for obtaining Value of the smallest Key. Example MinHeap<SystemClockOffset, SimulationMember*>.
Definition at line 39 of file systemclock.h.
Definition at line 40 of file systemclock.cpp.
bool MinHeap< Key, Value >::ContainsValue | ( | Value | v | ) | const |
Definition at line 56 of file systemclock.cpp.
Referenced by MinHeap< SystemClockOffset, SimulationMember *>::GetMinimumValue().
|
inline |
Definition at line 44 of file systemclock.h.
|
inline |
Definition at line 45 of file systemclock.h.
|
inline |
Definition at line 48 of file systemclock.h.
|
protected |
Definition at line 68 of file systemclock.cpp.
Referenced by MinHeap< SystemClockOffset, SimulationMember *>::Insert(), and MinHeap< SystemClockOffset, SimulationMember *>::RemoveAtPositionAndInsert().
|
inline |
Definition at line 43 of file systemclock.h.
|
inline |
Definition at line 55 of file systemclock.h.
|
protected |
Definition at line 86 of file systemclock.cpp.
Referenced by MinHeap< SystemClockOffset, SimulationMember *>::RemoveAtPositionAndInsert(), and MinHeap< SystemClockOffset, SimulationMember *>::RemoveMinimumAndInsert().
void MinHeap< Key, Value >::RemoveMinimum | ( | ) |
Definition at line 46 of file systemclock.cpp.
Referenced by MinHeap< SystemClockOffset, SimulationMember *>::GetMinimumValue().
|
inline |
Definition at line 52 of file systemclock.h.