Inheritance diagram for HAPI::LabelExpression:
This type of expression is used to compare with state labels of labelled discrete chance nodes or decision nodes.
Public Member Functions | |
LabelExpression (const std::string &label) | |
Construct a LabelExpression from a string. | |
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. |
|
Construct a LabelExpression from a string.
|
|
Clone the expression.
Implements HAPI::Expression. |
|
Return the label of the expresion.
|
|
Return the label of the expresion.
|
|
Test if the expression is a BooleanExpression.
Implements HAPI::ConstantExpression. |
|
Test if the expression is a LabelExpression.
Implements HAPI::ConstantExpression. |
|
Test if the expression is a NumberExpression.
Implements HAPI::ConstantExpression. |