private static void checkPathNeed(){
  if (samplingInterval == -1) {
    lastPreloadTime=readMorePaths();
  }
  if (!Double.isNaN(lastPreloadTime) && SimClock.getTime() >= lastPreloadTime - (samplingInterval * MIN_AHEAD_INTERVALS)) {
    for (int i=0; i < nrofPreload && !Double.isNaN(lastPreloadTime); i++) {
      lastPreloadTime=readMorePaths();
    }
  }
}

private static void checkPathNeed ( ) { if ( samplingInterval == - 1 ) { lastPreloadTime = readMorePaths ( ) ; } if ( ! Double . isNaN ( lastPreloadTime ) && SimClock . getTime ( ) >= lastPreloadTime - ( samplingInterval * MIN_AHEAD_INTERVALS ) ) { for ( int i = 0 ; i < nrofPreload && ! Double . isNaN ( lastPreloadTime ) ; i ++ ) { lastPreloadTime = readMorePaths ( ) ; } } }
checks if more paths should be preloaded and preloads them if needed .
