[algogeeks] Re: Graph Theory+ DP

2011-01-21 Thread juver++
Yes, you are right -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit

[algogeeks] Re: Graph Theory Problem

2010-11-06 Thread Khaled Elsayed
Thanks for the pointer. It is not the exact problem I am trying to solve but should give me a good start.  Topic: Graph Theory Problem Raj Nov 05 03:11AM -0700 ^   http://en.wikipedia.org/wiki/Graph_partition     -- You received this message because you are sub

[algogeeks] Re: Graph Theory Problem

2010-11-05 Thread Raj
http://en.wikipedia.org/wiki/Graph_partition On Nov 4, 2:23 pm, khaled wrote: > I have the following graph problem. I would appreciate if some graph > theory expert points me to what is the scientific name under which it > is known in graph theory. > > Given a directed graph G=(V,E,W) where W is

[algogeeks] Re: graph theory

2007-08-24 Thread TheTravellingSalesman
Since it s a DAG, just multiply all the edge weights by -1. Then use dijkstra's to find the min shortest path. Wether some of the edge weights are negative or not, it shouldn't effect the solution as when using dijkstra's, we take the min node potentials. ,--- This can be proven On Aug

[algogeeks] Re: graph theory

2007-08-20 Thread Vineeth Kashyap
On Jun 24, 10:05 am, pramod <[EMAIL PROTECTED]> wrote: > For DAGs I don't think there's a unique path from a start vertex to > each vertex reachable from it. There could be many paths. > > One way to solve this problem is to topologically sort the DAG and > start from the end and move backwards

[algogeeks] Re: graph theory

2007-06-24 Thread Muntasir Azam Khan
pramod wrote: > For DAGs I don't think there's a unique path from a start vertex to > each vertex reachable from it. There could be many paths. Yes, for a DAG there certainly can be multiple paths to the same node. I'm afraid I kept forgetting that a DAG is not the same as a tree. Thank you for

[algogeeks] Re: graph theory

2007-06-23 Thread pramod
For DAGs I don't think there's a unique path from a start vertex to each vertex reachable from it. There could be many paths. One way to solve this problem is to topologically sort the DAG and start from the end and move backwards till the start vertex and keep track of the longest path. The last

[algogeeks] Re: graph theory

2007-06-23 Thread Muntasir Azam Khan
kunzmilan wrote: > On Jun 20, 10:40 am, mirchi <[EMAIL PROTECTED]> wrote: > > can anyone please tell me how to find > > single source longest path in a directed acyclic graph?? > Write its adjacency matrix A(ij) = 1, if arc i to j exists, 0 > otherwise. > Find the consecutive powers A^k. > When a

[algogeeks] Re: graph theory

2007-06-22 Thread kunzmilan
On Jun 20, 10:40 am, mirchi <[EMAIL PROTECTED]> wrote: > can anyone please tell me how to find > single source longest path in a directed acyclic graph?? Write its adjacency matrix A(ij) = 1, if arc i to j exists, 0 otherwise. Find the consecutive powers A^k. When a new nonzero element appears i

[algogeeks] Re: graph theory

2007-06-22 Thread Muntasir Azam Khan
>No, longest path isn't that easy. We can find the Halminton path as well as >the longest path, but... That's right. I misread the question. I thought the shortest path was being asked for. But, since the graph is a DAG, this is actually an easier problem. There is a unique path from the sourc

[algogeeks] Re: graph theory

2007-06-21 Thread Yingjie Xu
No, longest path isn't that easy. We can find the Halminton path as well as the longest path, but... On 6/20/07, Muntasir Khan <[EMAIL PROTECTED]> wrote: > > On 6/20/07, mirchi <[EMAIL PROTECTED]> wrote: > > > > > > can anyone please tell me how to find > > single source longest path in a directed

[algogeeks] Re: graph theory

2007-06-20 Thread Muntasir Khan
On 6/20/07, mirchi <[EMAIL PROTECTED]> wrote: > > > can anyone please tell me how to find > single source longest path in a directed acyclic graph?? > > > > > If all edges are non-negative, you can use Dijkstra's Algorithm. Otherwise a simple Bellman-Ford should do. But if you are looking for somet

[algogeeks] Re: Graph Theory

2006-04-20 Thread Deepak Manohar
Introduction to Graph Theory by Douglas B. West is a good book which covers lots more chapters like maximal Matching(A more mathematical approach)On 4/20/06, BiGYaN <[EMAIL PROTECTED]> wrote: Graph Theoryby, N. DeoIt is a nice book covering almost the entire subject from ground up.And yes, you don

[algogeeks] Re: Graph Theory

2006-04-20 Thread BiGYaN
Graph Theory by, N. Deo It is a nice book covering almost the entire subject from ground up. And yes, you don't have to be a CS Major to read this. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Algorithm Geeks"

[algogeeks] Re: Graph Theory

2006-04-19 Thread Narek Saribekyan
Hi, Introcuction to Algorithms - Thomas H. Cormen, Charles E. Leiserson, Ronald L. Rivest - this is really very useful one. Also, I can send you a good text regarding to graph theory if you want. --~--~-~--~~~---~--~~ You received this message because you are subs