|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectCOM.hugin.HAPI.Expression
COM.hugin.HAPI.ConstantExpression
COM.hugin.HAPI.NumberExpression
public class NumberExpression
A numeric constant expression is used to compare state value of numbered or interval discrete chance nodes or decision nodes.
Field Summary |
---|
Constructor Summary | |
---|---|
NumberExpression(double number)
Constructs a new NumberExpression. |
Method Summary | |
---|---|
double |
getNumber()
Returns the number represented by the expression. |
int |
getOperator()
Returns the Operator for this Expression. |
double |
getValue()
Returns the number represented by the expression. |
Methods inherited from class COM.hugin.HAPI.ConstantExpression |
---|
isConstantExpression |
Methods inherited from class COM.hugin.HAPI.Expression |
---|
clone, expressionToString, isCompositeExpression, isNodeExpression, stringToExpression |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NumberExpression(double number)
Method Detail |
---|
public double getValue()
public double getNumber()
public int getOperator()
getOperator
in class Expression
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |