hello
I read somewhere about priority queue...what is that and Vb net have such
class?
--
Ceers,
Crirus
------------------------------
If work were a good thing, the boss would take it all from you
------------------------------
Nov 20 '05
16 5418
LOL,
Now you're in trouble Herfied ! :0
OHM
Crirus wrote: Tell me more please....
"Herfried K. Wagner [MVP]" <hi************ ***@gmx.at> wrote in message news:bp******** *****@ID-208219.news.uni-berlin.de... * "Cor" <no*@non.com> scripsit: As well processpriority as thread priority, There is a lot of information and examples on MSDN
I read somewhere about priority queue...what is that and Vb net have such class?
A priority queue is a data structure, often implemented with a heap.
-- Herfried K. Wagner [MVP] <http://www.mvps.org/dotnet>
* "Cor" <no*@non.com> scripsit: Hi Herfried an Crirus
When you look for "priority queue" on Google you get the answer about the priority thread and priority process. (I did that before I saw this message and after I got your first message about this).
On Google it has to be "priority queue Win32 Heap" or something
<http://www.google.de/search?q=%22pri ority+queue%22+ VB.NET&ie=UTF-8>
2nd result when googleing on ""priority queue" VB.NET".
--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
* "One Handed Man" <Bo****@Duck.ne t> scripsit: LOL,
Now you're in trouble Herfied ! :0
LOL too.
--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Hi Herfried,
Why are you always giving answers on not asked questions that seems if you
did told so. When you look for "priority queue" on Google you get the answer about
the priority thread and priority process. (I did that before I saw this
message and after I got your first message about this).
2nd result when googleing on ""priority queue" VB.NET".
You said "priority queue" C#
By the way, with this search sentence is it the first one in the internatiol
search
But I win again therefore :-))
Cor
On Mon, 24 Nov 2003 14:58:14 +0200, Crirus wrote: Well you just told me now :)
Thanks for that link..do you have an engine to search for links?:) you seems to have one for each answer
Go to your local college or university bookstore (or Amazon) (or
<favoritebookse llerhere>) and get a text on Data Structures. Any good one
will explain this data structure and how to implement it, plus many others.
That was one of the best classes I ever took.
--
Chris
To send me an E-mail, remove the underscores and lunchmeat from my E-Mail
address.
Hi
I you have a sample, please post here
thanks
"Chris Dunaway" <dunawayc@_lunc hmeat_sbcglobal .net> wrote in message
news:11******** *************** *******@40tude. net... On Mon, 24 Nov 2003 14:58:14 +0200, Crirus wrote:
Well you just told me now :)
Thanks for that link..do you have an engine to search for links?:) you seems to have one for each answer Go to your local college or university bookstore (or Amazon) (or <favoritebookse llerhere>) and get a text on Data Structures. Any good one will explain this data structure and how to implement it, plus many
others. That was one of the best classes I ever took.
-- Chris
To send me an E-mail, remove the underscores and lunchmeat from my E-Mail address.
* "Cor" <no*@non.com> scripsit: Why are you always giving answers on not asked questions that seems if you did told so.
:-~ priority thread and priority process. (I did that before I saw this message and after I got your first message about this).
2nd result when googleing on ""priority queue" VB.NET".
You said "priority queue" C#
Sorry, I remembered the wrong keywords...
But I win again therefore :-))
:-)))
EOT
--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet> This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Aaron W. LaFramboise |
last post by:
Hello,
I understand that an easy way to make the standard std::priority_queue
stable is by including an integer stamp with each node that is
incremented each time a new node is pushed into the queue. However, no
matter what reasonably-sized type I use for the stamp, eventually the
stamp will 'wrap around' and possibly cause incorrect ordering of
elements. For my application, which queues elements very quickly and
runs for an...
|
by: Dan H. |
last post by:
Hello,
I have implemented a C# priority queue using an ArrayList. The objects
being inserted into the priority queue are being sorted by 2 fields, Time
(ulong) and Priority (0-100).
When I enqueue, I do a binary search on where to put the object and then
insert using that index and arraylist.insert(index, obj)
The bottom of my arraylist is always my lowest, therefore, dequeueing is
very fast and effecient.
|
by: Erik |
last post by:
Hi Everyone,
I was thinking of how to do this for a while now and I cant get my
head round it so I though I'd ask the experts! :-)
What I am doing is reading in large amounts of data over TCP and
saving it to disk. I receive alot of data from alot of clients so I do
all this without processing the data.
When a piece of data from a client has been completed I want to do
|
by: vfunc |
last post by:
Is the STL priority queue a proper implementation of a heap with siftup
algorithm etc ? How do you implement an STL priority queue (link to an
example) ? Is there a resort method, why ?
Thanks
|
by: Chris Lasher |
last post by:
Hello,
I am working with large graphs (~150,000 to 500,000 nodes) which I
need decompose node-by-node, in order of a node's value. A node's
value is determined by the sum of its edge weights. When a node is
removed from the graph, its neighbors' values must be updated to take
into account the removed edges.
I was told to look for a priority queue in Python. I had a look at the
heapq module. It looks like it supports ordering on...
| |
by: PicO |
last post by:
i need some explanation about the difference between priority queue &
set & heap ... as they all sort the data in ( n log n ) ... but the
only i see that priority queue only can pop the top ( maximum
element ) while set and heap can erase any element ...
|
by: operatingsystem |
last post by:
I need to generate such scheduler in operating system subject which satisfy below conditions...may i request u if anybody knows abt this plz help me out in this..topics..
Scheduler specifications:
1. Three queues, highest priority to lowest:
RR
SJF
FIFO
2. All jobs enter RR
3. Job at lower queue cannot execute until higher priority queue is empty
|
by: jjh5030 |
last post by:
This is a programming assignment. You are asked to work with pointers.
Be aware that error messages are often not very helpful when your
pointers
point to bad locations. Therefore, reserve additional time for
debugging.
Implement a data structure Extended Queue using pointers. In addition
to the usual queue operations Enqueue(x), Dequeue and the trivial
operations
Make-empty-queue and the Is-empty test, you are asked to have
two...
|
by: AlarV |
last post by:
Hello everyone, here is my problem. I have to make a dynamic priority queue,which is a heap, and my book isn't helpful at all, so I have no clues on how to create it.. I read something like a static priority queue, which is an array heap, and for example i/2 is the father of i and so on..
the code of the static priority queue is this:
int i= ++CurrentSize;
while(i != 1 && X > heap) {
// cannot put x in heap
heap = heap; //move...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
| |
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |