public class SimpleAllenInterval extends Variable
AllenInterval, which is a MultiVariable representing
an interval as two timepoints. This implementation is used for qualitative temporal
reasoning (e.g., with the FuzzyAllenIntervalNetworkSolver), whereas the AllenInterval
is used for quantitative temporal reasoning (e.g., by the AllenIntervalNetworkSolver).attributes, backupForSerialization, dependentVariables, id, logger, solver| Constructor and Description |
|---|
SimpleAllenInterval(ConstraintSolver cs,
int id) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Variable arg0) |
Domain |
getDomain()
Get the domain of this Variable.
|
void |
setDomain(Domain d)
Set the domain of this variable.
|
java.lang.String |
toString()
Get a
String representation of this Variable. |
addDependentVariables, dependsOn, equals, getAncestorVariable, getAttributes, getColor, getComponent, getConstraintSolver, getDependentVariables, getDescription, getID, getMarking, getOwner, getParentVariable, getRecursivelyDependentVariables, getRootVariable, hashCode, isDependentVariable, removeDependentVariables, setAttributes, setColor, setComponent, setDependentVariables, setMarking, setOwner, setParentVariablepublic SimpleAllenInterval(ConstraintSolver cs, int id)
public void setDomain(Domain d)
Variablepublic java.lang.String toString()
VariableString representation of this Variable.public int compareTo(Variable arg0)