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

VIATRA/Query/DeveloperDocumentation/FeatureSetAndTesting/Rete

< VIATRA‎ | Query‎ | DeveloperDocumentation/FeatureSetAndTesting
Revision as of 03:23, 21 April 2015 by Harmath.incquerylabs.com (Talk | contribs) (Augment specification of visualization)

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