jq.qde.constraint
Class DerivConstraint

java.lang.Object
  extended byjq.util.NamableObject
      extended byjq.qde.QualitativeConstraint
          extended byjq.qde.constraint.DerivConstraint
All Implemented Interfaces:
Namable

public class DerivConstraint
extends QualitativeConstraint

x = dy/dt


Field Summary
 
Fields inherited from class jq.qde.QualitativeConstraint
EMPTYCORR
 
Constructor Summary
DerivConstraint(QualitativeVariable x, QualitativeVariable y)
           
 
Method Summary
 QualitativeConstraint createCopy(QualitativeVariable[] args, ConstraintCorrespondence[] corr)
           
 boolean initConstraint(QDEState state)
           
 boolean propagateConstraint(QDEState state, MagnitudeDelta change)
           
 boolean shouldCreateNewCorrespondence(QDEState state, QSimListener l)
           
 ConstraintValidationResult validateValues(QualitativeValue[] stateArray)
           
 
Methods inherited from class jq.qde.QualitativeConstraint
addCorrespondingValue, dependsOn, getCorrespondingValue, getCorrespondingValueCount, getMatchingCorrespondence, getVariable, getVariableCount, hasMatchingCorrespondingValue, printSpecification
 
Methods inherited from class jq.util.NamableObject
getName
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DerivConstraint

public DerivConstraint(QualitativeVariable x,
                       QualitativeVariable y)
Method Detail

propagateConstraint

public boolean propagateConstraint(QDEState state,
                                   MagnitudeDelta change)

initConstraint

public boolean initConstraint(QDEState state)

validateValues

public ConstraintValidationResult validateValues(QualitativeValue[] stateArray)
Specified by:
validateValues in class QualitativeConstraint

shouldCreateNewCorrespondence

public boolean shouldCreateNewCorrespondence(QDEState state,
                                             QSimListener l)
Overrides:
shouldCreateNewCorrespondence in class QualitativeConstraint

createCopy

public QualitativeConstraint createCopy(QualitativeVariable[] args,
                                        ConstraintCorrespondence[] corr)
Specified by:
createCopy in class QualitativeConstraint