This document describes how to run and recompile the tool:
- Using
compset.ova
(supports running/recompiling, inside a virtual machine) - Using
compset-bin
(supports running, outside a virtual machine) - Using
compset-src
(supports running/recompiling, outside a virtual machine)
-
Import
compset.ova
to the VirtualBox. -
Login using the following credentials: "compset" (username) and "compset" (password).
-
Open
~/Desktop/compset-bin/index.html
in a web browser supportingJavaScript
.left panels provide the input interface. It consists of an input form to write new global types (
Session
), checkboxes to modify semantical properties (Settings
), and buttons to load existing examples (Examples
). By default, themaster-workers - v1
example is loaded. The right panels provide the output interface. -
To visualize the global type as a sequence diagram, click on the
Message Sequence Chart
title (not the whole box; exactly the title). -
To visualize the projections, an option from
Merge
must be selected. Confirm the decision by clicking on the reload button by the right side of theSettings
title. When the button is hovered, a pop-up statingLoad settings
should appear.To visualize the projections as text, click on the
Locals
title. To visualize the projections as LTS, click on theLocal Automata
title. -
To interact with the communication model, an option from
Comm Model
must be selected. Confirm the decision.To visualize the LTS regarding the whole communication model, click on the
Local Compositional Automata
title. To reconstruct possible traces, click on theStep-by-Step
title. -
To visualize the
Bisimulation
comparison, multiple options fromComm Model
must be selected. Confirm the decision.Click on the
Bisimulation
title. -
To suppress errors regarding the presence of recursion implementations, the matching option from
Recursion
must be selected. Confirm the decision. -
To suppress errors regarding the presence of parallel composition, the
Parallel
option must be selected. Confirm the decision. -
To check if the branching behaviour complies with the expected behaviour from MPST, the
Well Branched
option must be selected underExtra Requirements
. Confirm the decision. -
To make the parallel composition comply with different communication on different sub-protocols, the
Well Channeled
option must be selected underExtra Requirements
. Confirm the decision. -
New global types and settings can be experimented upon by tweaking with
Session
andSettings
respectively (and confirming it).In this case, to remove errors provided by the previous sessions fix the issue and reload (through the reload button) the according widget (either
Settings
orSession
).
-
SBT and JRE (Java Runtime Environment 1.8) are required.
Both are already installed in the virtual machine.
-
Compile the code by opening a terminal in
compset-src
and executing:sbt fastOptJS
-
Open
~/Destktop/compset-src/lib/caos/tool/index.html
in a web browser supportingJavaScript
.
-
Open
compset-bin/index.html
in a web browser supportingJavaScript
.left panels provide the input interface. It consists of an input form to write new global types (
Session
), checkboxes to modify semantical properties (Settings
), and buttons to load existing examples (Examples
). By default, themaster-workers - v1
example is loaded. The right panels provide the output interface. -
To visualize the global type as a sequence diagram, click on the
Message Sequence Chart
title (not the whole box; exactly the title). -
To visualize the projections, an option from
Merge
must be selected. Confirm the decision by clicking on the reload button by the right side of theSettings
title. When the button is hovered, a pop-up statingLoad settings
should appear.To visualize the projections as text, click on the
Locals
title. To visualize the projections as LTS, click on theLocal Automata
title. -
To interact with the communication model, an option from
Comm Model
must be selected. Confirm the decision.To visualize the LTS regarding the whole communication model, click on the
Local Compositional Automata
title. To reconstruct possible traces, click on theStep-by-Step
title. -
To visualize the
Bisimulation
comparison, multiple options fromComm Model
must be selected. Confirm the decision.Click on the
Bisimulation
title. -
To suppress errors regarding the presence of recursion implementations, the matching option from
Recursion
must be selected. Confirm the decision. -
To suppress errors regarding the presence of parallel composition, the
Parallel
option must be selected. Confirm the decision. -
To check if the branching behaviour complies with the expected behaviour from MPST, the
Well Branched
option must be selected underExtra Requirements
. Confirm the decision. -
To make the parallel composition comply with different communication on different sub-protocols, the
Well Channeled
option must be selected underExtra Requirements
. Confirm the decision. -
New global types and settings can be experimented upon by tweaking with
Session
andSettings
respectively (and confirming it).In this case, to remove errors provided by the previous sessions fix the issue and reload (through the reload button) the according widget (either
Settings
orSession
).
-
Open
/compset-src/lib/caos/tool/index.html
in a web browser supportingJavaScript
.left panels provide the input interface. It consists of an input form to write new global types (
Session
), checkboxes to modify semantical properties (Settings
), and buttons to load existing examples (Examples
). By default, themaster-workers - v1
example is loaded. The right panels provide the output interface. -
To visualize the global type as a sequence diagram, click on the
Message Sequence Chart
title (not the whole box; exactly the title). -
To visualize the projections, an option from
Merge
must be selected. Confirm the decision by clicking on the reload button by the right side of theSettings
title. When the button is hovered, a pop-up statingLoad settings
should appear.To visualize the projections as text, click on the
Locals
title. To visualize the projections as LTS, click on theLocal Automata
title. -
To interact with the communication model, an option from
Comm Model
must be selected. Confirm the decision.To visualize the LTS regarding the whole communication model, click on the
Local Compositional Automata
title. To reconstruct possible traces, click on theStep-by-Step
title. -
To visualize the
Bisimulation
comparison, multiple options fromComm Model
must be selected. Confirm the decision.Click on the
Bisimulation
title. -
To suppress errors regarding the presence of recursion implementations, the matching option from
Recursion
must be selected. Confirm the decision. -
To suppress errors regarding the presence of parallel composition, the
Parallel
option must be selected. Confirm the decision. -
To check if the branching behaviour complies with the expected behaviour from MPST, the
Well Branched
option must be selected underExtra Requirements
. Confirm the decision. -
To make the parallel composition comply with different communication on different sub-protocols, the
Well Channeled
option must be selected underExtra Requirements
. Confirm the decision. -
New global types and settings can be experimented upon by tweaking with
Session
andSettings
respectively (and confirming it).In this case, to remove errors provided by the previous sessions fix the issue and reload (through the reload button) the according widget (either
Settings
orSession
).