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.ovato the VirtualBox. -
Login using the following credentials: "compset" (username) and "compset" (password).
-
Open
~/Desktop/compset-bin/index.htmlin 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 - v1example is loaded. The right panels provide the output interface. -
To visualize the global type as a sequence diagram, click on the
Message Sequence Charttitle (not the whole box; exactly the title). -
To visualize the projections, an option from
Mergemust be selected. Confirm the decision by clicking on the reload button by the right side of theSettingstitle. When the button is hovered, a pop-up statingLoad settingsshould appear.To visualize the projections as text, click on the
Localstitle. To visualize the projections as LTS, click on theLocal Automatatitle. -
To interact with the communication model, an option from
Comm Modelmust be selected. Confirm the decision.To visualize the LTS regarding the whole communication model, click on the
Local Compositional Automatatitle. To reconstruct possible traces, click on theStep-by-Steptitle. -
To visualize the
Bisimulationcomparison, multiple options fromComm Modelmust be selected. Confirm the decision.Click on the
Bisimulationtitle. -
To suppress errors regarding the presence of recursion implementations, the matching option from
Recursionmust be selected. Confirm the decision. -
To suppress errors regarding the presence of parallel composition, the
Paralleloption must be selected. Confirm the decision. -
To check if the branching behaviour complies with the expected behaviour from MPST, the
Well Branchedoption must be selected underExtra Requirements. Confirm the decision. -
To make the parallel composition comply with different communication on different sub-protocols, the
Well Channeledoption must be selected underExtra Requirements. Confirm the decision. -
New global types and settings can be experimented upon by tweaking with
SessionandSettingsrespectively (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
SettingsorSession).
-
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-srcand executing:sbt fastOptJS -
Open
~/Destktop/compset-src/lib/caos/tool/index.htmlin a web browser supportingJavaScript.
-
Open
compset-bin/index.htmlin 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 - v1example is loaded. The right panels provide the output interface. -
To visualize the global type as a sequence diagram, click on the
Message Sequence Charttitle (not the whole box; exactly the title). -
To visualize the projections, an option from
Mergemust be selected. Confirm the decision by clicking on the reload button by the right side of theSettingstitle. When the button is hovered, a pop-up statingLoad settingsshould appear.To visualize the projections as text, click on the
Localstitle. To visualize the projections as LTS, click on theLocal Automatatitle. -
To interact with the communication model, an option from
Comm Modelmust be selected. Confirm the decision.To visualize the LTS regarding the whole communication model, click on the
Local Compositional Automatatitle. To reconstruct possible traces, click on theStep-by-Steptitle. -
To visualize the
Bisimulationcomparison, multiple options fromComm Modelmust be selected. Confirm the decision.Click on the
Bisimulationtitle. -
To suppress errors regarding the presence of recursion implementations, the matching option from
Recursionmust be selected. Confirm the decision. -
To suppress errors regarding the presence of parallel composition, the
Paralleloption must be selected. Confirm the decision. -
To check if the branching behaviour complies with the expected behaviour from MPST, the
Well Branchedoption must be selected underExtra Requirements. Confirm the decision. -
To make the parallel composition comply with different communication on different sub-protocols, the
Well Channeledoption must be selected underExtra Requirements. Confirm the decision. -
New global types and settings can be experimented upon by tweaking with
SessionandSettingsrespectively (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
SettingsorSession).
-
Open
/compset-src/lib/caos/tool/index.htmlin 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 - v1example is loaded. The right panels provide the output interface. -
To visualize the global type as a sequence diagram, click on the
Message Sequence Charttitle (not the whole box; exactly the title). -
To visualize the projections, an option from
Mergemust be selected. Confirm the decision by clicking on the reload button by the right side of theSettingstitle. When the button is hovered, a pop-up statingLoad settingsshould appear.To visualize the projections as text, click on the
Localstitle. To visualize the projections as LTS, click on theLocal Automatatitle. -
To interact with the communication model, an option from
Comm Modelmust be selected. Confirm the decision.To visualize the LTS regarding the whole communication model, click on the
Local Compositional Automatatitle. To reconstruct possible traces, click on theStep-by-Steptitle. -
To visualize the
Bisimulationcomparison, multiple options fromComm Modelmust be selected. Confirm the decision.Click on the
Bisimulationtitle. -
To suppress errors regarding the presence of recursion implementations, the matching option from
Recursionmust be selected. Confirm the decision. -
To suppress errors regarding the presence of parallel composition, the
Paralleloption must be selected. Confirm the decision. -
To check if the branching behaviour complies with the expected behaviour from MPST, the
Well Branchedoption must be selected underExtra Requirements. Confirm the decision. -
To make the parallel composition comply with different communication on different sub-protocols, the
Well Channeledoption must be selected underExtra Requirements. Confirm the decision. -
New global types and settings can be experimented upon by tweaking with
SessionandSettingsrespectively (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
SettingsorSession).