Class BDIAgentFeature.PlansExistCondition

java.lang.Object
jadex.bdi.runtime.impl.BDIAgentFeature.PlansExistCondition
All Implemented Interfaces:
jadex.rules.eca.ICondition
Enclosing class:
BDIAgentFeature

public static class BDIAgentFeature.PlansExistCondition extends Object implements jadex.rules.eca.ICondition
Condition that tests if goal instances of an mplan exist.
  • Field Details

    • mplan

      protected MPlan mplan
      The mplan.
    • capa

      protected RCapability capa
      The capability.
  • Constructor Details

    • PlansExistCondition

      public PlansExistCondition(MPlan mplan, RCapability capa)
      Create a new plan exists condition.
      Parameters:
      mplan -
      capa -
  • Method Details

    • evaluate

      public jadex.future.IFuture<jadex.common.Tuple2<Boolean,Object>> evaluate(jadex.rules.eca.IEvent event)
      Evaluate the condition.
      Specified by:
      evaluate in interface jadex.rules.eca.ICondition