/**Utility factory class*/
public class AIFactory {
public static AbstractAlgoStep getAlgo(AILevel level, GameEnvironment env) {
AbstractAlgoStep algo = new DawgMoveGen(env,(Player) null, (DAWGItf) env.getDictionary(),
new SimpleMoveAccumulator(null));
if (level.getNbSimulations()>0)
algo = new SimpleSimulator(algo, env, null);
return algo;
}