Gantt To CPM Networks

Bx Examples Repository

Title: Gantt2CPMNetworks

Version: 0.1

Type:

Sketch.

Overview

This example checks if a bx approach/tool can handle m2n relationships between elements.
In this particular case, Activities in CPM networks correspond both to Activities as well as Dependencies in Gantt diagrams.
This means that the backward direction is in general non-deterministic, but is to be controlled via additional "coding conventions".

Models

In the diagram below (taken from [1]), simple class diagrams are used to show one possible representation of this scenario.

gantt2cpm.tiff

Consistency

Gant diagrams correspond to CPM networks, CPM activities together with source and target events correspond to Gantt activities, and CPM activities with an "->" in their names correspond to Gantt dependencies.
A concrete example (from [1]) showing a consistent pair of a Gantt diagram (a) and a CPM network (b) is depicted below:

gantt2cpmExample.tiff

Consistency Restoration

Out-of-scope for [1].

Properties [optional section]

Variants [optional section]

Discussion

References [optional section]

This example is taken from the following paper:

[1] Westfechtel, Bernhard. "Case-based exploration of bidirectional transformations in QVT Relations." Software & Systems Modeling (2016): 1-41.

Author(s)

Bernhard Westfechtel, Anthony Anjorin

Reviewer(s)

Comments

Artefacts [optional section]

An implementation with QVT-R can be taken from: Westfechtel, Bernhard. "Case-based exploration of bidirectional transformations in QVT Relations." Software & Systems Modeling (2016): 1-41.
An implementation with TGGs can be downloaded from here or viewed as diagrams here.
Note that both the paper and implementations focussed on "batch" forward and backward transformations and not on consistency restoration.

Unless otherwise stated, the content of this page is licensed under GNU Free Documentation License.