priority-queue
JMS Priority set by a custom header
Is there a way to prioritize the messages in the JMS broker according to a custom header value? For Example: \"purchase date\". get oldest first et开发者_JS百科c.[详细]
2023-01-02 07:28 分类:问答Efficiency of the STL priority_queue
I have an application (C++) that I think would be well served by an STL priority_queue.The documentation says:[详细]
2023-01-02 01:38 分类:问答priority_queue with dynamic priorities
I have a server application which accepts incomming queries and executes them. If there are too many queries they should be queued and if some of the other queries got executed the queued queries shou[详细]
2023-01-01 10:22 分类:问答Trying to write priority queue in Java but getting "Exception in thread "main" java.lang.ClassCastException"
For my data structure class, I am trying to write a program that simulates a car wash and I want to give fancy cars a higher priority than regular ones using a priority queue. The problem I am having[详细]
2023-01-01 08:54 分类:问答priority queue with limited space: looking for a good algorithm
This is not a homework. I\'m using a small \"priority queue\" (implemented as array at the moment) for storing last N items with smallest value. This is a bit slow - O(N) item insertion time. Current[详细]
2023-01-01 05:51 分类:问答Java - PriorityQueue vs sorted LinkedList
Which implementation is less \"heavy\": PriorityQueue or a sorted LinkedList (using a Comparator)? I want to have all the items sorted. The insertion will be very frequent and ocasionally I will have[详细]
2022-12-31 17:40 分类:问答PHP Priority Queue Implementation
I just finished coding a complex job assignment application where a lot of the work was done开发者_StackOverflow社区 using priority queues. When I deployed, however, I discovered the web server ran PH[详细]
2022-12-28 00:21 分类:问答Priority queue structure used?
While searching for some functions in C++ standard library documentation I read that push and pop for priority queues needs constant time.[详细]
2022-12-26 03:00 分类:问答What happens to my PriorityQueue if my Comparator throws an exception while it's busy bubbling up or down?
I\'m trying order pairs of integers ascendantly where a pair is considered less than another pair if both its entries are strictly less than those of the other pair, and larger than the other pair if[详细]
2022-12-26 00:19 分类:问答A variation of priority queue
I need some kind of priority queue to store pairs &l开发者_JAVA百科t;key, value>. Values are unique, but keys aren\'t. I will be performing the following operations (most common first):[详细]
2022-12-25 15:05 分类:问答