|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectLBJ2.infer.ArgumentReplacer
LBJ2.infer.QuantifierArgumentReplacer
public abstract class QuantifierArgumentReplacer
Anonymous inner classes extending this class are instantiated by the code
generated by the LBJ compiler when creating
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| Field Summary | |
|---|---|
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. |
| Fields inherited from class LBJ2.infer.ArgumentReplacer |
|---|
context, quantificationVariables |
| Constructor Summary | |
|---|---|
QuantifierArgumentReplacer(java.lang.Object[] c)
Initializing constructor. |
|
QuantifierArgumentReplacer(java.lang.Object[] c,
boolean b)
Use this constructor to indicate which of the two arguments of the equality is in fact not quantified. |
|
| Method Summary | |
|---|---|
int |
getBound()
Computes the new value of the bound. |
java.util.Collection |
getCollection()
Computes the new collection. |
| Methods inherited from class LBJ2.infer.ArgumentReplacer |
|---|
setQuantificationVariables |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public boolean collectionConstant
public boolean boundConstant
AtLeastQuantifier or an AtMostQuantifier is
not quantified.
| Constructor Detail |
|---|
public QuantifierArgumentReplacer(java.lang.Object[] c)
c - The context of the corresponding equality, except for
quantification variables.
public QuantifierArgumentReplacer(java.lang.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.| Method Detail |
|---|
public java.util.Collection getCollection()
UnsupportedOperationException.
public int getBound()
UnsupportedOperationException.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||