Class BDIXAgentFeature.GoalsExistCondition

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

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

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

        FALSE, TRUE, TRUE_CONDITION
    • Constructor Summary

      Constructors 
      Constructor Description
      GoalsExistCondition​(MGoal mgoal, 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

      • mgoal

        protected MGoal mgoal
      • capa

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

      • GoalsExistCondition

        public GoalsExistCondition​(MGoal mgoal,
                                   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