edu.mssm.crover.domain2d
Class REqual

java.lang.Object
  |
  +--edu.mssm.crover.domain2d.RExpression
        |
        +--edu.mssm.crover.domain2d.REqual

public class REqual
extends RExpression

Expression that force two values to be equal. Evaluates to the value of one of the children as they are equal by construction. This class guaranties that the expressions a and b are equal.


Field Summary
 
Fields inherited from class edu.mssm.crover.domain2d.RExpression
epsilon, main
 
Constructor Summary
REqual(RExpression a, RExpression b)
           
REqual(RExpression a, RExpression b, java.lang.String name)
           
 
Method Summary
 void check()
           
 double getValue()
           
static void main(java.lang.String[] args)
           
 void setValue(double v)
           
 java.lang.String toString()
           
 
Methods inherited from class edu.mssm.crover.domain2d.RExpression
add, dispose, getObservers, register, register
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

REqual

public REqual(RExpression a,
              RExpression b,
              java.lang.String name)

REqual

public REqual(RExpression a,
              RExpression b)
Method Detail

getValue

public double getValue()
Specified by:
getValue in class RExpression

setValue

public void setValue(double v)
              throws RInvalidChange
Specified by:
setValue in class RExpression
RInvalidChange

check

public void check()
           throws RInvalidChange
Overrides:
check in class RExpression
RInvalidChange

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

main

public static void main(java.lang.String[] args)


Copyright @ 2003 Mount Sinai School of Medicine. All Rights Reserved.