source: javadoc/genius/core/boaframework/BoaParty.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: 32.2 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>BoaParty (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="BoaParty (Genius Core Documentation)";
16 }
17 }
18 catch(err) {
19 }
20//-->
21var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10};
22var tabs = {65535:["t0","All Methods"],2:["t2","Instance 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/BoaParty.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/BOAparameter.html" title="class in genius.core.boaframework"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
53<li><a href="../../../genius/core/boaframework/BoaType.html" title="enum 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/BoaParty.html" target="_top">Frames</a></li>
57<li><a href="BoaParty.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 BoaParty" class="title">Class BoaParty</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/parties/AbstractNegotiationParty.html" title="class in genius.core.parties">genius.core.parties.AbstractNegotiationParty</a></li>
104<li>
105<ul class="inheritance">
106<li>genius.core.boaframework.BoaParty</li>
107</ul>
108</li>
109</ul>
110</li>
111</ul>
112<div class="description">
113<ul class="blockList">
114<li class="blockList">
115<dl>
116<dt>All Implemented Interfaces:</dt>
117<dd><a href="../../../genius/core/parties/NegotiationParty.html" title="interface in genius.core.parties">NegotiationParty</a>, java.io.Serializable</dd>
118</dl>
119<hr>
120<br>
121<pre>public final class <span class="typeNameLabel">BoaParty</span>
122extends <a href="../../../genius/core/parties/AbstractNegotiationParty.html" title="class in genius.core.parties">AbstractNegotiationParty</a></pre>
123<div class="block">This class is used to convert a BOA party to a real agent. The
124 parseStrategyParameters loads the information object, the agentSetup uses the
125 information object to load the agent using reflection.
126
127 This class is special in that it is constructed directly by a
128 <a href="../../../genius/core/repository/boa/BoaPartyRepItem.html" title="class in genius.core.repository.boa"><code>BoaPartyRepItem</code></a> . not for inclusion in a repository or extending.
129
130 This is converted from <a href="../../../genius/core/boaframework/BOAagent.html" title="class in genius.core.boaframework"><code>BOAagent</code></a> and TheBOAagent
131
132 For more information, see: Baarslag T., Hindriks K.V., Hendrikx M.,
133 Dirkzwager A., Jonker C.M. Decoupling Negotiating Agents to Explore the Space
134 of Negotiation Strategies. Proceedings of The Fifth International Workshop on
135 Agent-based Complex Automated Negotiations (ACAN 2012), 2012.
136 https://homepages.cwi.nl/~baarslag/pub/Decoupling_Negotiating_Agents_to_Explore_the_Space_of_Negotiation_Strategies_ACAN_2012.pdf</div>
137<dl>
138<dt><span class="simpleTagLabel">Author:</span></dt>
139<dd>Tim Baarslag, Alex Dirkzwager, Mark Hendrikx</dd>
140<dt><span class="seeLabel">See Also:</span></dt>
141<dd><a href="../../../serialized-form.html#genius.core.boaframework.BoaParty">Serialized Form</a></dd>
142</dl>
143</li>
144</ul>
145</div>
146<div class="summary">
147<ul class="blockList">
148<li class="blockList">
149<!-- =========== FIELD SUMMARY =========== -->
150<ul class="blockList">
151<li class="blockList"><a name="field.summary">
152<!-- -->
153</a>
154<h3>Field Summary</h3>
155<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
156<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
157<tr>
158<th class="colFirst" scope="col">Modifier and Type</th>
159<th class="colLast" scope="col">Field and Description</th>
160</tr>
161<tr class="altColor">
162<td class="colFirst"><code>protected <a href="../../../genius/core/boaframework/AcceptanceStrategy.html" title="class in genius.core.boaframework">AcceptanceStrategy</a></code></td>
163<td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/boaframework/BoaParty.html#acceptConditions">acceptConditions</a></span></code>
164<div class="block">Decides when to accept</div>
165</td>
166</tr>
167<tr class="rowColor">
168<td class="colFirst"><code>protected <a href="../../../genius/core/boaframework/NegotiationSession.html" title="class in genius.core.boaframework">NegotiationSession</a></code></td>
169<td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/boaframework/BoaParty.html#negotiationSession">negotiationSession</a></span></code>
170<div class="block">Links to the negotiation domain</div>
171</td>
172</tr>
173<tr class="altColor">
174<td class="colFirst"><code>protected <a href="../../../genius/core/boaframework/OfferingStrategy.html" title="class in genius.core.boaframework">OfferingStrategy</a></code></td>
175<td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/boaframework/BoaParty.html#offeringStrategy">offeringStrategy</a></span></code>
176<div class="block">Decides what to offer</div>
177</td>
178</tr>
179<tr class="rowColor">
180<td class="colFirst"><code>protected <a href="../../../genius/core/boaframework/OMStrategy.html" title="class in genius.core.boaframework">OMStrategy</a></code></td>
181<td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/boaframework/BoaParty.html#omStrategy">omStrategy</a></span></code>
182<div class="block">Selects which bid to send when using an opponent model</div>
183</td>
184</tr>
185<tr class="altColor">
186<td class="colFirst"><code>protected <a href="../../../genius/core/boaframework/OpponentModel.html" title="class in genius.core.boaframework">OpponentModel</a></code></td>
187<td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/boaframework/BoaParty.html#opponentModel">opponentModel</a></span></code>
188<div class="block">Approximates the utility of a bid for the opponent</div>
189</td>
190</tr>
191<tr class="rowColor">
192<td class="colFirst"><code>protected <a href="../../../genius/core/boaframework/OutcomeSpace.html" title="class in genius.core.boaframework">OutcomeSpace</a></code></td>
193<td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/boaframework/BoaParty.html#outcomeSpace">outcomeSpace</a></span></code>
194<div class="block">Contains the space of possible bids</div>
195</td>
196</tr>
197<tr class="altColor">
198<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>
199<td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/boaframework/BoaParty.html#savedOutcomes">savedOutcomes</a></span></code>
200<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>
201</td>
202</tr>
203</table>
204<ul class="blockList">
205<li class="blockList"><a name="fields.inherited.from.class.genius.core.parties.AbstractNegotiationParty">
206<!-- -->
207</a>
208<h3>Fields inherited from class&nbsp;genius.core.parties.<a href="../../../genius/core/parties/AbstractNegotiationParty.html" title="class in genius.core.parties">AbstractNegotiationParty</a></h3>
209<code><a href="../../../genius/core/parties/AbstractNegotiationParty.html#rand">rand</a>, <a href="../../../genius/core/parties/AbstractNegotiationParty.html#timeline">timeline</a>, <a href="../../../genius/core/parties/AbstractNegotiationParty.html#userModel">userModel</a>, <a href="../../../genius/core/parties/AbstractNegotiationParty.html#utilitySpace">utilitySpace</a></code></li>
210</ul>
211</li>
212</ul>
213<!-- ======== CONSTRUCTOR SUMMARY ======== -->
214<ul class="blockList">
215<li class="blockList"><a name="constructor.summary">
216<!-- -->
217</a>
218<h3>Constructor Summary</h3>
219<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
220<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
221<tr>
222<th class="colOne" scope="col">Constructor and Description</th>
223</tr>
224<tr class="altColor">
225<td class="colOne"><code><span class="memberNameLink"><a href="../../../genius/core/boaframework/BoaParty.html#BoaParty-genius.core.boaframework.AcceptanceStrategy-java.util.Map-genius.core.boaframework.OfferingStrategy-java.util.Map-genius.core.boaframework.OpponentModel-java.util.Map-genius.core.boaframework.OMStrategy-java.util.Map-">BoaParty</a></span>(<a href="../../../genius/core/boaframework/AcceptanceStrategy.html" title="class in genius.core.boaframework">AcceptanceStrategy</a>&nbsp;ac,
226 java.util.Map&lt;java.lang.String,java.lang.Double&gt;&nbsp;acParams,
227 <a href="../../../genius/core/boaframework/OfferingStrategy.html" title="class in genius.core.boaframework">OfferingStrategy</a>&nbsp;os,
228 java.util.Map&lt;java.lang.String,java.lang.Double&gt;&nbsp;osParams,
229 <a href="../../../genius/core/boaframework/OpponentModel.html" title="class in genius.core.boaframework">OpponentModel</a>&nbsp;om,
230 java.util.Map&lt;java.lang.String,java.lang.Double&gt;&nbsp;omParams,
231 <a href="../../../genius/core/boaframework/OMStrategy.html" title="class in genius.core.boaframework">OMStrategy</a>&nbsp;oms,
232 java.util.Map&lt;java.lang.String,java.lang.Double&gt;&nbsp;omsParams)</code>
233<div class="block">Stores all relevant values for initializing the components.</div>
234</td>
235</tr>
236</table>
237</li>
238</ul>
239<!-- ========== METHOD SUMMARY =========== -->
240<ul class="blockList">
241<li class="blockList"><a name="method.summary">
242<!-- -->
243</a>
244<h3>Method Summary</h3>
245<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
246<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="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
247<tr>
248<th class="colFirst" scope="col">Modifier and Type</th>
249<th class="colLast" scope="col">Method and Description</th>
250</tr>
251<tr id="i0" class="altColor">
252<td class="colFirst"><code><a href="../../../genius/core/actions/Action.html" title="interface in genius.core.actions">Action</a></code></td>
253<td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/boaframework/BoaParty.html#chooseAction-java.util.List-">chooseAction</a></span>(java.util.List&lt;java.lang.Class&lt;? extends <a href="../../../genius/core/actions/Action.html" title="interface in genius.core.actions">Action</a>&gt;&gt;&nbsp;possibleActions)</code>
254<div class="block">Chooses an action to perform.</div>
255</td>
256</tr>
257<tr id="i1" class="rowColor">
258<td class="colFirst"><code>void</code></td>
259<td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/boaframework/BoaParty.html#cleanUp--">cleanUp</a></span>()</code>
260<div class="block">Clears the agent's variables.</div>
261</td>
262</tr>
263<tr id="i2" class="altColor">
264<td class="colFirst"><code>void</code></td>
265<td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/boaframework/BoaParty.html#endSession-genius.core.NegotiationResult-">endSession</a></span>(<a href="../../../genius/core/NegotiationResult.html" title="class in genius.core">NegotiationResult</a>&nbsp;result)</code>
266<div class="block">Method that first calls the endSession method of each component to
267 receiveMessage the session data and then stores the session data if it is
268 not empty and is changed.</div>
269</td>
270</tr>
271<tr id="i3" class="rowColor">
272<td class="colFirst"><code><a href="../../../genius/core/boaframework/AcceptanceStrategy.html" title="class in genius.core.boaframework">AcceptanceStrategy</a></code></td>
273<td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/boaframework/BoaParty.html#getAcceptanceStrategy--">getAcceptanceStrategy</a></span>()</code>
274<div class="block">Returns the acceptance strategy of the agent.</div>
275</td>
276</tr>
277<tr id="i4" class="altColor">
278<td class="colFirst"><code>java.lang.String</code></td>
279<td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/boaframework/BoaParty.html#getDescription--">getDescription</a></span>()</code>&nbsp;</td>
280</tr>
281<tr id="i5" class="rowColor">
282<td class="colFirst"><code><a href="../../../genius/core/boaframework/OfferingStrategy.html" title="class in genius.core.boaframework">OfferingStrategy</a></code></td>
283<td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/boaframework/BoaParty.html#getOfferingStrategy--">getOfferingStrategy</a></span>()</code>
284<div class="block">Returns the offering strategy of the agent.</div>
285</td>
286</tr>
287<tr id="i6" class="altColor">
288<td class="colFirst"><code><a href="../../../genius/core/boaframework/OpponentModel.html" title="class in genius.core.boaframework">OpponentModel</a></code></td>
289<td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/boaframework/BoaParty.html#getOpponentModel--">getOpponentModel</a></span>()</code>
290<div class="block">Returns the opponent model of the agent.</div>
291</td>
292</tr>
293<tr id="i7" class="rowColor">
294<td class="colFirst"><code>void</code></td>
295<td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/boaframework/BoaParty.html#init-genius.core.parties.NegotiationInfo-">init</a></span>(<a href="../../../genius/core/parties/NegotiationInfo.html" title="class in genius.core.parties">NegotiationInfo</a>&nbsp;info)</code>
296<div class="block">Initializes the agent and creates a new negotiation session object.</div>
297</td>
298</tr>
299<tr id="i8" class="altColor">
300<td class="colFirst"><code>void</code></td>
301<td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/boaframework/BoaParty.html#receiveMessage-genius.core.AgentID-genius.core.actions.Action-">receiveMessage</a></span>(<a href="../../../genius/core/AgentID.html" title="class in genius.core">AgentID</a>&nbsp;sender,
302 <a href="../../../genius/core/actions/Action.html" title="interface in genius.core.actions">Action</a>&nbsp;opponentAction)</code>
303<div class="block">Stores the actions made by a partner.</div>
304</td>
305</tr>
306</table>
307<ul class="blockList">
308<li class="blockList"><a name="methods.inherited.from.class.genius.core.parties.AbstractNegotiationParty">
309<!-- -->
310</a>
311<h3>Methods inherited from class&nbsp;genius.core.parties.<a href="../../../genius/core/parties/AbstractNegotiationParty.html" title="class in genius.core.parties">AbstractNegotiationParty</a></h3>
312<code><a href="../../../genius/core/parties/AbstractNegotiationParty.html#generateRandomBid--">generateRandomBid</a>, <a href="../../../genius/core/parties/AbstractNegotiationParty.html#getData--">getData</a>, <a href="../../../genius/core/parties/AbstractNegotiationParty.html#getDeadlines--">getDeadlines</a>, <a href="../../../genius/core/parties/AbstractNegotiationParty.html#getLastReceivedAction--">getLastReceivedAction</a>, <a href="../../../genius/core/parties/AbstractNegotiationParty.html#getNumberOfParties--">getNumberOfParties</a>, <a href="../../../genius/core/parties/AbstractNegotiationParty.html#getPartyId--">getPartyId</a>, <a href="../../../genius/core/parties/AbstractNegotiationParty.html#getProtocol--">getProtocol</a>, <a href="../../../genius/core/parties/AbstractNegotiationParty.html#getRandomValue-genius.core.issue.Issue-">getRandomValue</a>, <a href="../../../genius/core/parties/AbstractNegotiationParty.html#getTimeLine--">getTimeLine</a>, <a href="../../../genius/core/parties/AbstractNegotiationParty.html#getUtility-genius.core.Bid-">getUtility</a>, <a href="../../../genius/core/parties/AbstractNegotiationParty.html#getUtilitySpace--">getUtilitySpace</a>, <a href="../../../genius/core/parties/AbstractNegotiationParty.html#getUtilityWithDiscount-genius.core.Bid-">getUtilityWithDiscount</a>, <a href="../../../genius/core/parties/AbstractNegotiationParty.html#negotiationEnded-genius.core.Bid-">negotiationEnded</a>, <a href="../../../genius/core/parties/AbstractNegotiationParty.html#toString--">toString</a></code></li>
313</ul>
314<ul class="blockList">
315<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
316<!-- -->
317</a>
318<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
319<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
320</ul>
321</li>
322</ul>
323</li>
324</ul>
325</div>
326<div class="details">
327<ul class="blockList">
328<li class="blockList">
329<!-- ============ FIELD DETAIL =========== -->
330<ul class="blockList">
331<li class="blockList"><a name="field.detail">
332<!-- -->
333</a>
334<h3>Field Detail</h3>
335<a name="acceptConditions">
336<!-- -->
337</a>
338<ul class="blockList">
339<li class="blockList">
340<h4>acceptConditions</h4>
341<pre>protected&nbsp;<a href="../../../genius/core/boaframework/AcceptanceStrategy.html" title="class in genius.core.boaframework">AcceptanceStrategy</a> acceptConditions</pre>
342<div class="block">Decides when to accept</div>
343</li>
344</ul>
345<a name="offeringStrategy">
346<!-- -->
347</a>
348<ul class="blockList">
349<li class="blockList">
350<h4>offeringStrategy</h4>
351<pre>protected&nbsp;<a href="../../../genius/core/boaframework/OfferingStrategy.html" title="class in genius.core.boaframework">OfferingStrategy</a> offeringStrategy</pre>
352<div class="block">Decides what to offer</div>
353</li>
354</ul>
355<a name="opponentModel">
356<!-- -->
357</a>
358<ul class="blockList">
359<li class="blockList">
360<h4>opponentModel</h4>
361<pre>protected&nbsp;<a href="../../../genius/core/boaframework/OpponentModel.html" title="class in genius.core.boaframework">OpponentModel</a> opponentModel</pre>
362<div class="block">Approximates the utility of a bid for the opponent</div>
363</li>
364</ul>
365<a name="omStrategy">
366<!-- -->
367</a>
368<ul class="blockList">
369<li class="blockList">
370<h4>omStrategy</h4>
371<pre>protected&nbsp;<a href="../../../genius/core/boaframework/OMStrategy.html" title="class in genius.core.boaframework">OMStrategy</a> omStrategy</pre>
372<div class="block">Selects which bid to send when using an opponent model</div>
373</li>
374</ul>
375<a name="negotiationSession">
376<!-- -->
377</a>
378<ul class="blockList">
379<li class="blockList">
380<h4>negotiationSession</h4>
381<pre>protected&nbsp;<a href="../../../genius/core/boaframework/NegotiationSession.html" title="class in genius.core.boaframework">NegotiationSession</a> negotiationSession</pre>
382<div class="block">Links to the negotiation domain</div>
383</li>
384</ul>
385<a name="savedOutcomes">
386<!-- -->
387</a>
388<ul class="blockList">
389<li class="blockList">
390<h4>savedOutcomes</h4>
391<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>
392<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>
393</li>
394</ul>
395<a name="outcomeSpace">
396<!-- -->
397</a>
398<ul class="blockListLast">
399<li class="blockList">
400<h4>outcomeSpace</h4>
401<pre>protected&nbsp;<a href="../../../genius/core/boaframework/OutcomeSpace.html" title="class in genius.core.boaframework">OutcomeSpace</a> outcomeSpace</pre>
402<div class="block">Contains the space of possible bids</div>
403</li>
404</ul>
405</li>
406</ul>
407<!-- ========= CONSTRUCTOR DETAIL ======== -->
408<ul class="blockList">
409<li class="blockList"><a name="constructor.detail">
410<!-- -->
411</a>
412<h3>Constructor Detail</h3>
413<a name="BoaParty-genius.core.boaframework.AcceptanceStrategy-java.util.Map-genius.core.boaframework.OfferingStrategy-java.util.Map-genius.core.boaframework.OpponentModel-java.util.Map-genius.core.boaframework.OMStrategy-java.util.Map-">
414<!-- -->
415</a>
416<ul class="blockListLast">
417<li class="blockList">
418<h4>BoaParty</h4>
419<pre>public&nbsp;BoaParty(<a href="../../../genius/core/boaframework/AcceptanceStrategy.html" title="class in genius.core.boaframework">AcceptanceStrategy</a>&nbsp;ac,
420 java.util.Map&lt;java.lang.String,java.lang.Double&gt;&nbsp;acParams,
421 <a href="../../../genius/core/boaframework/OfferingStrategy.html" title="class in genius.core.boaframework">OfferingStrategy</a>&nbsp;os,
422 java.util.Map&lt;java.lang.String,java.lang.Double&gt;&nbsp;osParams,
423 <a href="../../../genius/core/boaframework/OpponentModel.html" title="class in genius.core.boaframework">OpponentModel</a>&nbsp;om,
424 java.util.Map&lt;java.lang.String,java.lang.Double&gt;&nbsp;omParams,
425 <a href="../../../genius/core/boaframework/OMStrategy.html" title="class in genius.core.boaframework">OMStrategy</a>&nbsp;oms,
426 java.util.Map&lt;java.lang.String,java.lang.Double&gt;&nbsp;omsParams)</pre>
427<div class="block">Stores all relevant values for initializing the components. Will be used
428 when init is called.</div>
429<dl>
430<dt><span class="paramLabel">Parameters:</span></dt>
431<dd><code>ac</code> - </dd>
432<dd><code>acParams</code> - </dd>
433<dd><code>os</code> - </dd>
434<dd><code>osParams</code> - </dd>
435<dd><code>om</code> - </dd>
436<dd><code>omParams</code> - </dd>
437<dd><code>oms</code> - </dd>
438<dd><code>omsParams</code> - </dd>
439</dl>
440</li>
441</ul>
442</li>
443</ul>
444<!-- ============ METHOD DETAIL ========== -->
445<ul class="blockList">
446<li class="blockList"><a name="method.detail">
447<!-- -->
448</a>
449<h3>Method Detail</h3>
450<a name="init-genius.core.parties.NegotiationInfo-">
451<!-- -->
452</a>
453<ul class="blockList">
454<li class="blockList">
455<h4>init</h4>
456<pre>public&nbsp;void&nbsp;init(<a href="../../../genius/core/parties/NegotiationInfo.html" title="class in genius.core.parties">NegotiationInfo</a>&nbsp;info)</pre>
457<div class="block">Initializes the agent and creates a new negotiation session object.</div>
458<dl>
459<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
460<dd><code><a href="../../../genius/core/parties/NegotiationParty.html#init-genius.core.parties.NegotiationInfo-">init</a></code>&nbsp;in interface&nbsp;<code><a href="../../../genius/core/parties/NegotiationParty.html" title="interface in genius.core.parties">NegotiationParty</a></code></dd>
461<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
462<dd><code><a href="../../../genius/core/parties/AbstractNegotiationParty.html#init-genius.core.parties.NegotiationInfo-">init</a></code>&nbsp;in class&nbsp;<code><a href="../../../genius/core/parties/AbstractNegotiationParty.html" title="class in genius.core.parties">AbstractNegotiationParty</a></code></dd>
463<dt><span class="paramLabel">Parameters:</span></dt>
464<dd><code>info</code> - information about the negotiation that this party is part of.</dd>
465</dl>
466</li>
467</ul>
468<a name="receiveMessage-genius.core.AgentID-genius.core.actions.Action-">
469<!-- -->
470</a>
471<ul class="blockList">
472<li class="blockList">
473<h4>receiveMessage</h4>
474<pre>public&nbsp;void&nbsp;receiveMessage(<a href="../../../genius/core/AgentID.html" title="class in genius.core">AgentID</a>&nbsp;sender,
475 <a href="../../../genius/core/actions/Action.html" title="interface in genius.core.actions">Action</a>&nbsp;opponentAction)</pre>
476<div class="block">Stores the actions made by a partner. First, it stores the bid in the
477 history, then updates the opponent model.</div>
478<dl>
479<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
480<dd><code><a href="../../../genius/core/parties/NegotiationParty.html#receiveMessage-genius.core.AgentID-genius.core.actions.Action-">receiveMessage</a></code>&nbsp;in interface&nbsp;<code><a href="../../../genius/core/parties/NegotiationParty.html" title="interface in genius.core.parties">NegotiationParty</a></code></dd>
481<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
482<dd><code><a href="../../../genius/core/parties/AbstractNegotiationParty.html#receiveMessage-genius.core.AgentID-genius.core.actions.Action-">receiveMessage</a></code>&nbsp;in class&nbsp;<code><a href="../../../genius/core/parties/AbstractNegotiationParty.html" title="class in genius.core.parties">AbstractNegotiationParty</a></code></dd>
483<dt><span class="paramLabel">Parameters:</span></dt>
484<dd><code>opponentAction</code> - by opponent in current turn</dd>
485<dd><code>sender</code> - The initiator of the action.This is either the AgentID, or
486 null if the sender is not an agent (e.g., the protocol).</dd>
487</dl>
488</li>
489</ul>
490<a name="chooseAction-java.util.List-">
491<!-- -->
492</a>
493<ul class="blockList">
494<li class="blockList">
495<h4>chooseAction</h4>
496<pre>public&nbsp;<a href="../../../genius/core/actions/Action.html" title="interface in genius.core.actions">Action</a>&nbsp;chooseAction(java.util.List&lt;java.lang.Class&lt;? extends <a href="../../../genius/core/actions/Action.html" title="interface in genius.core.actions">Action</a>&gt;&gt;&nbsp;possibleActions)</pre>
497<div class="block">Chooses an action to perform.</div>
498<dl>
499<dt><span class="paramLabel">Parameters:</span></dt>
500<dd><code>possibleActions</code> - List of all actions possible.</dd>
501<dt><span class="returnLabel">Returns:</span></dt>
502<dd>Action the agent performs</dd>
503</dl>
504</li>
505</ul>
506<a name="getOfferingStrategy--">
507<!-- -->
508</a>
509<ul class="blockList">
510<li class="blockList">
511<h4>getOfferingStrategy</h4>
512<pre>public&nbsp;<a href="../../../genius/core/boaframework/OfferingStrategy.html" title="class in genius.core.boaframework">OfferingStrategy</a>&nbsp;getOfferingStrategy()</pre>
513<div class="block">Returns the offering strategy of the agent.</div>
514<dl>
515<dt><span class="returnLabel">Returns:</span></dt>
516<dd>offeringstrategy of the agent.</dd>
517</dl>
518</li>
519</ul>
520<a name="getOpponentModel--">
521<!-- -->
522</a>
523<ul class="blockList">
524<li class="blockList">
525<h4>getOpponentModel</h4>
526<pre>public&nbsp;<a href="../../../genius/core/boaframework/OpponentModel.html" title="class in genius.core.boaframework">OpponentModel</a>&nbsp;getOpponentModel()</pre>
527<div class="block">Returns the opponent model of the agent.</div>
528<dl>
529<dt><span class="returnLabel">Returns:</span></dt>
530<dd>opponent model of the agent.</dd>
531</dl>
532</li>
533</ul>
534<a name="getAcceptanceStrategy--">
535<!-- -->
536</a>
537<ul class="blockList">
538<li class="blockList">
539<h4>getAcceptanceStrategy</h4>
540<pre>public&nbsp;<a href="../../../genius/core/boaframework/AcceptanceStrategy.html" title="class in genius.core.boaframework">AcceptanceStrategy</a>&nbsp;getAcceptanceStrategy()</pre>
541<div class="block">Returns the acceptance strategy of the agent.</div>
542<dl>
543<dt><span class="returnLabel">Returns:</span></dt>
544<dd>acceptance strategy of the agent.</dd>
545</dl>
546</li>
547</ul>
548<a name="endSession-genius.core.NegotiationResult-">
549<!-- -->
550</a>
551<ul class="blockList">
552<li class="blockList">
553<h4>endSession</h4>
554<pre>public&nbsp;void&nbsp;endSession(<a href="../../../genius/core/NegotiationResult.html" title="class in genius.core">NegotiationResult</a>&nbsp;result)</pre>
555<div class="block">Method that first calls the endSession method of each component to
556 receiveMessage the session data and then stores the session data if it is
557 not empty and is changed.</div>
558</li>
559</ul>
560<a name="cleanUp--">
561<!-- -->
562</a>
563<ul class="blockList">
564<li class="blockList">
565<h4>cleanUp</h4>
566<pre>public&nbsp;void&nbsp;cleanUp()</pre>
567<div class="block">Clears the agent's variables.</div>
568</li>
569</ul>
570<a name="getDescription--">
571<!-- -->
572</a>
573<ul class="blockListLast">
574<li class="blockList">
575<h4>getDescription</h4>
576<pre>public&nbsp;java.lang.String&nbsp;getDescription()</pre>
577<dl>
578<dt><span class="returnLabel">Returns:</span></dt>
579<dd>a human-readable description for this party.</dd>
580</dl>
581</li>
582</ul>
583</li>
584</ul>
585</li>
586</ul>
587</div>
588</div>
589<!-- ========= END OF CLASS DATA ========= -->
590<!-- ======= START OF BOTTOM NAVBAR ====== -->
591<div class="bottomNav"><a name="navbar.bottom">
592<!-- -->
593</a>
594<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
595<a name="navbar.bottom.firstrow">
596<!-- -->
597</a>
598<ul class="navList" title="Navigation">
599<li><a href="../../../overview-summary.html">Overview</a></li>
600<li><a href="package-summary.html">Package</a></li>
601<li class="navBarCell1Rev">Class</li>
602<li><a href="class-use/BoaParty.html">Use</a></li>
603<li><a href="package-tree.html">Tree</a></li>
604<li><a href="../../../deprecated-list.html">Deprecated</a></li>
605<li><a href="../../../index-all.html">Index</a></li>
606<li><a href="../../../help-doc.html">Help</a></li>
607</ul>
608</div>
609<div class="subNav">
610<ul class="navList">
611<li><a href="../../../genius/core/boaframework/BOAparameter.html" title="class in genius.core.boaframework"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
612<li><a href="../../../genius/core/boaframework/BoaType.html" title="enum in genius.core.boaframework"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
613</ul>
614<ul class="navList">
615<li><a href="../../../index.html?genius/core/boaframework/BoaParty.html" target="_top">Frames</a></li>
616<li><a href="BoaParty.html" target="_top">No&nbsp;Frames</a></li>
617</ul>
618<ul class="navList" id="allclasses_navbar_bottom">
619<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
620</ul>
621<div>
622<script type="text/javascript"><!--
623 allClassesLink = document.getElementById("allclasses_navbar_bottom");
624 if(window==top) {
625 allClassesLink.style.display = "block";
626 }
627 else {
628 allClassesLink.style.display = "none";
629 }
630 //-->
631</script>
632</div>
633<div>
634<ul class="subNavList">
635<li>Summary:&nbsp;</li>
636<li>Nested&nbsp;|&nbsp;</li>
637<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
638<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
639<li><a href="#method.summary">Method</a></li>
640</ul>
641<ul class="subNavList">
642<li>Detail:&nbsp;</li>
643<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
644<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
645<li><a href="#method.detail">Method</a></li>
646</ul>
647</div>
648<a name="skip.navbar.bottom">
649<!-- -->
650</a></div>
651<!-- ======== END OF BOTTOM NAVBAR ======= -->
652</body>
653</html>
Note: See TracBrowser for help on using the repository browser.