public void printViterbi(boolean getBest) {
	  Iterator<String> myIt=ViterbiEndpoint.keySet().iterator();
	  String myStr;
	  boolean entered=false;
	  double bestVal=2;
	  String bestStr="";
	  while (myIt.hasNext()) {
		myStr=myIt.next();
		if (!entered || bestVal< ViterbiEndpoint.get(myStr)) 
		{bestVal=ViterbiEndpoint.get(myStr);bestStr=myStr;entered=true;}
		if (getBest) {continue;}
		System.out.println("SCORE("+myStr+")="+ViterbiEndpoint.get(myStr));
		System.out.println("\t"+ViterbiPath.get(myStr));
	  }
	  if (getBest) {
		System.out.println("SCORE("+bestStr+")="+ViterbiEndpoint.get(bestStr));  
		System.out.println("\t"+ViterbiPath.get(bestStr));		
	  }
	}