cachedCapableResources = null; if (bestTimeCache != null) bestTimeCache.clear(); if (taskDurationCache != null) taskDurationCache.clear(); if (taskUnavailableTimesCache != null) taskUnavailableTimesCache.clear();
  public void initializeData (SchedulingData sdata) {    data = sdata.getGlobals();    data.put ("start_time", new Reusable.RInteger (sdata.getStartTime()));    data.put ("end_time", new Reusable.RInteger (sdata.getEndTime()));    if (debug)      System.out.println ("SchedulingSpecs.initializeData - Start time=" + 			  data.get ("start_time") + " end " +                          data.get ("end_time"));    data.put ("tasks", new ArrayList (Arrays.asList (sdata.getTasks())));    data.put ("resources",              new ArrayList (Arrays.asList (sdata.getResources())));    for (int i = 0; i < operators.size(); i++)      ((Operator) operators.get(i)).setData (sdata, reuse, timeOps);  }