A label constant expression. More...
Public Member Functions | |
| Expression * | clone () const |
| Clone the expression. | |
| std::string | getLabel () const |
| Return the label of the expresion. | |
| std::string | getValue () const |
| Return the label of the expresion. | |
| 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. | |
| LabelExpression (const std::string &label) | |
| Construct a LabelExpression from a string. | |
A label constant expression.
This type of expression is used to compare with state labels of labelled discrete chance nodes or decision nodes.