|
|
|
@ -1155,7 +1155,7 @@ Expression ExpressionTemporalBinary(boolean prop, boolean pathprop) : |
|
|
|
|
|
|
|
//Accumulation |
|
|
|
ExpressionAccumulation accexp; |
|
|
|
AccumulationConstraint constr; |
|
|
|
AccumulationConstraintBasic constr; |
|
|
|
TemporalOperatorBound bound; |
|
|
|
Expression reg; |
|
|
|
ArrayList<Expression> fireOn; |
|
|
|
@ -1189,7 +1189,7 @@ Expression ExpressionTemporalBinary(boolean prop, boolean pathprop) : |
|
|
|
// Weight constraint |
|
|
|
<LBRACE> |
|
|
|
( |
|
|
|
constr = ExpressionAccumulationConstraint() |
|
|
|
constr = ExpressionAccumulationConstraintBasic() |
|
|
|
{ accexp.setConstraint(constr); } |
|
|
|
) |
|
|
|
<RBRACE> |
|
|
|
@ -1241,7 +1241,7 @@ Expression ExpressionTemporalUnary(boolean prop, boolean pathprop) : |
|
|
|
ExpressionAccumulation ExpressionAccumulationUnary(boolean prop, boolean pathprop) : |
|
|
|
{ |
|
|
|
ExpressionAccumulation ret; |
|
|
|
AccumulationConstraint constr; |
|
|
|
AccumulationConstraintBasic constr; |
|
|
|
TemporalOperatorBound bound; |
|
|
|
Expression reg; |
|
|
|
ArrayList<Expression> fireOn; |
|
|
|
@ -1265,7 +1265,7 @@ ExpressionAccumulation ExpressionAccumulationUnary(boolean prop, boolean pathpro |
|
|
|
// Weight constraint |
|
|
|
<LBRACE> |
|
|
|
( |
|
|
|
constr = ExpressionAccumulationConstraint() |
|
|
|
constr = ExpressionAccumulationConstraintBasic() |
|
|
|
{ ret.setConstraint(constr); } |
|
|
|
) |
|
|
|
<RBRACE> |
|
|
|
@ -1297,9 +1297,9 @@ ArrayList<Expression> ExpressionAccumulationFire() : |
|
|
|
{ return ret; } |
|
|
|
} |
|
|
|
|
|
|
|
AccumulationConstraint ExpressionAccumulationConstraint() : |
|
|
|
AccumulationConstraintBasic ExpressionAccumulationConstraintBasic() : |
|
|
|
{ |
|
|
|
AccumulationConstraint ret; |
|
|
|
AccumulationConstraintBasic ret; |
|
|
|
ArrayList<AccumulationFactor> factors; |
|
|
|
TemporalOperatorBound bound; |
|
|
|
} |
|
|
|
@ -1307,7 +1307,7 @@ AccumulationConstraint ExpressionAccumulationConstraint() : |
|
|
|
// (LiCo = Constant) |
|
|
|
factors = ExpressionAccumulationLinearCombination() |
|
|
|
bound = BoundExpression() |
|
|
|
{ return new AccumulationConstraint(factors, bound); } |
|
|
|
{ return new AccumulationConstraintBasic(factors, bound); } |
|
|
|
} |
|
|
|
|
|
|
|
ArrayList<AccumulationFactor> ExpressionAccumulationLinearCombination() : |
|
|
|
|