Find a node in a Graph that minimizes the distance between two other nodes

Posted by Andrés on Stack Overflow See other posts from Stack Overflow or by Andrés
Published on 2012-11-13T04:44:15Z Indexed on 2012/11/13 5:00 UTC
Read the original article Hit count: 174

Filed under:
|

Here is the thing. I have a directed weighted graph G, with V vertices and E edges. Given two nodes in the graph, let's say A, and B, and given the weight of an edge A-B denoted as w(A, B), I need to find a node C so that max(w(A, C), w(B, C)) is minimal among all possibilities. By possibilities I mean all the values C can take. I don't know if it is completely clear, if it's not, I'll try to be more precise.

Thanks in advance.

© Stack Overflow or respective owner

Related posts about algorithm

Related posts about graph