(!(patch.getPatchVariable(reference.vn()) instanceof Double) ||
winningValue < ((Double) patch.getPatchVariable(reference.vn())).doubleValue())) {
Patch winner = winners.get(context.job.random.nextInt(winners.size()));
turtle.face(winner, true);
try {
turtle.moveTo(winner);
} catch (AgentException ex) {
// should be impossible
throw new IllegalStateException(ex);
}
}