assignedAsset = null;
  protected void runDirectly () {	//	Scheduler sched = new Scheduler ();	internalBuffer.append ("</root>");	if (myExtraExtraOutput)	  System.out.println(getName () + ".runDirectly - sending stuff " + internalBuffer.toString());	int unhandledTasks = myTaskUIDtoObject.size ();	// Call setupInternal before adding the data	sched.setupInternal (new String(internalBuffer), false);	// These are things created by the scheduler during setup that	// are needed for direct object writing.	TimeOps timeOps = sched.getTimeOps();	SchedulingData data = sched.getSchedulingData();	if (myExtraOutput || true) 	  System.out.println(getName () + ".runDirectly - adding " + 						 vishnuTasks.size() + " tasks, " +						 vishnuResources.size () + " resources to scheduler data.");	  	for (int i = 0; i < vishnuTasks.size (); i++) {	  Object vishnuObject = vishnuTasks.get(i);	  data.addTask ((org.cougaar.lib.vishnu.server.Task) vishnuObject);	}	for (int i = 0; i < vishnuResources.size (); i++) {	  Object vishnuObject = vishnuResources.get(i);	  data.addResource ((Resource) vishnuObject);	}	// Call scheduleInternal after adding all the data	sched.scheduleInternal();	// This shows how to extract the assignments after scheduling.	// When sched.assignmentsMultitask() is true, the assignments	// will actually be MultitaskAssignment objects instead.	ArrayList assigns = sched.getAssignments();	boolean isMultiTask = sched.assignmentsMultitask();	for (int i = 0; i < assigns.size(); i++) {	  Assignment assign = (Assignment) assigns.get(i);	  parseAssignment (assign.getTask().getKey(), assign.getResource().getKey(),					   timeOps.timeToDate (assign.getTaskStartTime()),					   timeOps.timeToDate (assign.getTaskEndTime()),					   timeOps.timeToDate (assign.getStartTime()), // setup					   timeOps.timeToDate (assign.getEndTime()),   // wrapup					   isMultiTask);	}	// get last one...	if (isMultiTask) {	  if (assignedAsset != null) {		handleMultiAssignment (alpTasks, assignedAsset, start, end, setup, wrapup);		alpTasks.clear ();	  }	}		clearInternalBuffer ();	if (myExtraOutput || true)	  System.out.println (getName () + ".runDirectly - created successful plan elements for " +						  (unhandledTasks-myTaskUIDtoObject.size ()) + " tasks.");	handleImpossibleTasks (myTaskUIDtoObject.values ());	myTaskUIDtoObject.clear ();  }