source: javadoc/genius/core/boaframework/BOAagent.html@ 1

Last change on this file since 1 was 1, checked in by Wouter Pasman, 7 years ago

Initial import : Genius 9.0.0

File size: 33.6 KB
Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2<!-- NewPage -->
3<html lang="en">
4<head>
5<!-- Generated by javadoc (1.8.0_112) on Thu Jun 21 12:05:56 CEST 2018 -->
6<title>BOAagent (Genius Core Documentation)</title>
7<meta name="date" content="2018-06-21">
8<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
9<script type="text/javascript" src="../../../script.js"></script>
10</head>
11<body>
12<script type="text/javascript"><!--
13 try {
14 if (location.href.indexOf('is-external=true') == -1) {
15 parent.document.title="BOAagent (Genius Core Documentation)";
16 }
17 }
18 catch(err) {
19 }
20//-->
21var methods = {"i0":6,"i1":10,"i2":10,"i3":10,"i4":10,"i5":6,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10};
22var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],8:["t4","Concrete Methods"]};
23var altColor = "altColor";
24var rowColor = "rowColor";
25var tableTab = "tableTab";
26var activeTableTab = "activeTableTab";
27</script>
28<noscript>
29<div>JavaScript is disabled on your browser.</div>
30</noscript>
31<!-- ========= START OF TOP NAVBAR ======= -->
32<div class="topNav"><a name="navbar.top">
33<!-- -->
34</a>
35<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
36<a name="navbar.top.firstrow">
37<!-- -->
38</a>
39<ul class="navList" title="Navigation">
40<li><a href="../../../overview-summary.html">Overview</a></li>
41<li><a href="package-summary.html">Package</a></li>
42<li class="navBarCell1Rev">Class</li>
43<li><a href="class-use/BOAagent.html">Use</a></li>
44<li><a href="package-tree.html">Tree</a></li>
45<li><a href="../../../deprecated-list.html">Deprecated</a></li>
46<li><a href="../../../index-all.html">Index</a></li>
47<li><a href="../../../help-doc.html">Help</a></li>
48</ul>
49</div>
50<div class="subNav">
51<ul class="navList">
52<li><a href="../../../genius/core/boaframework/BOA.html" title="class in genius.core.boaframework"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
53<li><a href="../../../genius/core/boaframework/BOAagentInfo.html" title="class in genius.core.boaframework"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
54</ul>
55<ul class="navList">
56<li><a href="../../../index.html?genius/core/boaframework/BOAagent.html" target="_top">Frames</a></li>
57<li><a href="BOAagent.html" target="_top">No&nbsp;Frames</a></li>
58</ul>
59<ul class="navList" id="allclasses_navbar_top">
60<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
61</ul>
62<div>
63<script type="text/javascript"><!--
64 allClassesLink = document.getElementById("allclasses_navbar_top");
65 if(window==top) {
66 allClassesLink.style.display = "block";
67 }
68 else {
69 allClassesLink.style.display = "none";
70 }
71 //-->
72</script>
73</div>
74<div>
75<ul class="subNavList">
76<li>Summary:&nbsp;</li>
77<li>Nested&nbsp;|&nbsp;</li>
78<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
79<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
80<li><a href="#method.summary">Method</a></li>
81</ul>
82<ul class="subNavList">
83<li>Detail:&nbsp;</li>
84<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
85<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
86<li><a href="#method.detail">Method</a></li>
87</ul>
88</div>
89<a name="skip.navbar.top">
90<!-- -->
91</a></div>
92<!-- ========= END OF TOP NAVBAR ========= -->
93<!-- ======== START OF CLASS DATA ======== -->
94<div class="header">
95<div class="subTitle">genius.core.boaframework</div>
96<h2 title="Class BOAagent" class="title">Class BOAagent</h2>
97</div>
98<div class="contentContainer">
99<ul class="inheritance">
100<li>java.lang.Object</li>
101<li>
102<ul class="inheritance">
103<li><a href="../../../genius/core/AgentAdapter.html" title="class in genius.core">genius.core.AgentAdapter</a></li>
104<li>
105<ul class="inheritance">
106<li><a href="../../../genius/core/Agent.html" title="class in genius.core">genius.core.Agent</a></li>
107<li>
108<ul class="inheritance">
109<li>genius.core.boaframework.BOAagent</li>
110</ul>
111</li>
112</ul>
113</li>
114</ul>
115</li>
116</ul>
117<div class="description">
118<ul class="blockList">
119<li class="blockList">
120<dl>
121<dt>All Implemented Interfaces:</dt>
122<dd><a href="../../../genius/core/parties/NegotiationParty.html" title="interface in genius.core.parties">NegotiationParty</a>, java.io.Serializable</dd>
123</dl>
124<hr>
125<br>
126<pre>public abstract class <span class="typeNameLabel">BOAagent</span>
127extends <a href="../../../genius/core/Agent.html" title="class in genius.core">Agent</a></pre>
128<div class="block">This class describes a basic decoupled agent. The TheBOAagent class extends
129 this class and sets the required parameters.
130
131 For more information, see: Baarslag T., Hindriks K.V., Hendrikx M.,
132 Dirkzwager A., Jonker C.M. Decoupling Negotiating Agents to Explore the Space
133 of Negotiation Strategies. Proceedings of The Fifth International Workshop on
134 Agent-based Complex Automated Negotiations (ACAN 2012), 2012.
135 https://homepages.cwi.nl/~baarslag/pub/Decoupling_Negotiating_Agents_to_Explore_the_Space_of_Negotiation_Strategies_ACAN_2012.pdf</div>
136<dl>
137<dt><span class="simpleTagLabel">Author:</span></dt>
138<dd>Tim Baarslag, Alex Dirkzwager, Mark Hendrikx</dd>
139<dt><span class="seeLabel">See Also:</span></dt>
140<dd><a href="../../../serialized-form.html#genius.core.boaframework.BOAagent">Serialized Form</a></dd>
141</dl>
142</li>
143</ul>
144</div>
145<div class="summary">
146<ul class="blockList">
147<li class="blockList">
148<!-- =========== FIELD SUMMARY =========== -->
149<ul class="blockList">
150<li class="blockList"><a name="field.summary">
151<!-- -->
152</a>
153<h3>Field Summary</h3>
154<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
155<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
156<tr>
157<th class="colFirst" scope="col">Modifier and Type</th>
158<th class="colLast" scope="col">Field and Description</th>
159</tr>
160<tr class="altColor">
161<td class="colFirst"><code>protected <a href="../../../genius/core/boaframework/AcceptanceStrategy.html" title="class in genius.core.boaframework">AcceptanceStrategy</a></code></td>
162<td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/boaframework/BOAagent.html#acceptConditions">acceptConditions</a></span></code>
163<div class="block">Decides when to accept</div>
164</td>
165</tr>
166<tr class="rowColor">
167<td class="colFirst"><code>protected <a href="../../../genius/core/boaframework/NegotiationSession.html" title="class in genius.core.boaframework">NegotiationSession</a></code></td>
168<td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/boaframework/BOAagent.html#negotiationSession">negotiationSession</a></span></code>
169<div class="block">Links to the negotiation domain</div>
170</td>
171</tr>
172<tr class="altColor">
173<td class="colFirst"><code>protected <a href="../../../genius/core/boaframework/OfferingStrategy.html" title="class in genius.core.boaframework">OfferingStrategy</a></code></td>
174<td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/boaframework/BOAagent.html#offeringStrategy">offeringStrategy</a></span></code>
175<div class="block">Decides what to offer</div>
176</td>
177</tr>
178<tr class="rowColor">
179<td class="colFirst"><code>protected <a href="../../../genius/core/boaframework/OMStrategy.html" title="class in genius.core.boaframework">OMStrategy</a></code></td>
180<td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/boaframework/BOAagent.html#omStrategy">omStrategy</a></span></code>
181<div class="block">Selects which bid to send when using an opponent model</div>
182</td>
183</tr>
184<tr class="altColor">
185<td class="colFirst"><code>protected <a href="../../../genius/core/boaframework/OpponentModel.html" title="class in genius.core.boaframework">OpponentModel</a></code></td>
186<td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/boaframework/BOAagent.html#opponentModel">opponentModel</a></span></code>
187<div class="block">Approximates the utility of a bid for the opponent</div>
188</td>
189</tr>
190<tr class="rowColor">
191<td class="colFirst"><code>protected <a href="../../../genius/core/boaframework/OutcomeSpace.html" title="class in genius.core.boaframework">OutcomeSpace</a></code></td>
192<td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/boaframework/BOAagent.html#outcomeSpace">outcomeSpace</a></span></code>
193<div class="block">Contains the space of possible bids</div>
194</td>
195</tr>
196<tr class="altColor">
197<td class="colFirst"><code>java.util.ArrayList&lt;<a href="../../../genius/core/misc/Pair.html" title="class in genius.core.misc">Pair</a>&lt;<a href="../../../genius/core/Bid.html" title="class in genius.core">Bid</a>,java.lang.String&gt;&gt;</code></td>
198<td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/boaframework/BOAagent.html#savedOutcomes">savedOutcomes</a></span></code>
199<div class="block">Store <a href="../../../genius/core/boaframework/Multi_AcceptanceCondition.html" title="class in genius.core.boaframework"><code>Multi_AcceptanceCondition</code></a> outcomes</div>
200</td>
201</tr>
202</table>
203<ul class="blockList">
204<li class="blockList"><a name="fields.inherited.from.class.genius.core.Agent">
205<!-- -->
206</a>
207<h3>Fields inherited from class&nbsp;genius.core.<a href="../../../genius/core/Agent.html" title="class in genius.core">Agent</a></h3>
208<code><a href="../../../genius/core/Agent.html#fNegotiation">fNegotiation</a>, <a href="../../../genius/core/Agent.html#parametervalues">parametervalues</a>, <a href="../../../genius/core/Agent.html#sessionNr">sessionNr</a>, <a href="../../../genius/core/Agent.html#sessionsTotal">sessionsTotal</a>, <a href="../../../genius/core/Agent.html#startTime">startTime</a>, <a href="../../../genius/core/Agent.html#strategyParameters">strategyParameters</a>, <a href="../../../genius/core/Agent.html#timeline">timeline</a>, <a href="../../../genius/core/Agent.html#totalTime">totalTime</a>, <a href="../../../genius/core/Agent.html#utilitySpace">utilitySpace</a></code></li>
209</ul>
210</li>
211</ul>
212<!-- ======== CONSTRUCTOR SUMMARY ======== -->
213<ul class="blockList">
214<li class="blockList"><a name="constructor.summary">
215<!-- -->
216</a>
217<h3>Constructor Summary</h3>
218<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
219<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
220<tr>
221<th class="colOne" scope="col">Constructor and Description</th>
222</tr>
223<tr class="altColor">
224<td class="colOne"><code><span class="memberNameLink"><a href="../../../genius/core/boaframework/BOAagent.html#BOAagent--">BOAagent</a></span>()</code>&nbsp;</td>
225</tr>
226</table>
227</li>
228</ul>
229<!-- ========== METHOD SUMMARY =========== -->
230<ul class="blockList">
231<li class="blockList"><a name="method.summary">
232<!-- -->
233</a>
234<h3>Method Summary</h3>
235<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
236<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
237<tr>
238<th class="colFirst" scope="col">Modifier and Type</th>
239<th class="colLast" scope="col">Method and Description</th>
240</tr>
241<tr id="i0" class="altColor">
242<td class="colFirst"><code>abstract void</code></td>
243<td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/boaframework/BOAagent.html#agentSetup--">agentSetup</a></span>()</code>
244<div class="block">Method used to setup the agent.</div>
245</td>
246</tr>
247<tr id="i1" class="rowColor">
248<td class="colFirst"><code><a href="../../../genius/core/actions/Action.html" title="interface in genius.core.actions">Action</a></code></td>
249<td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/boaframework/BOAagent.html#chooseAction--">chooseAction</a></span>()</code>
250<div class="block">Chooses an action to perform.</div>
251</td>
252</tr>
253<tr id="i2" class="altColor">
254<td class="colFirst"><code>void</code></td>
255<td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/boaframework/BOAagent.html#cleanUp--">cleanUp</a></span>()</code>
256<div class="block">Clears the agent's variables.</div>
257</td>
258</tr>
259<tr id="i3" class="rowColor">
260<td class="colFirst"><code>void</code></td>
261<td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/boaframework/BOAagent.html#endSession-genius.core.NegotiationResult-">endSession</a></span>(<a href="../../../genius/core/NegotiationResult.html" title="class in genius.core">NegotiationResult</a>&nbsp;result)</code>
262<div class="block">Method that first calls the endSession method of each component to
263 receiveMessage the session data and then stores the session data if it is
264 not empty and is changed.</div>
265</td>
266</tr>
267<tr id="i4" class="altColor">
268<td class="colFirst"><code><a href="../../../genius/core/boaframework/AcceptanceStrategy.html" title="class in genius.core.boaframework">AcceptanceStrategy</a></code></td>
269<td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/boaframework/BOAagent.html#getAcceptanceStrategy--">getAcceptanceStrategy</a></span>()</code>
270<div class="block">Returns the acceptance strategy of the agent.</div>
271</td>
272</tr>
273<tr id="i5" class="rowColor">
274<td class="colFirst"><code>abstract java.lang.String</code></td>
275<td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/boaframework/BOAagent.html#getName--">getName</a></span>()</code>&nbsp;</td>
276</tr>
277<tr id="i6" class="altColor">
278<td class="colFirst"><code><a href="../../../genius/core/boaframework/OfferingStrategy.html" title="class in genius.core.boaframework">OfferingStrategy</a></code></td>
279<td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/boaframework/BOAagent.html#getOfferingStrategy--">getOfferingStrategy</a></span>()</code>
280<div class="block">Returns the offering strategy of the agent.</div>
281</td>
282</tr>
283<tr id="i7" class="rowColor">
284<td class="colFirst"><code><a href="../../../genius/core/boaframework/OpponentModel.html" title="class in genius.core.boaframework">OpponentModel</a></code></td>
285<td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/boaframework/BOAagent.html#getOpponentModel--">getOpponentModel</a></span>()</code>
286<div class="block">Returns the opponent model of the agent.</div>
287</td>
288</tr>
289<tr id="i8" class="altColor">
290<td class="colFirst"><code>protected java.lang.String</code></td>
291<td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/boaframework/BOAagent.html#getUniqueIdentifier--">getUniqueIdentifier</a></span>()</code>
292<div class="block">Unique identifier for the BOA agent.</div>
293</td>
294</tr>
295<tr id="i9" class="rowColor">
296<td class="colFirst"><code>java.lang.String</code></td>
297<td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/boaframework/BOAagent.html#getVersion--">getVersion</a></span>()</code>&nbsp;</td>
298</tr>
299<tr id="i10" class="altColor">
300<td class="colFirst"><code>void</code></td>
301<td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/boaframework/BOAagent.html#init--">init</a></span>()</code>
302<div class="block">Initializes the agent and creates a new negotiation session object.</div>
303</td>
304</tr>
305<tr id="i11" class="rowColor">
306<td class="colFirst"><code>void</code></td>
307<td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/boaframework/BOAagent.html#ReceiveMessage-genius.core.actions.Action-">ReceiveMessage</a></span>(<a href="../../../genius/core/actions/Action.html" title="interface in genius.core.actions">Action</a>&nbsp;opponentAction)</code>
308<div class="block">Stores the actions made by a partner.</div>
309</td>
310</tr>
311<tr id="i12" class="altColor">
312<td class="colFirst"><code>void</code></td>
313<td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/boaframework/BOAagent.html#setDecoupledComponents-genius.core.boaframework.AcceptanceStrategy-genius.core.boaframework.OfferingStrategy-genius.core.boaframework.OpponentModel-genius.core.boaframework.OMStrategy-">setDecoupledComponents</a></span>(<a href="../../../genius/core/boaframework/AcceptanceStrategy.html" title="class in genius.core.boaframework">AcceptanceStrategy</a>&nbsp;ac,
314 <a href="../../../genius/core/boaframework/OfferingStrategy.html" title="class in genius.core.boaframework">OfferingStrategy</a>&nbsp;os,
315 <a href="../../../genius/core/boaframework/OpponentModel.html" title="class in genius.core.boaframework">OpponentModel</a>&nbsp;om,
316 <a href="../../../genius/core/boaframework/OMStrategy.html" title="class in genius.core.boaframework">OMStrategy</a>&nbsp;oms)</code>
317<div class="block">Sets the components of the decoupled agent.</div>
318</td>
319</tr>
320</table>
321<ul class="blockList">
322<li class="blockList"><a name="methods.inherited.from.class.genius.core.Agent">
323<!-- -->
324</a>
325<h3>Methods inherited from class&nbsp;genius.core.<a href="../../../genius/core/Agent.html" title="class in genius.core">Agent</a></h3>
326<code><a href="../../../genius/core/Agent.html#equals-java.lang.Object-">equals</a>, <a href="../../../genius/core/Agent.html#getAgent--">getAgent</a>, <a href="../../../genius/core/Agent.html#getAgentID--">getAgentID</a>, <a href="../../../genius/core/Agent.html#getParameterValues--">getParameterValues</a>, <a href="../../../genius/core/Agent.html#getSessionNumber--">getSessionNumber</a>, <a href="../../../genius/core/Agent.html#getSessionsTotal--">getSessionsTotal</a>, <a href="../../../genius/core/Agent.html#getStrategyParameters--">getStrategyParameters</a>, <a href="../../../genius/core/Agent.html#getSupportedNegotiationSetting--">getSupportedNegotiationSetting</a>, <a href="../../../genius/core/Agent.html#getUtility-genius.core.Bid-">getUtility</a>, <a href="../../../genius/core/Agent.html#hashCode--">hashCode</a>, <a href="../../../genius/core/Agent.html#internalInit-int-int-java.util.Date-java.lang.Integer-genius.core.timeline.TimeLineInfo-genius.core.utility.AbstractUtilitySpace-java.util.HashMap-genius.core.AgentID-">internalInit</a>, <a href="../../../genius/core/Agent.html#loadSessionData--">loadSessionData</a>, <a href="../../../genius/core/Agent.html#parseStrategyParameters-java.lang.String-">parseStrategyParameters</a>, <a href="../../../genius/core/Agent.html#saveSessionData-java.io.Serializable-">saveSessionData</a>, <a href="../../../genius/core/Agent.html#setName-java.lang.String-">setName</a>, <a href="../../../genius/core/Agent.html#sleep-double-">sleep</a></code></li>
327</ul>
328<ul class="blockList">
329<li class="blockList"><a name="methods.inherited.from.class.genius.core.AgentAdapter">
330<!-- -->
331</a>
332<h3>Methods inherited from class&nbsp;genius.core.<a href="../../../genius/core/AgentAdapter.html" title="class in genius.core">AgentAdapter</a></h3>
333<code><a href="../../../genius/core/AgentAdapter.html#chooseAction-java.util.List-">chooseAction</a>, <a href="../../../genius/core/AgentAdapter.html#getDescription--">getDescription</a>, <a href="../../../genius/core/AgentAdapter.html#getProtocol--">getProtocol</a>, <a href="../../../genius/core/AgentAdapter.html#init-genius.core.parties.NegotiationInfo-">init</a>, <a href="../../../genius/core/AgentAdapter.html#negotiationEnded-genius.core.Bid-">negotiationEnded</a>, <a href="../../../genius/core/AgentAdapter.html#receiveMessage-genius.core.AgentID-genius.core.actions.Action-">receiveMessage</a></code></li>
334</ul>
335<ul class="blockList">
336<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
337<!-- -->
338</a>
339<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
340<code>clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait</code></li>
341</ul>
342</li>
343</ul>
344</li>
345</ul>
346</div>
347<div class="details">
348<ul class="blockList">
349<li class="blockList">
350<!-- ============ FIELD DETAIL =========== -->
351<ul class="blockList">
352<li class="blockList"><a name="field.detail">
353<!-- -->
354</a>
355<h3>Field Detail</h3>
356<a name="acceptConditions">
357<!-- -->
358</a>
359<ul class="blockList">
360<li class="blockList">
361<h4>acceptConditions</h4>
362<pre>protected&nbsp;<a href="../../../genius/core/boaframework/AcceptanceStrategy.html" title="class in genius.core.boaframework">AcceptanceStrategy</a> acceptConditions</pre>
363<div class="block">Decides when to accept</div>
364</li>
365</ul>
366<a name="offeringStrategy">
367<!-- -->
368</a>
369<ul class="blockList">
370<li class="blockList">
371<h4>offeringStrategy</h4>
372<pre>protected&nbsp;<a href="../../../genius/core/boaframework/OfferingStrategy.html" title="class in genius.core.boaframework">OfferingStrategy</a> offeringStrategy</pre>
373<div class="block">Decides what to offer</div>
374</li>
375</ul>
376<a name="opponentModel">
377<!-- -->
378</a>
379<ul class="blockList">
380<li class="blockList">
381<h4>opponentModel</h4>
382<pre>protected&nbsp;<a href="../../../genius/core/boaframework/OpponentModel.html" title="class in genius.core.boaframework">OpponentModel</a> opponentModel</pre>
383<div class="block">Approximates the utility of a bid for the opponent</div>
384</li>
385</ul>
386<a name="negotiationSession">
387<!-- -->
388</a>
389<ul class="blockList">
390<li class="blockList">
391<h4>negotiationSession</h4>
392<pre>protected&nbsp;<a href="../../../genius/core/boaframework/NegotiationSession.html" title="class in genius.core.boaframework">NegotiationSession</a> negotiationSession</pre>
393<div class="block">Links to the negotiation domain</div>
394</li>
395</ul>
396<a name="omStrategy">
397<!-- -->
398</a>
399<ul class="blockList">
400<li class="blockList">
401<h4>omStrategy</h4>
402<pre>protected&nbsp;<a href="../../../genius/core/boaframework/OMStrategy.html" title="class in genius.core.boaframework">OMStrategy</a> omStrategy</pre>
403<div class="block">Selects which bid to send when using an opponent model</div>
404</li>
405</ul>
406<a name="savedOutcomes">
407<!-- -->
408</a>
409<ul class="blockList">
410<li class="blockList">
411<h4>savedOutcomes</h4>
412<pre>public&nbsp;java.util.ArrayList&lt;<a href="../../../genius/core/misc/Pair.html" title="class in genius.core.misc">Pair</a>&lt;<a href="../../../genius/core/Bid.html" title="class in genius.core">Bid</a>,java.lang.String&gt;&gt; savedOutcomes</pre>
413<div class="block">Store <a href="../../../genius/core/boaframework/Multi_AcceptanceCondition.html" title="class in genius.core.boaframework"><code>Multi_AcceptanceCondition</code></a> outcomes</div>
414</li>
415</ul>
416<a name="outcomeSpace">
417<!-- -->
418</a>
419<ul class="blockListLast">
420<li class="blockList">
421<h4>outcomeSpace</h4>
422<pre>protected&nbsp;<a href="../../../genius/core/boaframework/OutcomeSpace.html" title="class in genius.core.boaframework">OutcomeSpace</a> outcomeSpace</pre>
423<div class="block">Contains the space of possible bids</div>
424</li>
425</ul>
426</li>
427</ul>
428<!-- ========= CONSTRUCTOR DETAIL ======== -->
429<ul class="blockList">
430<li class="blockList"><a name="constructor.detail">
431<!-- -->
432</a>
433<h3>Constructor Detail</h3>
434<a name="BOAagent--">
435<!-- -->
436</a>
437<ul class="blockListLast">
438<li class="blockList">
439<h4>BOAagent</h4>
440<pre>public&nbsp;BOAagent()</pre>
441</li>
442</ul>
443</li>
444</ul>
445<!-- ============ METHOD DETAIL ========== -->
446<ul class="blockList">
447<li class="blockList"><a name="method.detail">
448<!-- -->
449</a>
450<h3>Method Detail</h3>
451<a name="init--">
452<!-- -->
453</a>
454<ul class="blockList">
455<li class="blockList">
456<h4>init</h4>
457<pre>public&nbsp;void&nbsp;init()</pre>
458<div class="block">Initializes the agent and creates a new negotiation session object.</div>
459<dl>
460<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
461<dd><code><a href="../../../genius/core/Agent.html#init--">init</a></code>&nbsp;in class&nbsp;<code><a href="../../../genius/core/Agent.html" title="class in genius.core">Agent</a></code></dd>
462</dl>
463</li>
464</ul>
465<a name="agentSetup--">
466<!-- -->
467</a>
468<ul class="blockList">
469<li class="blockList">
470<h4>agentSetup</h4>
471<pre>public abstract&nbsp;void&nbsp;agentSetup()</pre>
472<div class="block">Method used to setup the agent. The method is called directly after
473 initialization of the agent.</div>
474</li>
475</ul>
476<a name="setDecoupledComponents-genius.core.boaframework.AcceptanceStrategy-genius.core.boaframework.OfferingStrategy-genius.core.boaframework.OpponentModel-genius.core.boaframework.OMStrategy-">
477<!-- -->
478</a>
479<ul class="blockList">
480<li class="blockList">
481<h4>setDecoupledComponents</h4>
482<pre>public&nbsp;void&nbsp;setDecoupledComponents(<a href="../../../genius/core/boaframework/AcceptanceStrategy.html" title="class in genius.core.boaframework">AcceptanceStrategy</a>&nbsp;ac,
483 <a href="../../../genius/core/boaframework/OfferingStrategy.html" title="class in genius.core.boaframework">OfferingStrategy</a>&nbsp;os,
484 <a href="../../../genius/core/boaframework/OpponentModel.html" title="class in genius.core.boaframework">OpponentModel</a>&nbsp;om,
485 <a href="../../../genius/core/boaframework/OMStrategy.html" title="class in genius.core.boaframework">OMStrategy</a>&nbsp;oms)</pre>
486<div class="block">Sets the components of the decoupled agent.</div>
487<dl>
488<dt><span class="paramLabel">Parameters:</span></dt>
489<dd><code>ac</code> - the acceptance strategy</dd>
490<dd><code>os</code> - the offering strategy</dd>
491<dd><code>om</code> - the opponent model</dd>
492<dd><code>oms</code> - the opponent model strategy</dd>
493</dl>
494</li>
495</ul>
496<a name="getUniqueIdentifier--">
497<!-- -->
498</a>
499<ul class="blockList">
500<li class="blockList">
501<h4>getUniqueIdentifier</h4>
502<pre>protected&nbsp;java.lang.String&nbsp;getUniqueIdentifier()</pre>
503<div class="block">Unique identifier for the BOA agent. The default method in agent does not
504 suffice as all BOA agents have the same classpath.</div>
505<dl>
506<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
507<dd><code><a href="../../../genius/core/Agent.html#getUniqueIdentifier--">getUniqueIdentifier</a></code>&nbsp;in class&nbsp;<code><a href="../../../genius/core/Agent.html" title="class in genius.core">Agent</a></code></dd>
508<dt><span class="returnLabel">Returns:</span></dt>
509<dd>unique identifier of the Agent object.</dd>
510</dl>
511</li>
512</ul>
513<a name="getVersion--">
514<!-- -->
515</a>
516<ul class="blockList">
517<li class="blockList">
518<h4>getVersion</h4>
519<pre>public&nbsp;java.lang.String&nbsp;getVersion()</pre>
520<dl>
521<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
522<dd><code><a href="../../../genius/core/Agent.html#getVersion--">getVersion</a></code>&nbsp;in class&nbsp;<code><a href="../../../genius/core/Agent.html" title="class in genius.core">Agent</a></code></dd>
523<dt><span class="returnLabel">Returns:</span></dt>
524<dd>version of the agent.</dd>
525</dl>
526</li>
527</ul>
528<a name="getName--">
529<!-- -->
530</a>
531<ul class="blockList">
532<li class="blockList">
533<h4>getName</h4>
534<pre>public abstract&nbsp;java.lang.String&nbsp;getName()</pre>
535<dl>
536<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
537<dd><code><a href="../../../genius/core/Agent.html#getName--">getName</a></code>&nbsp;in class&nbsp;<code><a href="../../../genius/core/Agent.html" title="class in genius.core">Agent</a></code></dd>
538<dt><span class="returnLabel">Returns:</span></dt>
539<dd>name of the agent.</dd>
540</dl>
541</li>
542</ul>
543<a name="ReceiveMessage-genius.core.actions.Action-">
544<!-- -->
545</a>
546<ul class="blockList">
547<li class="blockList">
548<h4>ReceiveMessage</h4>
549<pre>public&nbsp;void&nbsp;ReceiveMessage(<a href="../../../genius/core/actions/Action.html" title="interface in genius.core.actions">Action</a>&nbsp;opponentAction)</pre>
550<div class="block">Stores the actions made by a partner. First, it stores the bid in the
551 history, then updates the opponent model.</div>
552<dl>
553<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
554<dd><code><a href="../../../genius/core/Agent.html#ReceiveMessage-genius.core.actions.Action-">ReceiveMessage</a></code>&nbsp;in class&nbsp;<code><a href="../../../genius/core/Agent.html" title="class in genius.core">Agent</a></code></dd>
555<dt><span class="paramLabel">Parameters:</span></dt>
556<dd><code>opponentAction</code> - by opponent in current turn</dd>
557</dl>
558</li>
559</ul>
560<a name="chooseAction--">
561<!-- -->
562</a>
563<ul class="blockList">
564<li class="blockList">
565<h4>chooseAction</h4>
566<pre>public&nbsp;<a href="../../../genius/core/actions/Action.html" title="interface in genius.core.actions">Action</a>&nbsp;chooseAction()</pre>
567<div class="block">Chooses an action to perform.</div>
568<dl>
569<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
570<dd><code><a href="../../../genius/core/Agent.html#chooseAction--">chooseAction</a></code>&nbsp;in class&nbsp;<code><a href="../../../genius/core/Agent.html" title="class in genius.core">Agent</a></code></dd>
571<dt><span class="returnLabel">Returns:</span></dt>
572<dd>Action the agent performs</dd>
573</dl>
574</li>
575</ul>
576<a name="getOfferingStrategy--">
577<!-- -->
578</a>
579<ul class="blockList">
580<li class="blockList">
581<h4>getOfferingStrategy</h4>
582<pre>public&nbsp;<a href="../../../genius/core/boaframework/OfferingStrategy.html" title="class in genius.core.boaframework">OfferingStrategy</a>&nbsp;getOfferingStrategy()</pre>
583<div class="block">Returns the offering strategy of the agent.</div>
584<dl>
585<dt><span class="returnLabel">Returns:</span></dt>
586<dd>offeringstrategy of the agent.</dd>
587</dl>
588</li>
589</ul>
590<a name="getOpponentModel--">
591<!-- -->
592</a>
593<ul class="blockList">
594<li class="blockList">
595<h4>getOpponentModel</h4>
596<pre>public&nbsp;<a href="../../../genius/core/boaframework/OpponentModel.html" title="class in genius.core.boaframework">OpponentModel</a>&nbsp;getOpponentModel()</pre>
597<div class="block">Returns the opponent model of the agent.</div>
598<dl>
599<dt><span class="returnLabel">Returns:</span></dt>
600<dd>opponent model of the agent.</dd>
601</dl>
602</li>
603</ul>
604<a name="getAcceptanceStrategy--">
605<!-- -->
606</a>
607<ul class="blockList">
608<li class="blockList">
609<h4>getAcceptanceStrategy</h4>
610<pre>public&nbsp;<a href="../../../genius/core/boaframework/AcceptanceStrategy.html" title="class in genius.core.boaframework">AcceptanceStrategy</a>&nbsp;getAcceptanceStrategy()</pre>
611<div class="block">Returns the acceptance strategy of the agent.</div>
612<dl>
613<dt><span class="returnLabel">Returns:</span></dt>
614<dd>acceptance strategy of the agent.</dd>
615</dl>
616</li>
617</ul>
618<a name="endSession-genius.core.NegotiationResult-">
619<!-- -->
620</a>
621<ul class="blockList">
622<li class="blockList">
623<h4>endSession</h4>
624<pre>public&nbsp;void&nbsp;endSession(<a href="../../../genius/core/NegotiationResult.html" title="class in genius.core">NegotiationResult</a>&nbsp;result)</pre>
625<div class="block">Method that first calls the endSession method of each component to
626 receiveMessage the session data and then stores the session data if it is
627 not empty and is changed.</div>
628<dl>
629<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
630<dd><code><a href="../../../genius/core/Agent.html#endSession-genius.core.NegotiationResult-">endSession</a></code>&nbsp;in class&nbsp;<code><a href="../../../genius/core/Agent.html" title="class in genius.core">Agent</a></code></dd>
631<dt><span class="paramLabel">Parameters:</span></dt>
632<dd><code>result</code> - discounted utility of previous session round.</dd>
633</dl>
634</li>
635</ul>
636<a name="cleanUp--">
637<!-- -->
638</a>
639<ul class="blockListLast">
640<li class="blockList">
641<h4>cleanUp</h4>
642<pre>public&nbsp;void&nbsp;cleanUp()</pre>
643<div class="block">Clears the agent's variables.</div>
644</li>
645</ul>
646</li>
647</ul>
648</li>
649</ul>
650</div>
651</div>
652<!-- ========= END OF CLASS DATA ========= -->
653<!-- ======= START OF BOTTOM NAVBAR ====== -->
654<div class="bottomNav"><a name="navbar.bottom">
655<!-- -->
656</a>
657<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
658<a name="navbar.bottom.firstrow">
659<!-- -->
660</a>
661<ul class="navList" title="Navigation">
662<li><a href="../../../overview-summary.html">Overview</a></li>
663<li><a href="package-summary.html">Package</a></li>
664<li class="navBarCell1Rev">Class</li>
665<li><a href="class-use/BOAagent.html">Use</a></li>
666<li><a href="package-tree.html">Tree</a></li>
667<li><a href="../../../deprecated-list.html">Deprecated</a></li>
668<li><a href="../../../index-all.html">Index</a></li>
669<li><a href="../../../help-doc.html">Help</a></li>
670</ul>
671</div>
672<div class="subNav">
673<ul class="navList">
674<li><a href="../../../genius/core/boaframework/BOA.html" title="class in genius.core.boaframework"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
675<li><a href="../../../genius/core/boaframework/BOAagentInfo.html" title="class in genius.core.boaframework"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
676</ul>
677<ul class="navList">
678<li><a href="../../../index.html?genius/core/boaframework/BOAagent.html" target="_top">Frames</a></li>
679<li><a href="BOAagent.html" target="_top">No&nbsp;Frames</a></li>
680</ul>
681<ul class="navList" id="allclasses_navbar_bottom">
682<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
683</ul>
684<div>
685<script type="text/javascript"><!--
686 allClassesLink = document.getElementById("allclasses_navbar_bottom");
687 if(window==top) {
688 allClassesLink.style.display = "block";
689 }
690 else {
691 allClassesLink.style.display = "none";
692 }
693 //-->
694</script>
695</div>
696<div>
697<ul class="subNavList">
698<li>Summary:&nbsp;</li>
699<li>Nested&nbsp;|&nbsp;</li>
700<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
701<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
702<li><a href="#method.summary">Method</a></li>
703</ul>
704<ul class="subNavList">
705<li>Detail:&nbsp;</li>
706<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
707<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
708<li><a href="#method.detail">Method</a></li>
709</ul>
710</div>
711<a name="skip.navbar.bottom">
712<!-- -->
713</a></div>
714<!-- ======== END OF BOTTOM NAVBAR ======= -->
715</body>
716</html>
Note: See TracBrowser for help on using the repository browser.