471,089 Members | 1,229 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,089 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 5009
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

38 posts views Thread by Aaron W. LaFramboise | last post: by
5 posts views Thread by Dan H. | last post: by
4 posts views Thread by vfunc | last post: by
3 posts views Thread by Chris Lasher | last post: by
4 posts views Thread by jjh5030 | last post: by

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.