Package pdp.scrabble.ia.impl

Examples of pdp.scrabble.ia.impl.DawgMoveGen


  ia2.getRack().fill();
  ia.getRack().fill();
  env.addPlayer(ia);
  env.addPlayer(ia2);
  algo = new SimpleSimulator(
    new DawgMoveGen(env, ia,(DAWGItf) env.getDictionary(),
      new BestMoves(new EvaluatorImpl(env, null), 5))
    , env, ia);
  //preparing GUI
  JButton bouton = new JButton("Continuer");
  pan = new BoardPanel(b);
View Full Code Here


/**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;
    }
View Full Code Here

TOP

Related Classes of pdp.scrabble.ia.impl.DawgMoveGen

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.