public static SuccessRate evaluate(QTable qtable, String match_dir, String playername)
{
if(new File(match_dir+"/finalstate.xml").exists())
{
XMLMatch match = new XMLMatch(match_dir, playername);
int total = match.getTransitions().size();
int successes = qtable.countOptimalActions(match);
return new SuccessRate(successes,total);
}
else
{