Package jadex.bdiv3x.features
Class BDIXAgentFeature.PlansExistCondition
- java.lang.Object
- 
- jadex.bdiv3x.features.BDIXAgentFeature.PlansExistCondition
 
- 
- All Implemented Interfaces:
- ICondition
 - Enclosing class:
- BDIXAgentFeature
 
 public static class BDIXAgentFeature.PlansExistCondition extends java.lang.Object implements ICondition Condition that tests if goal instances of an mplan exist.
- 
- 
Field SummaryFields Modifier and Type Field Description protected jadex.bdiv3.runtime.impl.RCapabilitycapaprotected MPlanmplan- 
Fields inherited from interface jadex.rules.eca.IConditionFALSE, TRUE, TRUE_CONDITION
 
- 
 - 
Constructor SummaryConstructors Constructor Description PlansExistCondition(MPlan mplan, jadex.bdiv3.runtime.impl.RCapability capa)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description IFuture<Tuple2<java.lang.Boolean,java.lang.Object>>evaluate(IEvent event)Evaluation the condition.
 
- 
- 
- 
Field Detail- 
mplanprotected MPlan mplan 
 - 
capaprotected jadex.bdiv3.runtime.impl.RCapability capa 
 
- 
 - 
Constructor Detail- 
PlansExistConditionpublic PlansExistCondition(MPlan mplan, jadex.bdiv3.runtime.impl.RCapability capa) 
 
- 
 - 
Method Detail- 
evaluatepublic IFuture<Tuple2<java.lang.Boolean,java.lang.Object>> evaluate(IEvent event) Description copied from interface:IConditionEvaluation the condition.- Specified by:
- evaluatein interface- ICondition
- Parameters:
- event- The event.
- Returns:
- True, if condition is met (plus additional user data).
 
 
- 
 
-