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

Henshin/Critical Pair Analysis

< Henshin
Revision as of 08:23, 17 March 2016 by Kristopherborn.gmx.de (Talk | contribs) (Created page with "The '''critical pair analysis''' (CPA) enables to find all potential conflicts and dependencies of a set of transformation rules. The results of the analyses are critical pair...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The critical pair analysis (CPA) enables to find all potential conflicts and dependencies of a set of transformation rules. The results of the analyses are critical pairs, of which each report on a potential conflict or dependency between two transformation rules. A critical pair describes a minimal situation consisting of the first rule and the second rule as well as a minimal model.

As the transformations in Henshin for the Eclipse Modeling Framework are formally based on graph transformations, the critical pair analysis is also based on algebraic graph transformations.

Kinds of conflicts and dependencies

The CPA is able to analyze two kinds of relations among transformation rules, conflicts and dependencies. Conflicts reveal the relationship among two rules that the execution of the first transformation rule disables the execution of the second transformation rule. Dependencies on the other hand reveal the relationship among two transformation rules that the execution of the first rule enables the execution of the second rule on the resulting model.

Conflicts

A conflict generally describes a situation in which the two involved rules are both applicable on the minimal model. Applying the first rule of the two involved rules on the minimal model leads to changed result model. While the second rule could have been applied on the minimal model of the beginning, it’s no more applicable on the result model. Various situations can be encountered, which are described by the following different kinds of conflicts.

  • Delete-use-conflict
  • Produce-forbid-conflict
  • Change-use-conflict
  • Change-forbid-conflict

Dependencies

Features

Supported Features

Unsupported Features

CPA Wizard

CPA API

Back to the top