Class SokratesAgent.MoveGoal

  • Enclosing class:
    SokratesAgent

    public class SokratesAgent.MoveGoal
    extends java.lang.Object
    The goal to make moves until the board reaches a solution.
    • Constructor Summary

      Constructors 
      Constructor Description
      MoveGoal()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<SokratesAgent.MovePlan> buildAPL()
      Build plan candidates for all possible moves.
      boolean isAchieved()
      Move goal is successful when resulting board represents a solution.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MoveGoal

        public MoveGoal()
    • Method Detail

      • isAchieved

        public boolean isAchieved()
        Move goal is successful when resulting board represents a solution.
      • buildAPL

        public java.util.List<SokratesAgent.MovePlan> buildAPL()
        Build plan candidates for all possible moves. Sorts moves according to strategy.