Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "VIATRA/Query/DeveloperDocumentation/FeatureSetAndTesting/Rete"
m (Harmath.incquerylabs.com moved page EMFIncQuery/DeveloperDocumentation/FeatureSetAndTesting/Rete to VIATRA/Query/DeveloperDocumentation/FeatureSetAndTesting/Rete: Project merge) |
|||
(5 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
+ | __TOC__ | ||
+ | |||
=== Rete Visualizer === | === Rete Visualizer === | ||
− | The Rete algorithm is a pattern matching algorithm for implementing production rule systems. It is used to determine which of the system's rules should fire based on its data store. | + | The Rete algorithm is a pattern matching algorithm for implementing production rule systems. It is used to determine which of the system's rules should fire based on its data store. With the Rete Visualizer, you can view the Rete network to which your patterns were mapped, with the Rete nodes showing various bits of information, e.g. match count. |
Usage: | Usage: | ||
Line 10: | Line 12: | ||
# To change the visualized Rete net, unload the pattern and load with the green start button. | # To change the visualized Rete net, unload the pattern and load with the green start button. | ||
+ | [[File:rete.png|700px|center]] | ||
− | + | Displayed information: | |
− | + | * The nodes are the Rete nodes | |
+ | ** Label: node type [match count] | ||
+ | *** Input node: type key | ||
+ | *** Production node: pattern name | ||
+ | * The edges point from the parents to the children | ||
+ | ** Label: in case of beta nodes, the identifier of the edge (left/right) | ||
Settings: | Settings: |
Latest revision as of 09:18, 10 March 2016
Contents
Rete Visualizer
The Rete algorithm is a pattern matching algorithm for implementing production rule systems. It is used to determine which of the system's rules should fire based on its data store. With the Rete Visualizer, you can view the Rete network to which your patterns were mapped, with the Rete nodes showing various bits of information, e.g. match count.
Usage:
- Go to Window | Show View | Other... and choose Rete Visualizer.
- Load the instance model and the pattern.
- Click on the pattern name to visualize it.
- To change the visualized Rete net, unload the pattern and load with the green start button.
Displayed information:
- The nodes are the Rete nodes
- Label: node type [match count]
- Input node: type key
- Production node: pattern name
- Label: node type [match count]
- The edges point from the parents to the children
- Label: in case of beta nodes, the identifier of the edge (left/right)
Settings:
- Refresh Graph
- Clear Graph
- Set zoom level
- Set layout of the graph (You may change the layout by clicking the downward pointing triangle and going to the Layout menu)
- Tree
- SpaceTree (Eclipse dies)
- Spring
- Radial
- Sugiyama