{
max_q = state.getReward(role);
}
else
{
SerializableState sstate = getState(state);
SerializableAction saction = getAction(actions.iterator().next());
max_q = table.getQValue(sstate, role, saction);
for (RAction action : state.legalActions(role))
{
saction = getAction(action);