protected void makeOlder ( long timeDifference , double negLambda ) { if ( timeDifference == 0 ) { return ; } //double weightFactor = AuxiliaryFunctions.weight(negLambda, timeDifference); assert ( negLambda < 0 ) ; assert ( timeDifference > 0 ) ; double weightFactor = Math . pow ( 2.0 , negLambda * timeDifference ) ; this . N *= weightFactor ; for ( int i = 0 ; i < LS . length ; i ++ ) { LS [ i ] *= weightFactor ; SS [ i ] *= weightFactor ; } }
Make this cluster older . This means multiplying weighted N LS and SS with a weight factor given by the time difference and the parameter negLambda .