Skip to main content

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.

Jump to: navigation, search

Difference between revisions of "VIATRA/Query/DeveloperDocumentation/FeatureSetAndTesting/Rete"

(Created page with "=== Rete Visualizer === Usage: # Go to Window | Show View | Other... and choose Rete Visualizer. # Load the instance model and the pattern. # Click on the pattern name to vis...")
 
 
(10 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. 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 7: 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]]
  
[[File:rete.png|900px|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)
  
Setttings:
+
Settings:
 
* Refresh Graph
 
* Refresh Graph
 
* Clear Graph
 
* Clear Graph
 
* Set zoom level
 
* Set zoom level
* Set layout of the graph
+
* Set layout of the graph (You may change the layout by clicking the downward pointing triangle and going to the Layout menu)
 
** Tree
 
** Tree
 
** SpaceTree (Eclipse dies)
 
** SpaceTree (Eclipse dies)

Latest revision as of 09:18, 10 March 2016

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:

  1. Go to Window | Show View | Other... and choose Rete Visualizer.
  2. Load the instance model and the pattern.
  3. Click on the pattern name to visualize it.
  4. To change the visualized Rete net, unload the pattern and load with the green start button.
Rete.png

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:

  • 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

Back to the top