Re: Passing two value to the ConvergenceCriterion function

2016-03-14 Thread Riccardo Diomedi
Ok! On 14 Mar 2016, at 10:41, Robert Metzger wrote: > Hi, > > take a look at the "Record" class. That one implements the Value interface > and can have multiple values. > > On Fri, Mar 11, 2016 at 6:01 PM, Riccardo Diomedi > wrote: > Hi > > I want to send two value to the ConvergenceCriteri

Re: Passing two value to the ConvergenceCriterion function

2016-03-14 Thread Robert Metzger
Hi, take a look at the "Record" class. That one implements the Value interface and can have multiple values. On Fri, Mar 11, 2016 at 6:01 PM, Riccardo Diomedi < riccardo.diomed...@gmail.com> wrote: > Hi > > I want to send two value to the ConvergenceCriterion function, so i > decided to use an a

Passing two value to the ConvergenceCriterion function

2016-03-11 Thread Riccardo Diomedi
Hi I want to send two value to the ConvergenceCriterion function, so i decided to use an aggregator of Tuple2. But then, when i implement Aggregator, i cannot do that because Tuple2 doesn’t implement Value. So i tried to create a class Tuple2Value that implements Value, but here i get stuck b