Class BlocksworldAgent.StackGoal

  • Enclosing class:
    BlocksworldAgent

    public class BlocksworldAgent.StackGoal
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected Block block
      The block.
      protected Block target
      The target.
    • Constructor Summary

      Constructors 
      Constructor Description
      StackGoal​(Block block, Block target)  
    • Field Detail

      • block

        protected Block block
        The block.
      • target

        protected Block target
        The target.
    • Constructor Detail

      • StackGoal

        public StackGoal​(Block block,
                         Block target)
    • Method Detail

      • checkOn

        public boolean checkOn()
      • getBlock

        public Block getBlock()
        Get the block.
        Returns:
        The block.
      • getTarget

        public Block getTarget()
        Get the target.
        Returns:
        The target.