I want to implement priority queue using STL.
Basically I want to use it for storing states(array of size k) sorted according cost.
Which standard template is useful for me?
I want to implement Insert, GetMin(based on cost), Isempty operations on the priority queue.
Any help syntax would also be very helpful.