项目作者: AntoninDuval

项目描述 :
A multi-agent project for the course Multi-Agent where two agents use argumentation to make choices.
高级语言: Java
项目地址: git://github.com/AntoninDuval/MAAB---Multi-agent-Argument-Based-Negotiation.git


Practical Work 3: Argumentation & negotiation simulation with JADE

JADE (Java Agent DEvelopment Framework) is a software Framework fully implemented in the Java language.
It simplifies the implementation of multi-agent systems through a middle-ware that complies with the FIPA specifications and through a set of graphical tools that support the debugging and deployment phases.

PW3 Engine: This practical session will be devoted to the programming of a negotiation \& argumentation simulation.
Agents representing human engineering will need to negotiate with each other to make a common decision regarding the choice of the best engine.
The negotiation comes when the agents have different centralesupelec.engine.preferences on the criteria and the argumentation will be used to help them to decide which item to select.
Moreover, the arguments supporting the best option will help to build the justification that the engineering should provide to their manager at the end.

  1. Dependencies
  2. Implement your work
  3. Run your project

Dependencies

Java JDK 8 must be installed on the computer :

On Windows

  1. Go to Oracle website and download the JDK corresponding to your computer architecture (x64 or x86): Java

  2. After the installation, you have to add java in the PATH.

On Linux (Debian / Ubuntu)

  1. sudo apt-get install openjdk-8-jdk

On Mac OS

  1. Go to Oracle website and download the JDK .dmg file: Java

  2. From either the browser Downloads window or from the file browser, double-click the .dmg file to start it. A Finder window appears that contains an icon of an open box and the name of the .pkg file.

  3. Double-click the JDK .pkg icon to start the installation application.

Implement your work

Download or clone the repository.

Open the project with Eclipse or IntelliJ (or another IDE).

Implement your agents in the agents package. Implement your other work as you want in another packages.

Run your project

With Gradle:

  1. # Build your project
  2. gradlew build
  3. # Run JADE GUI
  4. gradlew run
  5. # Run your project
  6. gradlew launch

With java command lines:

  1. # Run JADE GUI
  2. java -cp libs/jade-4.5.0.jar -cp pw3-engine-0.1.jar jade.Boot -gui

In the window, on the left, click right on the Main Container package and choose Start new agent.

In the new window, select the class of your agent and give it a name. Click on start.

  1. # Run your project
  2. java -cp libs/jade-4.5.0.jar -jar pw3-engine-0.1.jar

Look at the terminal to see your project run.