private boolean checkIfSporadic ( CharacteristicVector cv ) { // Check S1 if ( cv . getCurrGridDensity ( this . getCurrTime ( ) , this . getDecayFactor ( ) ) < densityThresholdFunction ( cv . getDensityTimeStamp ( ) , this . cl , this . getDecayFactor ( ) , this . N ) ) { // Check S2 if ( cv . getRemoveTime ( ) == - 1 || this . getCurrTime ( ) >= ( ( 1 + this . beta ) * cv . getRemoveTime ( ) ) ) return true ; } return false ; }
Determines whether a sparse density grid is sporadic using rules S1 and S2 of Chen and Tu 2007