You can then run the app from CLI by simply calling `swf2userSessions`.
You can also clone the repository and directly execute the main script `python3 swf2userSessions/swf2sessions.py`.
Requirements:
- python3
-[networkx](https://github.com/networkx/networkx)(optional, for the graph outputs): `pip3 install networkx`
-[pytest](https://pytest.org/)(optional, for the tests): `pip3 install pytest`
## Usage
To run the session decomposition on the workload `workloads/example.swf` illustrated above, with "Arrival" delimitation approach and a threshold of 60 minutes:
```terminal
python3 swf2userSessions.py -a 60 workloads/example.swf out/
swf2userSessions -a 60 workloads/example.swf out/
```
For more documentation, see: `python3 swf2userSessions.py -h`
For more documentation, see: `swf2userSessions -h`