if((variable->getHistoryLength()>=slidingWindowBufferSize-1)&&(variable->getNumberOfRelativesToActualValue(thresholdToBeStable)>=minNumOfRelatedValuesToBeStable))//-1 because actual value is not in the history
if(slot->getHistoryLength()>=slidingWindowBufferSize-1){//-1 because actual value is not in the history
if(slot->getNumberOfRelativesToActualValue(thresholdToBeStable)<minNumOfRelatedValuesToBeStable){//-1 because actual value is also on of minNumOfRelatedValuesToBeStable