public Object invoke(Object[] paramvalues, IOAVState state) { if(paramvalues==null || paramvalues.length!=3) throw new IllegalArgumentException("Conditional requires three parameters."); return ((Boolean)(paramvalues[0] instanceof ILazyValue? ((ILazyValue)(paramvalues[0])).getValue(): paramvalues[0])).booleanValue() ? (paramvalues[1] instanceof ILazyValue? ((ILazyValue)(paramvalues[1])).getValue(): paramvalues[1]): paramvalues[2] instanceof ILazyValue? ((ILazyValue)(paramvalues[2])).getValue(): paramvalues[2]; } public String toString()
public Object invoke(Object[] paramvalues, IOAVState state) { if(paramvalues==null || paramvalues.length!=3) throw new IllegalArgumentException("Conditional requires three parameters."); return ((Boolean)(paramvalues[0] instanceof ILazyValue? ((ILazyValue)(paramvalues[0])).getValue(): paramvalues[0])).booleanValue() ? (paramvalues[1] instanceof ILazyValue? ((ILazyValue)(paramvalues[1])).getValue(): paramvalues[1]): paramvalues[2] instanceof ILazyValue? ((ILazyValue)(paramvalues[2])).getValue(): paramvalues[2]; } public String toString()
public Object invoke(Object[] paramvalues, IOAVState state) { return InternalEventFlyweight.getInternalEventFlyweight(state, paramvalues[0] instanceof ILazyValue? ((ILazyValue)(paramvalues[0])).getValue(): paramvalues[0], paramvalues[1] instanceof ILazyValue? ((ILazyValue)(paramvalues[1])).getValue(): paramvalues[1]); } }, new Object[]{capvar, null})};
public Object invoke(Object[] paramvalues, IOAVState state) { return GoalFlyweight.getGoalFlyweight(state, paramvalues[0] instanceof ILazyValue? ((ILazyValue)(paramvalues[0])).getValue(): paramvalues[0], paramvalues[1] instanceof ILazyValue? ((ILazyValue)(paramvalues[1])).getValue(): paramvalues[1]); } }, new Object[]{capvar, null})};
public Object invoke(Object[] paramvalues, IOAVState state) { return BeliefFlyweight.getBeliefFlyweight(state, paramvalues[0] instanceof ILazyValue? ((ILazyValue)(paramvalues[0])).getValue(): paramvalues[0], paramvalues[1] instanceof ILazyValue? ((ILazyValue)(paramvalues[1])).getValue(): paramvalues[1]); } }, new Object[]{capvar, null})};
public Object invoke(Object[] paramvalues, IOAVState state) { return BeliefSetFlyweight.getBeliefSetFlyweight(state, paramvalues[0] instanceof ILazyValue? ((ILazyValue)(paramvalues[0])).getValue(): paramvalues[0], paramvalues[1] instanceof ILazyValue? ((ILazyValue)(paramvalues[1])).getValue(): paramvalues[1]); } }, new Object[]{capvar, null})};
public Object invoke(Object[] paramvalues, IOAVState state) { return PlanFlyweight.getPlanFlyweight(state, paramvalues[0] instanceof ILazyValue? ((ILazyValue)(paramvalues[0])).getValue(): paramvalues[0], paramvalues[1] instanceof ILazyValue? ((ILazyValue)(paramvalues[1])).getValue(): paramvalues[1]); } }, new Object[]{capvar, null})};
public Object invoke(Object[] paramvalues, IOAVState state) { return MessageEventFlyweight.getMessageEventFlyweight(state, paramvalues[0] instanceof ILazyValue? ((ILazyValue)(paramvalues[0])).getValue(): paramvalues[0], paramvalues[1] instanceof ILazyValue? ((ILazyValue)(paramvalues[1])).getValue(): paramvalues[1]); } }, new Object[]{capvar, null})};
/** * Evaluate two objects with respect to the * operator semantics. * @param state The state. * @param val1 The first object. * @param val2 The second object. * @return True, if objects fit wrt. the operator semantics. */ public boolean evaluate(IOAVState state, Object val1, Object val2) { val1 = val1 instanceof ILazyValue? ((ILazyValue)val1).getValue(): val1; val2 = val2 instanceof ILazyValue? ((ILazyValue)val2).getValue(): val2; return val1!=null && val2!=null && compare(val1, val2)<=0; }
/** * Evaluate two objects with respect to the * operator semantics. * @param state The state. * @param val1 The first object. * @param val2 The second object. * @return True, if objects fit wrt. the operator semantics. */ public boolean evaluate(IOAVState state, Object val1, Object val2) { val1 = val1 instanceof ILazyValue? ((ILazyValue)val1).getValue(): val1; val2 = val2 instanceof ILazyValue? ((ILazyValue)val2).getValue(): val2; return val1!=null && val2!=null && compare(val1, val2)>0; }
/** * Evaluate two objects with respect to the * operator semantics. * @param state The state. * @param val1 The first object. * @param val2 The second object. * @return True, if objects fit wrt. the operator semantics. */ public boolean evaluate(IOAVState state, Object val1, Object val2) { val1 = val1 instanceof ILazyValue? ((ILazyValue)val1).getValue(): val1; val2 = val2 instanceof ILazyValue? ((ILazyValue)val2).getValue(): val2; return val1!=null && val2!=null && compare(val1, val2)>=0; }
/** * Evaluate two objects with respect to the * operator semantics. * @param state The state. * @param val1 The first object. * @param val2 The second object. * @return True, if objects fit wrt. the operator semantics. */ public boolean evaluate(IOAVState state, Object val1, Object val2) { val1 = val1 instanceof ILazyValue? ((ILazyValue)val1).getValue(): val1; val2 = val2 instanceof ILazyValue? ((ILazyValue)val2).getValue(): val2; return contains(val1, val2); }
/** * Evaluate two objects with respect to the * operator semantics. * @param state The state. * @param val1 The first object. * @param val2 The second object. * @return True, if objects fit wrt. the operator semantics. */ public boolean evaluate(IOAVState state, Object val1, Object val2) { val1 = val1 instanceof ILazyValue? ((ILazyValue)val1).getValue(): val1; val2 = val2 instanceof ILazyValue? ((ILazyValue)val2).getValue(): val2; return !contains(val1, val2); }
/** * Evaluate two objects with respect to the * operator semantics. * @param state The state. * @param val1 The first object. * @param val2 The second object. * @return True, if objects fit wrt. the operator semantics. */ public boolean evaluate(IOAVState state, Object val1, Object val2) { val1 = val1 instanceof ILazyValue? ((ILazyValue)val1).getValue(): val1; val2 = val2 instanceof ILazyValue? ((ILazyValue)val2).getValue(): val2; return !contains(val1, val2); }
/** * Evaluate two objects with respect to the * operator semantics. * @param state The state. * @param val1 The first object. * @param val2 The second object. * @return True, if objects fit wrt. the operator semantics. */ public boolean evaluate(IOAVState state, Object val1, Object val2) { val1 = val1 instanceof ILazyValue? ((ILazyValue)val1).getValue(): val1; val2 = val2 instanceof ILazyValue? ((ILazyValue)val2).getValue(): val2; return val1!=null && val2!=null && compare(val1, val2)<=0; }
/** * Evaluate two objects with respect to the * operator semantics. * @param state The state. * @param val1 The first object. * @param val2 The second object. * @return True, if objects fit wrt. the operator semantics. */ public boolean evaluate(IOAVState state, Object val1, Object val2) { val1 = val1 instanceof ILazyValue? ((ILazyValue)val1).getValue(): val1; val2 = val2 instanceof ILazyValue? ((ILazyValue)val2).getValue(): val2; return val1!=null && val2!=null && compare(val1, val2)>=0; }