This project contains the dough preparation and baking stage for the MAAS WS 18/19. It uses proofer and coolingRack interface agents. Proofer connects dough preparation and baking stage, while coolingRack links the baking and packaging stage.
- Erick Kramer - erickkramer
- Angela Enriquez - anenriquez
- Ethan Massey - emassey2
- JADE v.4.5.0
- ...
Install gradle and run:
gradle run
It will automatically get the dependencies and start JADE with the configured agents. In case you want to clean you workspace run
gradle clean
To use this project with eclipse run
gradle eclipse
This command will create the necessary eclipse files. Afterwards you can import the project folder.
-
Change the time step in the
scenarioDirectory/meta.json
file to 1 minute. -
The simulation will end at the
endTime
indicated in theStart.java
file. Line 67 for the DoughPrep stage and line 83 for the bakingMasMaas stage (the baking stage implemented by team mas_maas).
gradle run --args='-doughPrep -scenarioDirectory nameScenarioDirectory'
Example:
gradle run --args='-doughPrep -scenarioDirectory small'
gradle run --args='-doughPrepVisual -scenarioDirectory nameScenarioDirectory'
Example:
gradle run --args='-doughPrepVisual -scenarioDirectory small'
gradle run --args='-doughPrep -bakingMasMaas -baking -scenarioDirectory nameScenarioDirectory'
Example:
gradle run --args='-doughPrep -bakingMasMaas -baking -scenarioDirectory small'
- Connect to the same network
- Find the ip address of the server/host machine
- Use port 5555
gradle run --args="-isHost 192.168.88.182 -localPort 5555 -bakingMasMaas -scenarioDirectory nameScenarioDirectory -noTK"
Example:
gradle run --args="-isHost 192.168.88.182 -localPort 5555 -bakingMasMaas -scenarioDirectory small -noTK"
gradle run --args="-host 192.168.88.182 -port 5555 -doughPrep -scenarioDirectory nameScenarioDirectory"
Example:
gradle run --args="-host 192.168.88.182 -port 5555 -doughPrep -scenarioDirectory small"