Re: [graph] renaming weight operations

2012-02-20 Thread Simone Tripodi
lol, I'll take a look at it as soon as possible!!! thanks! -Simo http://people.apache.org/~simonetripodi/ http://simonetripodi.livejournal.com/ http://twitter.com/simonetripodi http://www.99soft.org/ On Mon, Feb 20, 2012 at 7:27 PM, Claudio Squarcella wrote: > Hi Simone and all, > > > On 19/

Re: [graph] renaming weight operations

2012-02-20 Thread Claudio Squarcella
Hi Simone and all, On 19/02/2012 22:12, Simone Tripodi wrote: Hi (and sorry for the late) I personally don't see the reason to be open to *Operations until *Monoid (actually, wrongly, *Weight) until there is the real need of. Anyway, please share a patch in the issue you filled - code talks mu

Re: [graph] renaming weight operations

2012-02-19 Thread Simone Tripodi
Hi (and sorry for the late) I personally don't see the reason to be open to *Operations until *Monoid (actually, wrongly, *Weight) until there is the real need of. Anyway, please share a patch in the issue you filled - code talks much better, I could finally see what I am currently missing ;) lo

Re: [graph] renaming weight operations

2012-02-19 Thread Claudio Squarcella
Hi, * Doubles can also be multiplied, but so far we did not need to include that in our stack of operations and properties. If we ever need to do so, it will be enough to create another interface extending OrderedMonoid and change the implemented interface in DoubleWeightOperations

Re: [graph] renaming weight operations

2012-02-19 Thread Simone Tripodi
Hi Cloud/IO :) >  * Doubles can also be multiplied, but so far we did not need to >   include that in our stack of operations and properties. If we ever >   need to do so, it will be enough to create another interface >   extending OrderedMonoid and change the implemented interface in >   DoubleWe

Re: [graph] renaming weight operations

2012-02-19 Thread Claudio Squarcella
Hello Simone, It would be much more naturally to my hears hearing it as BigDecimalOrderedMonoid, doesn't it? you have a valid point. However my intention is to decouple implementations from underlying interfaces, because they might evolve and grow over time. Let me give you two examples:

Re: [graph] renaming weight operations

2012-02-19 Thread Simone Tripodi
Hi Claudio, while the idea is fine, we should adopt IMHO a little consistent naming. Why an OrderedMonoid shall be called BigDecimal*Operations* ? What makes it so different to an OrderedMonoid ? It would be much more naturally to my hears hearing it as BigDecimalOrderedMonoid, doesn't it? -Simo

Re: [graph] renaming weight operations

2012-02-19 Thread Marco Speranza
Hi Claudio, > I will soon work on it. If there is any last minute suggestion I will be > happy to hear that. there isn't any suggestion by me... in my point of view your suggestion can be useful and increase the code expressiveness. have a nice day :) -- Marco Speranza Google Code: http://co

[graph] renaming weight operations

2012-02-19 Thread Claudio Squarcella
Hi all, following previous discussion on ML I opened a JIRA issue to rename classes/variables related to operations on weights: https://issues.apache.org/jira/browse/SANDBOX-395 I will soon work on it. If there is any last minute suggestion I will be happy to hear that. Ciao, -- Claudio Sq