public abstract class EqualityArgumentReplacer extends ArgumentReplacer
FirstOrderConstraint representations. The methods of this
class are used to compute new values for the arguments of a quantified
FirstOrderEquality. Only certain value returning methods are overridden. The others
will throw UnsupportedOperationExceptions.FirstOrderConstraint,
FirstOrderEquality,
UnsupportedOperationException| Modifier and Type | Field and Description |
|---|---|
boolean |
leftConstant
This flag is set if the left hand side of the equality is not quantified.
|
boolean |
rightConstant
This flag is set if the right hand side of the equality is not quantified.
|
context, quantificationVariables| Constructor and Description |
|---|
EqualityArgumentReplacer(Object[] c)
Initializing constructor.
|
EqualityArgumentReplacer(Object[] c,
boolean r)
Use this constructor to indicate which of the two arguments of the equality is in fact not
quantified.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getLeftObject()
Computes the object on the left hand side of the equality.
|
String |
getLeftValue()
Computes the value on the left hand side of the equality.
|
Object |
getRightObject()
Computes the object on the right hand side of the equality.
|
String |
getRightValue()
Computes the value on the right hand side of the equality.
|
setQuantificationVariablespublic boolean leftConstant
public boolean rightConstant
public EqualityArgumentReplacer(Object[] c)
c - The context of the corresponding equality, except for quantification variables.public EqualityArgumentReplacer(Object[] c, boolean r)
c - The context of the corresponding equality, except for quantification variables.r - Set to false if the unquantified argument is the left; set to
true if the unquantified argument is the right.public String getLeftValue()
UnsupportedOperationException.public String getRightValue()
UnsupportedOperationException.public Object getLeftObject()
UnsupportedOperationException.public Object getRightObject()
UnsupportedOperationException.Copyright © 2016. All rights reserved.