Method ADT.Priority_queue()->adjust_pri()
- Method adjust_pri
voidadjust_pri(mixedhandle,int|floatnew_pri)- Description
Adjust the priority value
new_priof an elementhandlein the priority queue. The priority queue will automatically sort itself so that the element with the smallest priority value will be at the top.