source: javadoc/genius/core/boaframework/NegotiationSession.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.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>NegotiationSession (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="NegotiationSession (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,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":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/NegotiationSession.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/Multi_AcceptanceCondition.html" title="class in genius.core.boaframework"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
53<li><a href="../../../genius/core/boaframework/NoModel.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/NegotiationSession.html" target="_top">Frames</a></li>
57<li><a href="NegotiationSession.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 NegotiationSession" class="title">Class NegotiationSession</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>genius.core.boaframework.NegotiationSession</li>
104</ul>
105</li>
106</ul>
107<div class="description">
108<ul class="blockList">
109<li class="blockList">
110<hr>
111<br>
112<pre>public class <span class="typeNameLabel">NegotiationSession</span>
113extends java.lang.Object</pre>
114<div class="block">This is a class which manages all the negotiation session pertinent
115 information to a single agent.</div>
116<dl>
117<dt><span class="simpleTagLabel">Author:</span></dt>
118<dd>Alex Dirkzwager, Mark Hendrikx</dd>
119</dl>
120</li>
121</ul>
122</div>
123<div class="summary">
124<ul class="blockList">
125<li class="blockList">
126<!-- =========== FIELD SUMMARY =========== -->
127<ul class="blockList">
128<li class="blockList"><a name="field.summary">
129<!-- -->
130</a>
131<h3>Field Summary</h3>
132<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
133<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
134<tr>
135<th class="colFirst" scope="col">Modifier and Type</th>
136<th class="colLast" scope="col">Field and Description</th>
137</tr>
138<tr class="altColor">
139<td class="colFirst"><code>protected <a href="../../../genius/core/Domain.html" title="interface in genius.core">Domain</a></code></td>
140<td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/boaframework/NegotiationSession.html#domain">domain</a></span></code>
141<div class="block">Reference to the negotiation domain.</div>
142</td>
143</tr>
144<tr class="rowColor">
145<td class="colFirst"><code>protected <a href="../../../genius/core/BidHistory.html" title="class in genius.core">BidHistory</a></code></td>
146<td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/boaframework/NegotiationSession.html#opponentBidHistory">opponentBidHistory</a></span></code>
147<div class="block">History of bids made by the opponent.</div>
148</td>
149</tr>
150<tr class="altColor">
151<td class="colFirst"><code>protected <a href="../../../genius/core/boaframework/OutcomeSpace.html" title="class in genius.core.boaframework">OutcomeSpace</a></code></td>
152<td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/boaframework/NegotiationSession.html#outcomeSpace">outcomeSpace</a></span></code>
153<div class="block">Optional outcomespace which should be set manually.</div>
154</td>
155</tr>
156<tr class="rowColor">
157<td class="colFirst"><code>protected <a href="../../../genius/core/BidHistory.html" title="class in genius.core">BidHistory</a></code></td>
158<td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/boaframework/NegotiationSession.html#ownBidHistory">ownBidHistory</a></span></code>
159<div class="block">History of bids made by the agent.</div>
160</td>
161</tr>
162<tr class="altColor">
163<td class="colFirst"><code>protected <a href="../../../genius/core/timeline/TimeLineInfo.html" title="interface in genius.core.timeline">TimeLineInfo</a></code></td>
164<td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/boaframework/NegotiationSession.html#timeline">timeline</a></span></code>
165<div class="block">Reference to the timeline.</div>
166</td>
167</tr>
168<tr class="rowColor">
169<td class="colFirst"><code>protected <a href="../../../genius/core/utility/AbstractUtilitySpace.html" title="class in genius.core.utility">AbstractUtilitySpace</a></code></td>
170<td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/boaframework/NegotiationSession.html#utilitySpace">utilitySpace</a></span></code>
171<div class="block">Reference to the agent's preference profile for the domain.</div>
172</td>
173</tr>
174</table>
175</li>
176</ul>
177<!-- ======== CONSTRUCTOR SUMMARY ======== -->
178<ul class="blockList">
179<li class="blockList"><a name="constructor.summary">
180<!-- -->
181</a>
182<h3>Constructor Summary</h3>
183<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
184<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
185<tr>
186<th class="colFirst" scope="col">Modifier</th>
187<th class="colLast" scope="col">Constructor and Description</th>
188</tr>
189<tr class="altColor">
190<td class="colFirst"><code>protected </code></td>
191<td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/boaframework/NegotiationSession.html#NegotiationSession--">NegotiationSession</a></span>()</code>
192<div class="block">Special constructor used by the NegotiationSessionWrapper.</div>
193</td>
194</tr>
195<tr class="rowColor">
196<td class="colFirst"><code>&nbsp;</code></td>
197<td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/boaframework/NegotiationSession.html#NegotiationSession-genius.core.boaframework.SessionData-genius.core.utility.AbstractUtilitySpace-genius.core.timeline.TimeLineInfo-">NegotiationSession</a></span>(<a href="../../../genius/core/boaframework/SessionData.html" title="class in genius.core.boaframework">SessionData</a>&nbsp;sessionData,
198 <a href="../../../genius/core/utility/AbstractUtilitySpace.html" title="class in genius.core.utility">AbstractUtilitySpace</a>&nbsp;utilitySpace,
199 <a href="../../../genius/core/timeline/TimeLineInfo.html" title="interface in genius.core.timeline">TimeLineInfo</a>&nbsp;timeline)</code>
200<div class="block">Create a negotiation session which is used to keep track of the
201 negotiation state.</div>
202</td>
203</tr>
204<tr class="altColor">
205<td class="colFirst"><code>&nbsp;</code></td>
206<td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/boaframework/NegotiationSession.html#NegotiationSession-genius.core.boaframework.SessionData-genius.core.utility.AbstractUtilitySpace-genius.core.timeline.TimeLineInfo-genius.core.boaframework.OutcomeSpace-">NegotiationSession</a></span>(<a href="../../../genius/core/boaframework/SessionData.html" title="class in genius.core.boaframework">SessionData</a>&nbsp;sessionData,
207 <a href="../../../genius/core/utility/AbstractUtilitySpace.html" title="class in genius.core.utility">AbstractUtilitySpace</a>&nbsp;utilitySpace,
208 <a href="../../../genius/core/timeline/TimeLineInfo.html" title="interface in genius.core.timeline">TimeLineInfo</a>&nbsp;timeline,
209 <a href="../../../genius/core/boaframework/OutcomeSpace.html" title="class in genius.core.boaframework">OutcomeSpace</a>&nbsp;outcomeSpace)</code>
210<div class="block">Create a negotiation session which is used to keep track of the
211 negotiation state.</div>
212</td>
213</tr>
214</table>
215</li>
216</ul>
217<!-- ========== METHOD SUMMARY =========== -->
218<ul class="blockList">
219<li class="blockList"><a name="method.summary">
220<!-- -->
221</a>
222<h3>Method Summary</h3>
223<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
224<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>
225<tr>
226<th class="colFirst" scope="col">Modifier and Type</th>
227<th class="colLast" scope="col">Method and Description</th>
228</tr>
229<tr id="i0" class="altColor">
230<td class="colFirst"><code>java.io.Serializable</code></td>
231<td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/boaframework/NegotiationSession.html#getData-genius.core.boaframework.BoaType-">getData</a></span>(<a href="../../../genius/core/boaframework/BoaType.html" title="enum in genius.core.boaframework">BoaType</a>&nbsp;component)</code>
232<div class="block">Method used to load the data saved by a component.</div>
233</td>
234</tr>
235<tr id="i1" class="rowColor">
236<td class="colFirst"><code>double</code></td>
237<td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/boaframework/NegotiationSession.html#getDiscountedUtility-genius.core.Bid-double-">getDiscountedUtility</a></span>(<a href="../../../genius/core/Bid.html" title="class in genius.core">Bid</a>&nbsp;bid,
238 double&nbsp;time)</code>
239<div class="block">Returns the discounted utility of a bid given the bid and the time at
240 which it was offered.</div>
241</td>
242</tr>
243<tr id="i2" class="altColor">
244<td class="colFirst"><code>double</code></td>
245<td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/boaframework/NegotiationSession.html#getDiscountFactor--">getDiscountFactor</a></span>()</code>
246<div class="block">Returns the discount factor of the utilityspace.</div>
247</td>
248</tr>
249<tr id="i3" class="rowColor">
250<td class="colFirst"><code><a href="../../../genius/core/Domain.html" title="interface in genius.core">Domain</a></code></td>
251<td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/boaframework/NegotiationSession.html#getDomain--">getDomain</a></span>()</code>
252<div class="block">Returns the negotiation domain.</div>
253</td>
254</tr>
255<tr id="i4" class="altColor">
256<td class="colFirst"><code>java.util.List&lt;<a href="../../../genius/core/issue/Issue.html" title="class in genius.core.issue">Issue</a>&gt;</code></td>
257<td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/boaframework/NegotiationSession.html#getIssues--">getIssues</a></span>()</code>&nbsp;</td>
258</tr>
259<tr id="i5" class="rowColor">
260<td class="colFirst"><code><a href="../../../genius/core/bidding/BidDetails.html" title="class in genius.core.bidding">BidDetails</a></code></td>
261<td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/boaframework/NegotiationSession.html#getMaxBidinDomain--">getMaxBidinDomain</a></span>()</code>
262<div class="block">Returns the best bid in the domain.</div>
263</td>
264</tr>
265<tr id="i6" class="altColor">
266<td class="colFirst"><code><a href="../../../genius/core/bidding/BidDetails.html" title="class in genius.core.bidding">BidDetails</a></code></td>
267<td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/boaframework/NegotiationSession.html#getMinBidinDomain--">getMinBidinDomain</a></span>()</code>
268<div class="block">Returns the worst bid in the domain.</div>
269</td>
270</tr>
271<tr id="i7" class="rowColor">
272<td class="colFirst"><code><a href="../../../genius/core/BidHistory.html" title="class in genius.core">BidHistory</a></code></td>
273<td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/boaframework/NegotiationSession.html#getOpponentBidHistory--">getOpponentBidHistory</a></span>()</code>
274<div class="block">Returns the bidding history of the opponent.</div>
275</td>
276</tr>
277<tr id="i8" class="altColor">
278<td class="colFirst"><code><a href="../../../genius/core/boaframework/OutcomeSpace.html" title="class in genius.core.boaframework">OutcomeSpace</a></code></td>
279<td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/boaframework/NegotiationSession.html#getOutcomeSpace--">getOutcomeSpace</a></span>()</code>
280<div class="block">Returns the space of possible outcomes in the domain.</div>
281</td>
282</tr>
283<tr id="i9" class="rowColor">
284<td class="colFirst"><code><a href="../../../genius/core/BidHistory.html" title="class in genius.core">BidHistory</a></code></td>
285<td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/boaframework/NegotiationSession.html#getOwnBidHistory--">getOwnBidHistory</a></span>()</code>
286<div class="block">Returns the bidding history of the agent.</div>
287</td>
288</tr>
289<tr id="i10" class="altColor">
290<td class="colFirst"><code><a href="../../../genius/core/boaframework/SessionData.html" title="class in genius.core.boaframework">SessionData</a></code></td>
291<td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/boaframework/NegotiationSession.html#getSessionData--">getSessionData</a></span>()</code>&nbsp;</td>
292</tr>
293<tr id="i11" class="rowColor">
294<td class="colFirst"><code>double</code></td>
295<td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/boaframework/NegotiationSession.html#getTime--">getTime</a></span>()</code>
296<div class="block">Returns the normalized time (t = [0,1])</div>
297</td>
298</tr>
299<tr id="i12" class="altColor">
300<td class="colFirst"><code><a href="../../../genius/core/timeline/TimeLineInfo.html" title="interface in genius.core.timeline">TimeLineInfo</a></code></td>
301<td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/boaframework/NegotiationSession.html#getTimeline--">getTimeline</a></span>()</code>&nbsp;</td>
302</tr>
303<tr id="i13" class="rowColor">
304<td class="colFirst"><code><a href="../../../genius/core/utility/AbstractUtilitySpace.html" title="class in genius.core.utility">AbstractUtilitySpace</a></code></td>
305<td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/boaframework/NegotiationSession.html#getUtilitySpace--">getUtilitySpace</a></span>()</code>
306<div class="block">Returns the utilityspace of the agent.</div>
307</td>
308</tr>
309<tr id="i14" class="altColor">
310<td class="colFirst"><code>void</code></td>
311<td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/boaframework/NegotiationSession.html#setData-genius.core.boaframework.BoaType-java.io.Serializable-">setData</a></span>(<a href="../../../genius/core/boaframework/BoaType.html" title="enum in genius.core.boaframework">BoaType</a>&nbsp;component,
312 java.io.Serializable&nbsp;data)</code>
313<div class="block">Method used o store the data of a component.</div>
314</td>
315</tr>
316<tr id="i15" class="rowColor">
317<td class="colFirst"><code>void</code></td>
318<td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/boaframework/NegotiationSession.html#setOutcomeSpace-genius.core.boaframework.OutcomeSpace-">setOutcomeSpace</a></span>(<a href="../../../genius/core/boaframework/OutcomeSpace.html" title="class in genius.core.boaframework">OutcomeSpace</a>&nbsp;outcomeSpace)</code>
319<div class="block">Method used to set the outcomespace.</div>
320</td>
321</tr>
322</table>
323<ul class="blockList">
324<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
325<!-- -->
326</a>
327<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
328<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
329</ul>
330</li>
331</ul>
332</li>
333</ul>
334</div>
335<div class="details">
336<ul class="blockList">
337<li class="blockList">
338<!-- ============ FIELD DETAIL =========== -->
339<ul class="blockList">
340<li class="blockList"><a name="field.detail">
341<!-- -->
342</a>
343<h3>Field Detail</h3>
344<a name="outcomeSpace">
345<!-- -->
346</a>
347<ul class="blockList">
348<li class="blockList">
349<h4>outcomeSpace</h4>
350<pre>protected&nbsp;<a href="../../../genius/core/boaframework/OutcomeSpace.html" title="class in genius.core.boaframework">OutcomeSpace</a> outcomeSpace</pre>
351<div class="block">Optional outcomespace which should be set manually.</div>
352</li>
353</ul>
354<a name="opponentBidHistory">
355<!-- -->
356</a>
357<ul class="blockList">
358<li class="blockList">
359<h4>opponentBidHistory</h4>
360<pre>protected&nbsp;<a href="../../../genius/core/BidHistory.html" title="class in genius.core">BidHistory</a> opponentBidHistory</pre>
361<div class="block">History of bids made by the opponent.</div>
362</li>
363</ul>
364<a name="ownBidHistory">
365<!-- -->
366</a>
367<ul class="blockList">
368<li class="blockList">
369<h4>ownBidHistory</h4>
370<pre>protected&nbsp;<a href="../../../genius/core/BidHistory.html" title="class in genius.core">BidHistory</a> ownBidHistory</pre>
371<div class="block">History of bids made by the agent.</div>
372</li>
373</ul>
374<a name="domain">
375<!-- -->
376</a>
377<ul class="blockList">
378<li class="blockList">
379<h4>domain</h4>
380<pre>protected&nbsp;<a href="../../../genius/core/Domain.html" title="interface in genius.core">Domain</a> domain</pre>
381<div class="block">Reference to the negotiation domain.</div>
382</li>
383</ul>
384<a name="utilitySpace">
385<!-- -->
386</a>
387<ul class="blockList">
388<li class="blockList">
389<h4>utilitySpace</h4>
390<pre>protected&nbsp;<a href="../../../genius/core/utility/AbstractUtilitySpace.html" title="class in genius.core.utility">AbstractUtilitySpace</a> utilitySpace</pre>
391<div class="block">Reference to the agent's preference profile for the domain.</div>
392</li>
393</ul>
394<a name="timeline">
395<!-- -->
396</a>
397<ul class="blockListLast">
398<li class="blockList">
399<h4>timeline</h4>
400<pre>protected&nbsp;<a href="../../../genius/core/timeline/TimeLineInfo.html" title="interface in genius.core.timeline">TimeLineInfo</a> timeline</pre>
401<div class="block">Reference to the timeline.</div>
402</li>
403</ul>
404</li>
405</ul>
406<!-- ========= CONSTRUCTOR DETAIL ======== -->
407<ul class="blockList">
408<li class="blockList"><a name="constructor.detail">
409<!-- -->
410</a>
411<h3>Constructor Detail</h3>
412<a name="NegotiationSession--">
413<!-- -->
414</a>
415<ul class="blockList">
416<li class="blockList">
417<h4>NegotiationSession</h4>
418<pre>protected&nbsp;NegotiationSession()</pre>
419<div class="block">Special constructor used by the NegotiationSessionWrapper. Do not use
420 this constructor for other purposes.</div>
421</li>
422</ul>
423<a name="NegotiationSession-genius.core.boaframework.SessionData-genius.core.utility.AbstractUtilitySpace-genius.core.timeline.TimeLineInfo-">
424<!-- -->
425</a>
426<ul class="blockList">
427<li class="blockList">
428<h4>NegotiationSession</h4>
429<pre>public&nbsp;NegotiationSession(<a href="../../../genius/core/boaframework/SessionData.html" title="class in genius.core.boaframework">SessionData</a>&nbsp;sessionData,
430 <a href="../../../genius/core/utility/AbstractUtilitySpace.html" title="class in genius.core.utility">AbstractUtilitySpace</a>&nbsp;utilitySpace,
431 <a href="../../../genius/core/timeline/TimeLineInfo.html" title="interface in genius.core.timeline">TimeLineInfo</a>&nbsp;timeline)</pre>
432<div class="block">Create a negotiation session which is used to keep track of the
433 negotiation state.</div>
434<dl>
435<dt><span class="paramLabel">Parameters:</span></dt>
436<dd><code>utilitySpace</code> - of the agent.</dd>
437<dd><code>timeline</code> - of the current negotiation.</dd>
438</dl>
439</li>
440</ul>
441<a name="NegotiationSession-genius.core.boaframework.SessionData-genius.core.utility.AbstractUtilitySpace-genius.core.timeline.TimeLineInfo-genius.core.boaframework.OutcomeSpace-">
442<!-- -->
443</a>
444<ul class="blockListLast">
445<li class="blockList">
446<h4>NegotiationSession</h4>
447<pre>public&nbsp;NegotiationSession(<a href="../../../genius/core/boaframework/SessionData.html" title="class in genius.core.boaframework">SessionData</a>&nbsp;sessionData,
448 <a href="../../../genius/core/utility/AbstractUtilitySpace.html" title="class in genius.core.utility">AbstractUtilitySpace</a>&nbsp;utilitySpace,
449 <a href="../../../genius/core/timeline/TimeLineInfo.html" title="interface in genius.core.timeline">TimeLineInfo</a>&nbsp;timeline,
450 <a href="../../../genius/core/boaframework/OutcomeSpace.html" title="class in genius.core.boaframework">OutcomeSpace</a>&nbsp;outcomeSpace)</pre>
451<div class="block">Create a negotiation session which is used to keep track of the
452 negotiation state.</div>
453<dl>
454<dt><span class="paramLabel">Parameters:</span></dt>
455<dd><code>utilitySpace</code> - of the agent.</dd>
456<dd><code>timeline</code> - of the current negotiation.</dd>
457<dd><code>outcomeSpace</code> - representation of the possible outcomes.</dd>
458</dl>
459</li>
460</ul>
461</li>
462</ul>
463<!-- ============ METHOD DETAIL ========== -->
464<ul class="blockList">
465<li class="blockList"><a name="method.detail">
466<!-- -->
467</a>
468<h3>Method Detail</h3>
469<a name="getOpponentBidHistory--">
470<!-- -->
471</a>
472<ul class="blockList">
473<li class="blockList">
474<h4>getOpponentBidHistory</h4>
475<pre>public&nbsp;<a href="../../../genius/core/BidHistory.html" title="class in genius.core">BidHistory</a>&nbsp;getOpponentBidHistory()</pre>
476<div class="block">Returns the bidding history of the opponent.</div>
477<dl>
478<dt><span class="returnLabel">Returns:</span></dt>
479<dd>bidding history of the opponent.</dd>
480</dl>
481</li>
482</ul>
483<a name="getOwnBidHistory--">
484<!-- -->
485</a>
486<ul class="blockList">
487<li class="blockList">
488<h4>getOwnBidHistory</h4>
489<pre>public&nbsp;<a href="../../../genius/core/BidHistory.html" title="class in genius.core">BidHistory</a>&nbsp;getOwnBidHistory()</pre>
490<div class="block">Returns the bidding history of the agent.</div>
491<dl>
492<dt><span class="returnLabel">Returns:</span></dt>
493<dd>bidding history of the agent.</dd>
494</dl>
495</li>
496</ul>
497<a name="getDiscountFactor--">
498<!-- -->
499</a>
500<ul class="blockList">
501<li class="blockList">
502<h4>getDiscountFactor</h4>
503<pre>public&nbsp;double&nbsp;getDiscountFactor()</pre>
504<div class="block">Returns the discount factor of the utilityspace. Each utilityspace has a
505 unique discount factor.</div>
506<dl>
507<dt><span class="returnLabel">Returns:</span></dt>
508<dd>discount factor of the utilityspace.</dd>
509</dl>
510</li>
511</ul>
512<a name="getIssues--">
513<!-- -->
514</a>
515<ul class="blockList">
516<li class="blockList">
517<h4>getIssues</h4>
518<pre>public&nbsp;java.util.List&lt;<a href="../../../genius/core/issue/Issue.html" title="class in genius.core.issue">Issue</a>&gt;&nbsp;getIssues()</pre>
519<dl>
520<dt><span class="returnLabel">Returns:</span></dt>
521<dd>issues of the domain.</dd>
522</dl>
523</li>
524</ul>
525<a name="getTimeline--">
526<!-- -->
527</a>
528<ul class="blockList">
529<li class="blockList">
530<h4>getTimeline</h4>
531<pre>public&nbsp;<a href="../../../genius/core/timeline/TimeLineInfo.html" title="interface in genius.core.timeline">TimeLineInfo</a>&nbsp;getTimeline()</pre>
532<dl>
533<dt><span class="returnLabel">Returns:</span></dt>
534<dd>timeline of the negotiation.</dd>
535</dl>
536</li>
537</ul>
538<a name="getTime--">
539<!-- -->
540</a>
541<ul class="blockList">
542<li class="blockList">
543<h4>getTime</h4>
544<pre>public&nbsp;double&nbsp;getTime()</pre>
545<div class="block">Returns the normalized time (t = [0,1])</div>
546<dl>
547<dt><span class="returnLabel">Returns:</span></dt>
548<dd>normalized time.</dd>
549</dl>
550</li>
551</ul>
552<a name="getDomain--">
553<!-- -->
554</a>
555<ul class="blockList">
556<li class="blockList">
557<h4>getDomain</h4>
558<pre>public&nbsp;<a href="../../../genius/core/Domain.html" title="interface in genius.core">Domain</a>&nbsp;getDomain()</pre>
559<div class="block">Returns the negotiation domain.</div>
560<dl>
561<dt><span class="returnLabel">Returns:</span></dt>
562<dd>domain of the negotiation.</dd>
563</dl>
564</li>
565</ul>
566<a name="getUtilitySpace--">
567<!-- -->
568</a>
569<ul class="blockList">
570<li class="blockList">
571<h4>getUtilitySpace</h4>
572<pre>public&nbsp;<a href="../../../genius/core/utility/AbstractUtilitySpace.html" title="class in genius.core.utility">AbstractUtilitySpace</a>&nbsp;getUtilitySpace()</pre>
573<div class="block">Returns the utilityspace of the agent.</div>
574<dl>
575<dt><span class="returnLabel">Returns:</span></dt>
576<dd>utilityspace of the agent.</dd>
577</dl>
578</li>
579</ul>
580<a name="getOutcomeSpace--">
581<!-- -->
582</a>
583<ul class="blockList">
584<li class="blockList">
585<h4>getOutcomeSpace</h4>
586<pre>public&nbsp;<a href="../../../genius/core/boaframework/OutcomeSpace.html" title="class in genius.core.boaframework">OutcomeSpace</a>&nbsp;getOutcomeSpace()</pre>
587<div class="block">Returns the space of possible outcomes in the domain. The returned value
588 may be null.</div>
589<dl>
590<dt><span class="returnLabel">Returns:</span></dt>
591<dd>outcomespace if available.</dd>
592</dl>
593</li>
594</ul>
595<a name="setOutcomeSpace-genius.core.boaframework.OutcomeSpace-">
596<!-- -->
597</a>
598<ul class="blockList">
599<li class="blockList">
600<h4>setOutcomeSpace</h4>
601<pre>public&nbsp;void&nbsp;setOutcomeSpace(<a href="../../../genius/core/boaframework/OutcomeSpace.html" title="class in genius.core.boaframework">OutcomeSpace</a>&nbsp;outcomeSpace)</pre>
602<div class="block">Method used to set the outcomespace. Setting an outcomespace makes method
603 such as getMaxBidinDomain much more efficient.</div>
604<dl>
605<dt><span class="paramLabel">Parameters:</span></dt>
606<dd><code>outcomeSpace</code> - to be set.</dd>
607</dl>
608</li>
609</ul>
610<a name="getMaxBidinDomain--">
611<!-- -->
612</a>
613<ul class="blockList">
614<li class="blockList">
615<h4>getMaxBidinDomain</h4>
616<pre>public&nbsp;<a href="../../../genius/core/bidding/BidDetails.html" title="class in genius.core.bidding">BidDetails</a>&nbsp;getMaxBidinDomain()</pre>
617<div class="block">Returns the best bid in the domain. If the outcomespace is set, it is
618 used in this step. Else a highly inefficient method is used.</div>
619<dl>
620<dt><span class="returnLabel">Returns:</span></dt>
621<dd>bid with lowest highest possible utility.</dd>
622</dl>
623</li>
624</ul>
625<a name="getMinBidinDomain--">
626<!-- -->
627</a>
628<ul class="blockList">
629<li class="blockList">
630<h4>getMinBidinDomain</h4>
631<pre>public&nbsp;<a href="../../../genius/core/bidding/BidDetails.html" title="class in genius.core.bidding">BidDetails</a>&nbsp;getMinBidinDomain()</pre>
632<div class="block">Returns the worst bid in the domain. If the outcomespace is set, it is
633 used in this step. Else a highly inefficient method is used.</div>
634<dl>
635<dt><span class="returnLabel">Returns:</span></dt>
636<dd>bid with lowest possible utility.</dd>
637</dl>
638</li>
639</ul>
640<a name="setData-genius.core.boaframework.BoaType-java.io.Serializable-">
641<!-- -->
642</a>
643<ul class="blockList">
644<li class="blockList">
645<h4>setData</h4>
646<pre>public&nbsp;void&nbsp;setData(<a href="../../../genius/core/boaframework/BoaType.html" title="enum in genius.core.boaframework">BoaType</a>&nbsp;component,
647 java.io.Serializable&nbsp;data)</pre>
648<div class="block">Method used o store the data of a component. For agent programming please
649 use the storeData() method of the BOA component.</div>
650<dl>
651<dt><span class="paramLabel">Parameters:</span></dt>
652<dd><code>component</code> - from which the data is stored.</dd>
653<dd><code>data</code> - to be stored.</dd>
654</dl>
655</li>
656</ul>
657<a name="getData-genius.core.boaframework.BoaType-">
658<!-- -->
659</a>
660<ul class="blockList">
661<li class="blockList">
662<h4>getData</h4>
663<pre>public&nbsp;java.io.Serializable&nbsp;getData(<a href="../../../genius/core/boaframework/BoaType.html" title="enum in genius.core.boaframework">BoaType</a>&nbsp;component)</pre>
664<div class="block">Method used to load the data saved by a component. For agent programming
665 please use the loadData() method of the BOA component.</div>
666<dl>
667<dt><span class="paramLabel">Parameters:</span></dt>
668<dd><code>component</code> - from which the data is requested.</dd>
669<dt><span class="returnLabel">Returns:</span></dt>
670<dd>data saved by the component.</dd>
671</dl>
672</li>
673</ul>
674<a name="getDiscountedUtility-genius.core.Bid-double-">
675<!-- -->
676</a>
677<ul class="blockList">
678<li class="blockList">
679<h4>getDiscountedUtility</h4>
680<pre>public&nbsp;double&nbsp;getDiscountedUtility(<a href="../../../genius/core/Bid.html" title="class in genius.core">Bid</a>&nbsp;bid,
681 double&nbsp;time)</pre>
682<div class="block">Returns the discounted utility of a bid given the bid and the time at
683 which it was offered.</div>
684<dl>
685<dt><span class="paramLabel">Parameters:</span></dt>
686<dd><code>bid</code> - which discount utility is requested.</dd>
687<dd><code>time</code> - at which the bid was offered.</dd>
688<dt><span class="returnLabel">Returns:</span></dt>
689<dd>discounted utility of the given bid at the given time.</dd>
690</dl>
691</li>
692</ul>
693<a name="getSessionData--">
694<!-- -->
695</a>
696<ul class="blockListLast">
697<li class="blockList">
698<h4>getSessionData</h4>
699<pre>public&nbsp;<a href="../../../genius/core/boaframework/SessionData.html" title="class in genius.core.boaframework">SessionData</a>&nbsp;getSessionData()</pre>
700</li>
701</ul>
702</li>
703</ul>
704</li>
705</ul>
706</div>
707</div>
708<!-- ========= END OF CLASS DATA ========= -->
709<!-- ======= START OF BOTTOM NAVBAR ====== -->
710<div class="bottomNav"><a name="navbar.bottom">
711<!-- -->
712</a>
713<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
714<a name="navbar.bottom.firstrow">
715<!-- -->
716</a>
717<ul class="navList" title="Navigation">
718<li><a href="../../../overview-summary.html">Overview</a></li>
719<li><a href="package-summary.html">Package</a></li>
720<li class="navBarCell1Rev">Class</li>
721<li><a href="class-use/NegotiationSession.html">Use</a></li>
722<li><a href="package-tree.html">Tree</a></li>
723<li><a href="../../../deprecated-list.html">Deprecated</a></li>
724<li><a href="../../../index-all.html">Index</a></li>
725<li><a href="../../../help-doc.html">Help</a></li>
726</ul>
727</div>
728<div class="subNav">
729<ul class="navList">
730<li><a href="../../../genius/core/boaframework/Multi_AcceptanceCondition.html" title="class in genius.core.boaframework"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
731<li><a href="../../../genius/core/boaframework/NoModel.html" title="class in genius.core.boaframework"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
732</ul>
733<ul class="navList">
734<li><a href="../../../index.html?genius/core/boaframework/NegotiationSession.html" target="_top">Frames</a></li>
735<li><a href="NegotiationSession.html" target="_top">No&nbsp;Frames</a></li>
736</ul>
737<ul class="navList" id="allclasses_navbar_bottom">
738<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
739</ul>
740<div>
741<script type="text/javascript"><!--
742 allClassesLink = document.getElementById("allclasses_navbar_bottom");
743 if(window==top) {
744 allClassesLink.style.display = "block";
745 }
746 else {
747 allClassesLink.style.display = "none";
748 }
749 //-->
750</script>
751</div>
752<div>
753<ul class="subNavList">
754<li>Summary:&nbsp;</li>
755<li>Nested&nbsp;|&nbsp;</li>
756<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
757<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
758<li><a href="#method.summary">Method</a></li>
759</ul>
760<ul class="subNavList">
761<li>Detail:&nbsp;</li>
762<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
763<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
764<li><a href="#method.detail">Method</a></li>
765</ul>
766</div>
767<a name="skip.navbar.bottom">
768<!-- -->
769</a></div>
770<!-- ======== END OF BOTTOM NAVBAR ======= -->
771</body>
772</html>
Note: See TracBrowser for help on using the repository browser.