QuestionQuestion

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.

<modelVersion>4.0.0</modelVersion>
<groupId>org.xerial</groupId>
<artifactId>sqlite-jdbc</artifactId>
<version>3.23.1</version>
<name>SQLite JDBC</name>
<description>SQLite JDBC library</description>

<parent>
    <groupId>org.sonatype.oss</groupId>
    <artifactId>oss-parent</artifactId>
    <version>9</version>
</parent>

<properties>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

<licenses>
    <license>
      <name>The Apache Software License, Version 2.0</name>
      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
      <distribution>repo</distribution>
    </license>
</licenses>

<developers>
    <developer>
      <id>leo</id>
      <name>Taro L. Saito</name>
      <email>leo@xerial.org</email>
      <organization>Xerial Project</organization>
      <roles>
       <role>Architect</role>
       <role>Project Manager</role>
       <role>Chief Developer</role>
      </roles>
      <timezone>+9</timezone>
    </developer>
</developers>

<build>
    <resources>
      <resource>
       <directory>src/main/resources</directory>
       <includes>
          <include>org/**</include>
       </includes>
      </resource>
      <resource>
       <directory>src/main/resources</directory>
       <targetPath>META-INF/services</targetPath>
       <includes>
          <include>java.sql.Driver</include>
       </includes>
      </resource>
      <resource>
       <directory>src/main/resources</directory>
       <filtering>true</filtering>
       <includes>
          <include>**/sqlite-jdbc.properties</include>
       </includes>
      </resource>...

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

$45.00
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.

Decision:
Upload a file
Continue without uploading

SUBMIT YOUR HOMEWORK
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