Class BDIXAgentFeature.PlansExistCondition

  • All Implemented Interfaces:
    jadex.rules.eca.ICondition
    Enclosing class:
    BDIXAgentFeature

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

      Fields 
      Modifier and Type Field Description
      protected jadex.bdiv3.runtime.impl.RCapability capa  
      protected MPlan mplan  
      • Fields inherited from interface jadex.rules.eca.ICondition

        FALSE, TRUE, TRUE_CONDITION
    • Constructor Summary

      Constructors 
      Constructor Description
      PlansExistCondition​(MPlan mplan, jadex.bdiv3.runtime.impl.RCapability capa)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      IFuture<Tuple2<java.lang.Boolean,​java.lang.Object>> evaluate​(jadex.rules.eca.IEvent event)  
      • Methods inherited from class java.lang.Object

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

      • mplan

        protected MPlan mplan
      • capa

        protected jadex.bdiv3.runtime.impl.RCapability capa
    • Constructor Detail

      • PlansExistCondition

        public PlansExistCondition​(MPlan mplan,
                                   jadex.bdiv3.runtime.impl.RCapability capa)
    • Method Detail

      • evaluate

        public IFuture<Tuple2<java.lang.Boolean,​java.lang.Object>> evaluate​(jadex.rules.eca.IEvent event)
        Specified by:
        evaluate in interface jadex.rules.eca.ICondition