Class TreasureHunterB1BDI


  • public class TreasureHunterB1BDI
    extends java.lang.Object
    A treasure hunter that picks up the treasures one by one by creating a goal and thus a plan for each treasure.
    • Constructor Detail

      • TreasureHunterB1BDI

        public TreasureHunterB1BDI()
    • Method Detail

      • body

        public void body​(IBDIAgentFeature agent)
        Agent body is implemented as a loop that runs until no more treasures available.
        Parameters:
        agent - The agent parameter is optional and allows to access bdi agent functionality.