commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simone Tripodi <simonetrip...@apache.org>
Subject Re: [graph] Why the Vertex and Edge interfaces?
Date Sat, 03 Mar 2012 16:19:25 GMT
hola again,

> good observation. My 2 cents: it might still make sense for users to map
> their existing domain (including "edges") to the graph (e.g. Routers to
> Vertices and Cables to Edges) and "get it back" as soon as they are done
> with graph operations (e.g. once they find the shortest path, they
> automatically have the sequence of Cables they need).

so, at least WeightedEdge is something that still has to exist - what
is the reason to query the Network to know the Cable capacity?!? Isn't
it enough getting it directly from the Cable itself?

-Simo

http://people.apache.org/~simonetripodi/
http://simonetripodi.livejournal.com/
http://twitter.com/simonetripodi
http://www.99soft.org/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message