Skip to content

HBRS-MAAS/ws18-project-mas_maas

Repository files navigation

Codacy Badge Build Status Coverage Status

MAAS Project -

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.

Team Members

Dependencies

  • 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

Eclipse

To use this project with eclipse run

gradle eclipse

This command will create the necessary eclipse files. Afterwards you can import the project folder.

How to run

  • Change the time step in the scenarioDirectory/meta.json file to 1 minute.

  • The simulation will end at the endTime indicated in the Start.java file. Line 67 for the DoughPrep stage and line 83 for the bakingMasMaas stage (the baking stage implemented by team mas_maas).

Run preparation stages in one computer

Run only the Dough Preparation Stage

gradle run --args='-doughPrep -scenarioDirectory nameScenarioDirectory'

Example:

gradle run --args='-doughPrep -scenarioDirectory small'

Run only the Dough Preparation Stage with visualization

gradle run --args='-doughPrepVisual -scenarioDirectory nameScenarioDirectory'

Example:

gradle run --args='-doughPrepVisual -scenarioDirectory small'

Run both Dough Preparation and Baking Stage

gradle run --args='-doughPrep -bakingMasMaas -baking -scenarioDirectory nameScenarioDirectory'

Example:

gradle run --args='-doughPrep -bakingMasMaas -baking -scenarioDirectory small'

Run preparation Dough and Baking Stages in different computers

  • Connect to the same network
  • Find the ip address of the server/host machine
  • Use port 5555

Run the Baking Stage in the server/host machine

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"

Run the doughStage in the client machine

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"

About

ws18-project-mas_maas created by GitHub Classroom

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages