jq.qde
Class QDEQuantitySpace
java.lang.Object
jq.qde.QDEQuantitySpace
- public class QDEQuantitySpace
- extends java.lang.Object
A list of variables with ordered sets of LandmarkValues.
SystemQuantitySpace is a constant class so that instances can be shared between states.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QDEQuantitySpace
public QDEQuantitySpace(VariableQuantitySpace[] vqs)
printSpecification
public void printSpecification(java.io.PrintStream out,
java.lang.String prefix)
getVariable
public QualitativeVariable getVariable(java.lang.String name)
getVariableCount
public int getVariableCount()
getVariable
public QualitativeVariable getVariable(int i)
getVariableSpace
public VariableQuantitySpace getVariableSpace(int i)
getVariableSpace
public VariableQuantitySpace getVariableSpace(QualitativeVariable var)
isPositive
public boolean isPositive(QualitativeMagnitude mag)
isNegative
public boolean isNegative(QualitativeMagnitude mag)
isLowEnd
public boolean isLowEnd(QualitativeMagnitude magnitude)
isHighEnd
public boolean isHighEnd(QualitativeMagnitude magnitude)
add
public QDEQuantitySpace add(VariableQuantitySpace vqs)
isDiverging
public boolean isDiverging(QualitativeValue value)
- This function should never return true for interval values.
- Parameters:
value
- The value to test for divergence.
- Returns:
- 'true' if the value is diverging (moving past the ends of the qspace). 'false' otherwise.
contains
public boolean contains(VariableQuantitySpace space)