igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [igraph] Shortest path with highest weights


From: Matteo Fortini
Subject: Re: [igraph] Shortest path with highest weights
Date: Mon, 05 Jan 2015 21:59:22 +0000

Very good catch thank you


Il giorno lun 5 gen 2015 22:58 Tamas Nepusz <address@hidden> ha scritto:
> Plus, you need to make sure that the graph has no cycles to be able to use
> the shortest path algorithm to get the longest path
In this case I think it's not necessary -- since all the probabilities are less
than or equal to 1, their logarithms will be all negative or zero. Then we
negate the logarithms, making them all non-negative, so in the end you have
a graph with non-negative weights only. Let me know if I misunderstood
something.

T.

_______________________________________________
igraph-help mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/igraph-help

reply via email to

[Prev in Thread] Current Thread [Next in Thread]