Closed jnfoster closed 10 years ago
Depends on frenetic-lang/ocaml-openflow#47, which hasn't been merged in yet due to pending comments. This is breaking the frenetic build right now.
Looks like frenetic-lang/ocaml-openflow#47 has been successfully merged, but the Frenetic build seems to still be failing?
@basus This should be cleared up next time somebody pushes to frenetic-lang/frenetic.
The old version of
floyd_warshall
used the number of hops as a proxy for cost. These commits introduce a new version that uses thecost
element of theLink.t
record instead.It also adds a
unit_cost
function that returns a copy of a topology with unit costs.Hence, to recover the old functionality, one can call
floyd_warshall
onunit_cost t
.