public abstract class QuantifierArgumentReplacer extends ArgumentReplacer
FirstOrderConstraint representations. The methods of this
class are used to compute new values for the arguments of a quantified Quantifier.
Only certain value returning methods are overridden. The others will throw
UnsupportedOperationExceptions.FirstOrderConstraint,
Quantifier,
UnsupportedOperationException| Modifier and Type | Field and Description |
|---|---|
boolean |
boundConstant
This flag is set if the bound parameter of an
AtLeastQuantifier or an
AtMostQuantifier is not quantified. |
boolean |
collectionConstant
This flag is set if the collection of the quantifier is not quantified.
|
context, quantificationVariables| Constructor and Description |
|---|
QuantifierArgumentReplacer(Object[] c)
Initializing constructor.
|
QuantifierArgumentReplacer(Object[] c,
boolean b)
Use this constructor to indicate which of the two arguments of the equality is in fact not
quantified.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getBound()
Computes the new value of the bound.
|
Collection |
getCollection()
Computes the new collection.
|
setQuantificationVariablespublic boolean collectionConstant
public boolean boundConstant
AtLeastQuantifier or an
AtMostQuantifier is not quantified.public QuantifierArgumentReplacer(Object[] c)
c - The context of the corresponding equality, except for quantification variables.public QuantifierArgumentReplacer(Object[] c, boolean b)
c - The context of the corresponding equality, except for quantification variables.b - Set to false if the unquantified argument is the collection; set to
true if the unquantified argument is the bound.public Collection getCollection()
UnsupportedOperationException.public int getBound()
UnsupportedOperationException.Copyright © 2016. All rights reserved.