The Runtime executable Rule in a RuleSet.
More...
#include <RuleSet.h>
The Runtime executable Rule in a RuleSet.
◆ Rule() [1/2]
| quisp::runtime::Rule::Rule |
( |
const Program & | condition, |
|
|
const Program & | action, |
|
|
bool | debugging = false ) |
|
inline |
◆ Rule() [2/2]
| quisp::runtime::Rule::Rule |
( |
const std::string & | name, |
|
|
int | send_tag, |
|
|
int | receive_tag, |
|
|
const Program & | condition, |
|
|
const Program & | action, |
|
|
bool | debugging = false ) |
|
inline |
◆ action
| Program quisp::runtime::Rule::action |
◆ condition
| Program quisp::runtime::Rule::condition |
The condition for the Rule. The Runtime executes the following. action if this condition passed. If not, it goes the next Rule.
This condition describes when the Runtime should execute the action in this Rule.
◆ debugging
| bool quisp::runtime::Rule::debugging = false |
if it's true, the Runtime shows debug info in each step.
◆ id
| int quisp::runtime::Rule::id = -1 |
◆ name
| std::string quisp::runtime::Rule::name |
◆ receive_tag
| int quisp::runtime::Rule::receive_tag = -1 |
◆ send_tag
| int quisp::runtime::Rule::send_tag = -1 |
the shared tag for identify a rule across QNodes in a connection.
The documentation for this class was generated from the following file: