if (getMyParams().hasParam ("wantMediumConfidenceOnExpansion")) wantMediumConfidenceOnExpansion = getMyParams().getBooleanParam ("wantMediumConfidenceOnExpansion"); else wantMediumConfidenceOnExpansion = false;
  public void localSetup() {         super.localSetup();    String hostName ="";    try {      if (getMyParams().hasParam ("hostName"))	hostName = getMyParams().getStringParam("hostName");          else 	hostName = "dante.bbn.com";      if (getMyParams().hasParam ("runInternal"))	runInternal = getMyParams().getBooleanParam("runInternal");          else 	runInternal = false;      if (getMyParams().hasParam ("runDirectly"))	runDirectly = 	  getMyParams().getBooleanParam("runDirectly");          else 	runDirectly = false;      if (!runInternal) 	runDirectly = false; // can't run directly if not running internally      if (getMyParams().hasParam ("incrementalScheduling"))	incrementalScheduling = 	  getMyParams().getBooleanParam("incrementalScheduling");          else 	incrementalScheduling = false;      if (getMyParams().hasParam ("showTiming"))	showTiming = 	  getMyParams().getBooleanParam("showTiming");          else 	showTiming = true; 	      if (getMyParams().hasParam ("makeSetupAndWrapupTasks"))	makeSetupAndWrapupTasks = 	  getMyParams().getBooleanParam("makeSetupAndWrapupTasks");          else 	makeSetupAndWrapupTasks = true;      if (getMyParams().hasParam ("useStoredFormat"))	useStoredFormat = getMyParams().getBooleanParam("useStoredFormat");          else 	useStoredFormat = false;	      if (getMyParams().hasParam ("stopOnFailure"))	stopOnFailure = 	  getMyParams().getBooleanParam("stopOnFailure");          else 	stopOnFailure = false;      // how many of the input tasks to use as templates when producing the       // OBJECT FORMAT for tasks      if (getMyParams().hasParam ("firstTemplateTasks"))	firstTemplateTasks = getMyParams().getIntParam("firstTemplateTasks");          else 	firstTemplateTasks = 2;    } catch (Exception e) {}    domUtil = createVishnuDomUtil ();    comm    = createVishnuComm ();    xmlProcessor = createXMLProcessor ();    config  = createVishnuConfig ();    localDidRehydrate = blackboard.didRehydrate ();	    // helpful for debugging connection configuration problems    if (runInternal) {      if (runDirectly) {	info (getName () + " - will run direct translation internal Vishnu Scheduler.");	resultHandler = createDirectResultHandler ();	mode = createDirectMode ();      }      else {	info (getName () + " - will run internal Vishnu Scheduler.");	resultHandler = createXMLResultHandler ();	mode = createInternalMode ();      }      if (incrementalScheduling)	info (" - incrementally - ");    }    else {      info (getName () + " - will try to connect to Vishnu Web Server : " + 		   hostName + ".");      resultHandler = createXMLResultHandler ();      mode = createExternalMode ();    }    if (useStoredFormat)      info (" Will send stored object format.");  }