01_user_documentation:07_rgg_xl:03_query_graph:01_derivation
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| 01_user_documentation:07_rgg_xl:03_query_graph:01_derivation [2025/11/21 12:00] – gaetan | 01_user_documentation:07_rgg_xl:03_query_graph:01_derivation [2025/11/21 12:00] (current) – gaetan | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| Rules of the XL programming language are executed when the control flow reaches them. The execution of a rule finds all matches of the left-hand side and, for each match, performs the statements of the right-hand side. Thus, for a producer implementation which constructs a parallel production, the control flow in the sense of relational growth grammars the family of all executed rules and applies each rule via every possible match in the current graph. This is a true parallel mode of derivation. The different derivation modes enable to use a different control flow. | Rules of the XL programming language are executed when the control flow reaches them. The execution of a rule finds all matches of the left-hand side and, for each match, performs the statements of the right-hand side. Thus, for a producer implementation which constructs a parallel production, the control flow in the sense of relational growth grammars the family of all executed rules and applies each rule via every possible match in the current graph. This is a true parallel mode of derivation. The different derivation modes enable to use a different control flow. | ||
| + | |||
| + | ====== | ||
| To choose the derivation mode, the class Graph (Model graph) of the base implementation provides the method setDerivationMode and a set of constants to use as argument, namely | To choose the derivation mode, the class Graph (Model graph) of the base implementation provides the method setDerivationMode and a set of constants to use as argument, namely | ||
01_user_documentation/07_rgg_xl/03_query_graph/01_derivation.1763722810.txt.gz · Last modified: 2025/11/21 12:00 by gaetan
