Method ADT.Priority_queue()->Element()->set_pri()


Method set_pri

void set_pri(int|float p)

Description

Set the priority for the element to p and reorder the queue as appropriate.

See also

adjust_pri()