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] On graph weight type(s)
Date Sun, 12 Feb 2012 19:15:05 GMT
Hola,

> Would it be so terrible to maintain such redundancy?

IMHO, yes, because:

 * it has to be applied in each class of algorithms we support;

 * switching to proposed APIs, would proliferate that APIs in each algorithm;

 * weight types are driven by generics, so users cannot bind wrong
weight monoid already at compile time.

more proposals? :)

best,
-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