jq.qde
Class QDEQuantitySpace

java.lang.Object
  extended byjq.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.


Constructor Summary
QDEQuantitySpace(VariableQuantitySpace[] vqs)
           
 
Method Summary
 QDEQuantitySpace add(VariableQuantitySpace vqs)
           
 boolean contains(VariableQuantitySpace space)
           
 QualitativeVariable getVariable(int i)
           
 QualitativeVariable getVariable(java.lang.String name)
           
 int getVariableCount()
           
 VariableQuantitySpace getVariableSpace(int i)
           
 VariableQuantitySpace getVariableSpace(QualitativeVariable var)
           
 boolean isDiverging(QualitativeValue value)
          This function should never return true for interval values.
 boolean isHighEnd(QualitativeMagnitude magnitude)
           
 boolean isLowEnd(QualitativeMagnitude magnitude)
           
 boolean isNegative(QualitativeMagnitude mag)
           
 boolean isPositive(QualitativeMagnitude mag)
           
 void printSpecification(java.io.PrintStream out, java.lang.String prefix)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QDEQuantitySpace

public QDEQuantitySpace(VariableQuantitySpace[] vqs)
Method Detail

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)