Empirical
|
A rule for how parsing should work. More...
#include <ConfigParser.h>
Public Member Functions | |
ParseRule (int id, const emp::vector< int > &_p) | |
ParseRule (size_t sid) | |
Public Attributes | |
int | result_id |
emp::vector< int > | pattern |
size_t | symbol_id |
The ID of the symbol that this rule should simplify to. More... | |
emp::vector< size_t > | pattern |
The pattern that this rule is triggered by. More... | |
A rule for how parsing should work.
|
inline |
|
inline |
emp::vector<int> emp::ParseRule::pattern |
emp::vector<size_t> emp::ParseRule::pattern |
The pattern that this rule is triggered by.
int emp::ParseRule::result_id |
size_t emp::ParseRule::symbol_id |
The ID of the symbol that this rule should simplify to.