gameSim.SetGameState(state);
ExpList expList=new ExpList();
expList.add(role.getTerm().getExpr());
expList.add(move.getTerm().getExpr());
try {
return gameSim.getTheory().findp(new Predicate(new Atom("LEGAL"),expList));
} catch (InterruptedException e) {
Logger logger=Logger.getLogger(Reasoner.class.getName());
logger.severe("reasoner was interrupted during findp("+new Predicate(new Atom("LEGAL"),expList)+"):");
logger.severe(e.getMessage());
return false;
}
}
}