*/
  public void computeGroupings (SchedulingSpecs specs) {	if (!specs.hasGroupableSpec ()) {	  Task[] t = getTasks();	  for (int i = 0; i < t.length; i++) {		Task task1 = t[i];		task1.setGroupable (true);	  }	  return;	}	      Task[] t = getTasks();    for (int i = 0; i < t.length; i++) {      Task task1 = t[i];      for (int j = i + 1; j < t.length; j++) {        Task task2 = t[j];        if (specs.areGroupable (task1, task2) &&            specs.areGroupable (task2, task1)) {          task1.addGroupableTask (task2);          task2.addGroupableTask (task1);        }      }    }  }