jq.qde.space.value
Class MagnitudeInterval

java.lang.Object
  extended byjq.qde.space.value.MagnitudeInterval
All Implemented Interfaces:
Abbrevable, QualitativeMagnitude
Direct Known Subclasses:
TimeInterval

public class MagnitudeInterval
extends java.lang.Object
implements QualitativeMagnitude


Field Summary
 MagnitudeLandmark high
           
 boolean highOpen
           
 MagnitudeLandmark low
           
 boolean lowOpen
           
 
Constructor Summary
MagnitudeInterval(MagnitudeLandmark low, MagnitudeLandmark high)
          ValueIntervals should only be created through a Variable.getInterval call.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 MagnitudeLandmark getHigh()
           
 QualitativeDirection getInfiniteSign()
           
 QualitativeMagnitude[] getInitialValues(VariableQuantitySpace qspace)
           
 MagnitudeLandmark getLow()
           
 QualitativeVariable getVariable()
           
 int hashCode()
           
 boolean isInfinite()
           
 boolean isInterval()
           
 boolean isPoint()
           
 boolean isUnknown()
           
 boolean isZero()
           
 MagnitudeInterval nextInterval(QualitativeDirection direction)
           
 MagnitudeLandmark nextLandmark(QualitativeDirection direction)
           
 void printSpecification(java.io.PrintStream out, java.lang.String prefix)
           
 java.lang.String toAbbreviation()
           
 java.lang.String toSpecification()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

low

public final MagnitudeLandmark low

high

public final MagnitudeLandmark high

lowOpen

public final boolean lowOpen

highOpen

public final boolean highOpen
Constructor Detail

MagnitudeInterval

public MagnitudeInterval(MagnitudeLandmark low,
                         MagnitudeLandmark high)
ValueIntervals should only be created through a Variable.getInterval call.

Parameters:
low -
high -
Method Detail

printSpecification

public void printSpecification(java.io.PrintStream out,
                               java.lang.String prefix)
Specified by:
printSpecification in interface QualitativeMagnitude

toSpecification

public java.lang.String toSpecification()
Specified by:
toSpecification in interface Abbrevable

toAbbreviation

public java.lang.String toAbbreviation()
Specified by:
toAbbreviation in interface Abbrevable

nextInterval

public MagnitudeInterval nextInterval(QualitativeDirection direction)

nextLandmark

public MagnitudeLandmark nextLandmark(QualitativeDirection direction)

getHigh

public MagnitudeLandmark getHigh()

getLow

public MagnitudeLandmark getLow()

getInitialValues

public QualitativeMagnitude[] getInitialValues(VariableQuantitySpace qspace)
Specified by:
getInitialValues in interface QualitativeMagnitude

isInfinite

public boolean isInfinite()
Specified by:
isInfinite in interface QualitativeMagnitude

isInterval

public boolean isInterval()
Specified by:
isInterval in interface QualitativeMagnitude

isPoint

public boolean isPoint()
Specified by:
isPoint in interface QualitativeMagnitude

isUnknown

public boolean isUnknown()
Specified by:
isUnknown in interface QualitativeMagnitude

isZero

public boolean isZero()
Specified by:
isZero in interface QualitativeMagnitude

equals

public boolean equals(java.lang.Object obj)

getVariable

public QualitativeVariable getVariable()
Specified by:
getVariable in interface QualitativeMagnitude

getInfiniteSign

public QualitativeDirection getInfiniteSign()
Specified by:
getInfiniteSign in interface QualitativeMagnitude

hashCode

public int hashCode()