Giter Site home page Giter Site logo

edo-pasto / mas_project Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 18 KB

Repo of the Multi agent System course's project, during the A.Y. 2022/2023 at the University of Genova.

Java 70.29% ASL 29.71%
agent architecture bdi code computer-science domestic health infrastructure jason java

mas_project's Introduction

Domestic Health Assistance

Multi Agent System's project, A.Y. 2022/2023

Edoardo Pastorino, 5169595


Introduction

This project, using the definition of a MAS, refers to an hypothetical situation in which a sick patient is stuck in the bed of his/her room for some illness. This patient need to be cured ingesting some medicines, like syrup, antibiotic or pills. For this reason, he/she needs help from some robot nurse agents to complete this process. He/She could has also the need to call the 911 emergency number if his/her health should suddenly worsen, asking to the appropriate SOS agent to call the specific telephone number, thanks to a phone situated inside the room. Since the medicines inside the cabinet sooner or later could finish, another agent is responsible to order and refill the cabinet with the new delivered medicinal. At the same time the patient has to pay the ambulance that performs the deliver service. The sick person is able to make the payment thanks to the help of a payment manager agent. All these processes are implemented following the syntax, based on the BNF form (Backus-Naur form), of an AgentSpeak(L) language called Jason, a Java-based interpreter for an extended version of AgentSpeak.


Directory Info

This is the directory of th Multi Agent System's project. The main directory contains all the files needed for making work the project:

  • the three java files, used to create the graphical environment.
  • the domesticHealthAssistant.mas2j main file needed to start the simulation.
  • the six asl files, containing the Jason code of each agent. More precisely they are situated inside src/asl/ directory.

Basic Instructions

  • Install the JDK (version greater or equal 1.8v).
  • Install Jason language (https://sourceforge.net/projects/jason/files/jason/)
  • Move inside the jason-3.1/jedit directory and run, on the prompt, the command:
    java -jar jedit.jar
    
    and a Jason IDE will open soon.
  • Inside the IDE window click on "File" --> "Open" and choose the file named "domesticHealtAssistant.mas2j"
  • Click on the green play button on the lower-right part of the window to start the project simulation.

mas_project's People

Contributors

edo-pasto 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.