Giter Site home page Giter Site logo

multiagentsystem's Introduction

Dutch and English Auctioning System

This java program will initiate Buyer and Seller agents which can communicate with eachother and carry out auctioning of fish, similair to a Fishmarket.

I assume you are using a standard bash terminal, and have Java installed(preferably version 8) To run the program:

  1. Clone this repo
  2. While inside the repo make sure you can executing bash scripts by setting chmod +x Runme.sh
  3. Now you can run the bash file, e.g. ./Runme.sh 3 which initiates 3 different Buyer Agents

For test cases, you can input different number of agents as shown in step 3 and see how it affects the number of messages exchanged and price of goods sold. It is worthy to note that each buyer agent has randomly intilised price evaluations so many tests is preferable to get some averagr results.

Screenshots:

Mailbox

  • Shows the number of mails recieved or sent
  • Shows the types of messages exchanged
  • Shows the Sender(deposits) and Receiver of messages

Message types are as follows:

  1. NOT_UNDERSTOOD (type0)
  2. END (type2)
  3. TELl_BID (type3)
  4. ACCEPT (type4)
  5. INFORM_START_OF_AUCTION (type6)
  6. CALL_FOR_PROPOSAL (type7)

Alt text

Seller

  • Some print statements informing messages statements,
  • Auction ID is reported,
  • Item names and prices are reported
  • Type of Auction is displayed
  • Profits are calculated and displayed

Alt text


Buyers

  • Some print messages indicating the response of the Agents
  • Displays the offer and item when a bid is placed
  • Notification of winning item and price
  • Money saved comapring with reserve price is also shown

Alt text Alt text Alt text

multiagentsystem's People

Contributors

jimmyable avatar

Watchers

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