Giter Club home page Giter Club logo

multi-agent's Introduction

Argumentation-based Dialogue for choosing a car engine

PERUCHOT Nicolas, VICAIRE Thomas

Example

alt text

Can be run with

python pw_argumentation.py

This is the main script to run the argumentation. The two agents argue until one of them run out of arguments.

Installation

make install

Tests

Run tests for the preferences and arguments.

pytest

Code

Explanation of our choices in critical files and classes.

src/agent/ArgumentAgent.py

ArgumentAgent has the attribute items_with_infos which is of type Dict[Item, Dict[CriterionName, CriterionValue]]

src/preferences/Preferences.py

Preferences takes as a parameters a parameter of type Dict[Item, Dict[CriterionName, CriterionValue]] to keep track of all the preferences.

src/argumentation/Argument.py

Each argument is a list of the following format: [Item, CriterionName, CriterionValue].

We chose to implement three types of argument:

  • get_proposal which allows to find the best or worst value for any criterion
  • get_counter_proposal which allows the agent to counter an argument with a criterion that is more important for them than the one used by the opponent
  • get_other_item_with_better_value_for_same_criterion which allows to find a better item for the criterion used by the opponent

Depending on the situation (the last used arguments for example), the agent chooses an argument strategy with get_argument.

multi-agent's People

Contributors

nicolasperuchot avatar thomasvic 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.