Coder Social home page Coder Social logo

aiad-feup's Introduction

AIAD-FEUP

This repository is dedicated to the project of Agents and Distributed Artifitial Intelligence (AIAD) at Faculty of Engineering of the University of Porto (FEUP). Made by João Campos. 11/2020

  1. Objective
  2. Description
  3. First Delivery
  4. Second Delivery
  5. To run

Objective

The objective of the first part of this work is to implement communication between agents, and for this communication to affect the decisions these agents take. The first part used JADE to achieve this. The second part consists in adapting the previous part to use Repast3. Repast3 runs on a single thread, unlike JADE which runs on one thread per agent. Additionally Repast3 allows displaying networks of agents and plots of variables to visualize what agents are doing.

Description

The agents in this project play a version of The Price Is Right where there are two types of agents: audience and competitors.

In the beginning, each element of the audience is told the price of a few items. At the start of a round, an item is chosen and the audience guesses a first time. Then, the audience shares their guess with each other and each agent may change their initial guess. After everyone in the audience has a guess, the competitors ask the audience their guess. If an elemnt of the audience likes a competitor, they will send their guess, if they do not like him, they ignore the request. The competitors then have their chance to take a guess. The competitor with the closest guess wins.

After each round, each agent (audience and competitors) will change their confidence on other agents based on their accuracy on the previous round. The can play with any number of rounds, audience members, competitors and items.

First Delivery

For the first delivery, made on 15/11/2020, the contents of the project were like on commit 3118ff6. The code and report may contain errors and should not be used without previous inspection. After this point starts the second delivery which consists of adapting the project using Simple API for JADE-based Simulations (SAJaS).

Second Delivery

For the second delivery, 13/12/2020, the contents were like on commit here. As with the previous delivery, code should be used with care. This part of the project uses JADE, SAJaS and Repast3

To run

To run this project you need to download the JADE framework.

Then, compile the project with:

javac -d "./out/" -sourcepath "./src/" -cp "./lib/jade/lib/jade.jar;./lib/repast/repast.jar;./lib/sajas/lib/sajas.jar" ./src/world/WorldModel.java

With the class files generated, now run:

java -cp "./out;./lib/jade/lib/jade.jar;./lib/repast/repast.jar;./lib/sajas/lib/sajas.jar" world.WorldModel [ boolean batch [ int nAudience [ int nCompetitors [ int nItems [ float highConfidenceRate ]]]]]

aiad-feup's People

Contributors

andremmori avatar fujicsso avatar pastilhas avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.