Let's call A B C D the nodes of the shortest path.edges between each node have a property (let's call it "rate" so "r")A-B rAB=1.2B-C rBC=1.3C-D rCD=1.1Distance between A and D is: rAB * rBC * rCD (and not plus)
Hello,I'm beginner with graph theory.and this is the first time I'm trying to use NetworkX...but I know Python quite well.I'm using a MultiGraph to model my problem.I would like to determine shortest path between two nodes...I will give you a sample to explain the "special norm" I'm looking for...
Let's call A B C D the nodes of the shortest path.edges between each node have a property (let's call it "rate" so "r")A-B rAB=1.2B-C rBC=1.3C-D rCD=1.1Distance between A and D is: rAB * rBC * rCD (and not plus)
What I call shortest path... is in fact "maximum" distanceI want to find the path to get the bigger number for product of rates(and not adding distance)I don't know how to tackle this problem...I hope someone here can help me.Kind regardsN3wbi3PS : I ever have some python code to define my problemand I also output a dot file to draw my MultiGraph with GraphViz
--
You received this message because you are subscribed to the Google Groups "networkx-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to networkx-discu...@googlegroups.com.
To post to this group, send email to networkx...@googlegroups.com.
Visit this group at http://groups.google.com/group/networkx-discuss?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.