23.08.2015 Views

Here - Agents Lab - University of Nottingham

Here - Agents Lab - University of Nottingham

Here - Agents Lab - University of Nottingham

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Table 1. Core Agent ProtocolsAgent Protocol Based On PurposeBanker open request Open a bank accountenquiry query Query your bank balanceStock Broker listing query Get a list <strong>of</strong> available stocksprice query Query the price <strong>of</strong> a particular stockportfolio query Query details <strong>of</strong> stocks currently ownedbuy request Buy a quantity/value <strong>of</strong> a particular stocksell request Sell a quantity/value <strong>of</strong> a particular stockGuru subscribe subscribe Subscribe to the guru agent’s stock tipsAuctioneer subscribe subscribe, Subscribe to details <strong>of</strong> new auctions andenglish-auction participate in these auctions.Bidder sell contract-net Sell a propertyagent that does not participate in the market may end with more money thanone that has interacted with a Stockbroker but that has lost money in doing so.5 DiscussionThe experiment participants were a final year undergraduate class in Fudan <strong>University</strong>,Shanghai, China. The evaluation was conducted as part <strong>of</strong> a module onAgent Oriented Programming. None <strong>of</strong> the participants had previous experiencein developing MASs or in using an AOP language.For consistency, all participants were required to write their code in AF-AgentSpeak so as to run within the Agent Factory framework. This removes anybias associated with the use <strong>of</strong> different AOP languages or frameworks.Students were allowed three hours in a supervised laboratory setting in whichto create their solutions. The fixed time period allows quantitative comparisonsto be done with regard to the number <strong>of</strong> protocols each student implemented.The choice <strong>of</strong> a supervised in-class test ensured that each student submittedtheir own work. Subjects were permitted to access lecture notes and refer tomanuals and user guides relating to Agent Factory, AF-AgentSpeak and ACRE.The participants were divided into two groups <strong>of</strong> equal size using a randomassignment: one group was requested to implement their solution usingthe extensions provided by ACRE whereas the other group was requested toimplement their solution using the existing Agent Factory message-passing capabilities.In preparation for the experiment, a practical session was conductedso the participants had the opportunity to gain familiarity with both forms <strong>of</strong>message handling. This occurred a week prior to the evaluation so as to affordthe students sufficient time to get accustomed to agent communication. Previouspractical sessions held as part <strong>of</strong> the module exposed the participants to otheraspects <strong>of</strong> AF-AgentSpeak and AOP programming in general.The class consisted <strong>of</strong> 46 students in total, therefore 23 were asked to implementeach type <strong>of</strong> solution. One student from the non-ACRE group did not92

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!