A Java-based simulation of agent behaviour and transactions

Based on the e-commerce scenario below (adapted and extended from Ogasawara, N. (2005). System and method for electronic shopping using an interactive shopping agent. Google Patents. US Patent 6,868,392), write a Java program, to simulate the agent behaviour and transactions as described in this scenario. Note that the interactions follow a variant of the Contract-Net protocol. [Hint: For this simulation, agents do not need to be physically distributed and can therefore invoke each other's methods directly and no network programming is required.]

Consider an e-commerce system in which some autonomous agents are selling products on behalf of retailers and other agents are buying products on behalf of customers. These agents interact via a broker agent, which facilitates the shopping process. The broker agent has access to all customer profiles as well as every retailer's product database. Customers and their agents specify the purchase order with various constraints, e.g., price range, quantity, delivery options, etc., and initiate the purchasing process through the broker agent. The broker agent evaluates the order and invites a selection of retailers for their offers. Retailers may provide an offer for the requested product or decline. The broker agent may analyse the offers and recommend the best offer to a customer but customers make the final decision over which product to purchase.

You do not need to emulate Ogasawara’s physical agent architecture and any aspects related to electronic payments and Internet security are beyond the scope of this exercise.

Solution PreviewSolution Preview

These solutions may offer step-by-step problem-solving explanations or good writing examples that include modern styles of formatting and construction of bibliographies out of text citations and references. Students may use these solutions for personal skill-building and practice. Unethical use is strictly forbidden.

<name>SQLite JDBC</name>
<description>SQLite JDBC library</description>



      <name>The Apache Software License, Version 2.0</name>

      <name>Taro L. Saito</name>
      <organization>Xerial Project</organization>
       <role>Project Manager</role>
       <role>Chief Developer</role>


By purchasing this solution you'll be able to access the following files:

for this solution

PayPal, G Pay, ApplePay, Amazon Pay, and all major credit cards accepted.

Find A Tutor

View available Java Programming Tutors

Get College Homework Help.

Are you sure you don't want to upload any files?

Fast tutor response requires as much info as possible.

Upload a file
Continue without uploading

We couldn't find that subject.
Please select the best match from the list below.

We'll send you an email right away. If it's not in your inbox, check your spam folder.

  • 1
  • 2
  • 3
Live Chats