Class ADT.Priority_queue()->Element
- Description
Priority queue element.
- Inherit
this_program
inherit ::this_program(<>) : this_programValueType
- Variable
pri
int|floatADT.Priority_queue.Element.pri- Description
Priority.
Elements with lower priority are returned by pop() and peek() before elements with higher.
- Note
Do NOT alter directly! Use set_pri() or adjust_pri().
- See also