https://github.com/francomano/aliencorps
This is an implementation of a multiagent system in 2APL, i.e. The Alien Trading Corporation: an interstellar entity specializing in the sourcing, manufacturing, and selling of unique products from an alien planet to Earth-based customers.If this project was helpful for you please leave a star!
https://github.com/francomano/aliencorps
2apl agents alien jade java multiagent-systems prolog
Last synced: 5 months ago
JSON representation
This is an implementation of a multiagent system in 2APL, i.e. The Alien Trading Corporation: an interstellar entity specializing in the sourcing, manufacturing, and selling of unique products from an alien planet to Earth-based customers.If this project was helpful for you please leave a star!
- Host: GitHub
- URL: https://github.com/francomano/aliencorps
- Owner: francomano
- Created: 2024-05-07T13:49:13.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-31T15:07:42.000Z (about 2 years ago)
- Last Synced: 2025-02-01T08:14:34.404Z (over 1 year ago)
- Topics: 2apl, agents, alien, jade, java, multiagent-systems, prolog
- Language: Java
- Homepage: https://www.cs.upc.edu/~jvazquez/teaching/masd/
- Size: 46.5 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# AlienCorps
## How to Run
1. **Clone the Repository**
- Clone the repository into your working directory.
2. **Navigate to Your Working Directory**
- Open your terminal and move to your working directory.
3. **Run the 2APL Platform**
- Execute the following command in the terminal:
```sh
java -jar 2apl.jar
```
- If the `2apl.jar` file works correctly, you should see the following prompt:

4. **Configure 2APL Platform**
- Select `No Jade` and click `OK`. The output should look like this:

5. **Load the MAS**
- Click on the **Load MAS** icon (the only active icon).
- Navigate to your working directory and select the `aliens.mas` file in the `src` folder.

6. **Run the MAS**
- If everything has been done correctly, you should see the names of the agents of our MAS on the left side.
- To run it, click on the **play button**:
- The first button runs the MAS indefinitely.
- The second button performs one deliberation cycle.
- The third button performs one deliberation step.
- The terminal should now display the log of the environment, printing messages.