Skip to content

seburgi/java

Repository files navigation

WALTER GROUP Hackathon: Sustainable Logistics

This is the Java agent template repository for the
WALTER GROUP Hackathon: Sustainable Logistics which you can use to get started quickly.

Organiser WALTER GROUP Join Slack chat

For a detailed explanation of how to make a copy of this repository and get it into the competition build system, please visit Agent template repositories and competition build system. All questions about the simulation and its rules are answered under Simulation.

Prerequisites

  • IDE - We strongly advise you to use an IDE which will help you to edit, compile and run Java code. Our recommendation is IntelliJ IDEA, which you can download for free at: https://www.jetbrains.com/idea/download
  • JDK 17 - You will need a distribution of JDK 17 on your machine. Our recommendation is the Adoptium project, which you can download for free at: https://adoptium.net/

Where should I add the logic of my truck agent?

  • Open the project in your favorite IDE and browse to src/main/java/com/hackathon/truckagent/TruckAgentController.java
  • The method decide will always be called by the simulation when the next decision is needed from your truck agent. The argument of this method contains all the information you need to decide for the next move. Just return an instance of DecideRequest and the simulation will take over again.

How can I test my truck agent?

How can I run the truck agent or its tests without an IDE?

  • ./gradlew clean bootRun will start the truck agent, which will then service requests on port 8080.
  • ./gradlew clean test will execute all the tests in the project.

Can I get more information about the model properties?

Sure, check out our API documentation and also thoroughly read our Simulation documentation.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published