A Boolean constant expression. More...
Public Member Functions | |
BooleanExpression (bool value) | |
Construct a BooleanExpression from a boolean value. | |
Expression * | clone () const |
Clone the expression. | |
bool | getBoolean () const |
Return the value of the BooleanExpression. | |
Operator | getOperator () const |
Return the Operator for this Expression. | |
bool | getValue () const |
Return the value of the Expression. | |
bool | isBooleanExpression () const |
Test if the expression is a BooleanExpression. | |
bool | isLabelExpression () const |
Test if the expression is a LabelExpression. | |
bool | isNumberExpression () const |
Test if the expression is a NumberExpression. |
A Boolean constant expression.
This type of expression is used to compare with state values of Boolean discrete chance nodes or decision nodes.