473,395 Members | 1,443 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Priority queue

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 #1
16 5348
Cor
Hi Crirus,

As well processpriority as thread priority,
There is a lot of information and examples on MSDN

Cor
I read somewhere about priority queue...what is that and Vb net have such
class?

Nov 20 '05 #2
No, I mean a class that is a collection of objects... I heard about it from
a C programmer, but I have no ideea what is that and how it work

--
Ceers,
Crirus

------------------------------
If work were a good thing, the boss would take it all from you

------------------------------

"Cor" <no*@non.com> wrote in message
news:uu**************@TK2MSFTNGP12.phx.gbl...
Hi Crirus,

As well processpriority as thread priority,
There is a lot of information and examples on MSDN

Cor
I read somewhere about priority queue...what is that and Vb net have such class?


Nov 20 '05 #3
* "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>
Nov 20 '05 #4
Tell me more please....

--
Ceers,
Crirus

------------------------------
If work were a good thing, the boss would take it all from you

------------------------------

"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>

Nov 20 '05 #5
* "Crirus" <Cr****@datagroup.ro> scripsit:
Tell me more please....


If I would know more I would have told it...

<http://www.vb-helper.com/algorithms_in_vb_net.html>

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #6
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

--
Ceers,
Crirus

------------------------------
If work were a good thing, the boss would take it all from you

------------------------------

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:bp*************@ID-208219.news.uni-berlin.de...
* "Crirus" <Cr****@datagroup.ro> scripsit:
Tell me more please....


If I would know more I would have told it...

<http://www.vb-helper.com/algorithms_in_vb_net.html>

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>

Nov 20 '05 #7
* "Crirus" <Cr****@datagroup.ro> scripsit:
Thanks for that link..do you have an engine to search for links?:)
you seems to have one for each answer


Google.com -> ""priority queue" C#", AFAIR.

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #8
Cor
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

But it is all push and pull in memory, what you want to do with that in
VB.net?

Cor
Thanks for that link..do you have an engine to search for links?:)
you seems to have one for each answer

Nov 20 '05 #9
I need for A star path finding algorithm
I have 2nodes collections called open and closed
Each node has a value attached to it.

I search the nodes for shortest distance between two nodes, meaning the
smalles sum of values attached

I have to select te best node(smallest value) from open list and Priority
queue give me that faster than a ArrayList, where I have to loop through all
nodes to see the best...
--
Ceers,
Crirus

------------------------------
If work were a good thing, the boss would take it all from you

------------------------------

"Cor" <no*@non.com> wrote in message
news:um****************@TK2MSFTNGP10.phx.gbl...
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

But it is all push and pull in memory, what you want to do with that in
VB.net?

Cor
Thanks for that link..do you have an engine to search for links?:)
you seems to have one for each answer


Nov 20 '05 #10
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>

Nov 20 '05 #11
* "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=%22priority+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>
Nov 20 '05 #12
* "One Handed Man" <Bo****@Duck.net> scripsit:
LOL,

Now you're in trouble Herfied ! :0


LOL too.

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #13
Cor
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
Nov 20 '05 #14
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
<favoritebooksellerhere>) 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.
Nov 20 '05 #15
Hi
I you have a sample, please post here

thanks

"Chris Dunaway" <dunawayc@_lunchmeat_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
<favoritebooksellerhere>) 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.

Nov 20 '05 #16
* "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>
Nov 20 '05 #17

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

38
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...
5
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...
3
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...
4
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
3
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....
3
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 (...
1
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...
4
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...
14
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.