|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectptolemy.data.unit.UnitConstraint
ptolemy.data.unit.UnitEquation
A Unit equation is a particular type of Unit constraint, another type being a Unit inequality.
| Red (rowland) |
| Red (rowland) |
| Constructor Summary | |
UnitEquation(UnitExpr lhs,
UnitExpr rhs)
Construct a UnitEquation from the left and right hand sides. |
|
| Method Summary | |
static boolean |
areSatisfied(java.util.Vector equations)
Return true if the equations are all satisfied. |
UnitEquation |
canonicalize()
Transform to the canonical form of the equation. |
UnitEquation |
copy()
Make a copy where the left and right sides are alos copied. |
boolean |
isSatisfied()
Return true if this equation is satisfied. |
java.lang.Object |
visit(EquationVisitor visitor)
Visit this Unit equation (on the way to visiting the leaves) |
| Methods inherited from class ptolemy.data.unit.UnitConstraint |
descriptiveForm, getLhs, getOperator, getRhs, getSource, setLhs, setRhs, setSource, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface ptolemy.data.unit.UnitPresentation |
descriptiveForm, toString |
| Constructor Detail |
public UnitEquation(UnitExpr lhs,
UnitExpr rhs)
lhs - The left hand side.rhs - The right hand side.| Method Detail |
public static boolean areSatisfied(java.util.Vector equations)
equations - The equations.
public UnitEquation canonicalize()
public UnitEquation copy()
public boolean isSatisfied()
public java.lang.Object visit(EquationVisitor visitor)
throws IllegalActionException
visitor - The visitor.
IllegalActionException - Not thrown in this base class.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||