
April 28th, 2004, 03:18 AM
|
|
Registered User
|
|
Join Date: Apr 2004
Posts: 2
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
Shopping with aglets
Can i get the source code for the following program using aglets:
You must demonstrate that your agents are mobile and therefore able to go from one hardware platform to another. Your demonstration must be carried out on more than one hardware platform. But, these platforms may be of the same type (Linux, Windows, etc.).
Specification:
You are required to implement a "smart" shopping mall that can support consumers using mobile agents. The system will consist of a mall that is managed by a WarehouseAgent, StockAgents, TransportAgents and ShoppingAgents. The ShoppingAgents represent Consumers. ShoppingAgents must incorporate the following abilities:
1. Query the WarehouseAgent regarding stock and transport.
2. Query the StockAgents (products, cost, availability).
3. Query the TransportAgents (delivery time and price).
4. Purchase an item and arrange shipping. There are five options:
Case a: The item is available at an acceptable price and it can be delivered on time.
Case b: The item is available for an acceptable price but it can not be delivered on time.
Case c: The item is available and it can be delivered on time but the price needs to be negotiated.
Case d: The item is not available.
Extensions: Search at least three warehouses for available items. Thus, the mobile ShoppingAgent must visit three Warehouses in its search for an item. The same cases a, b, c, and d apply. In cases b, c, and d a clone of the agent must be made to perform the negotiation in parallel as the ShoppingAgent continues its search.
Cheers
thamsss
|