source: javadoc/genius/core/session/class-use/Session.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: 42.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:58 CEST 2018 -->
6<title>Uses of Class genius.core.session.Session (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="Uses of Class genius.core.session.Session (Genius Core Documentation)";
16 }
17 }
18 catch(err) {
19 }
20//-->
21</script>
22<noscript>
23<div>JavaScript is disabled on your browser.</div>
24</noscript>
25<!-- ========= START OF TOP NAVBAR ======= -->
26<div class="topNav"><a name="navbar.top">
27<!-- -->
28</a>
29<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
30<a name="navbar.top.firstrow">
31<!-- -->
32</a>
33<ul class="navList" title="Navigation">
34<li><a href="../../../../overview-summary.html">Overview</a></li>
35<li><a href="../package-summary.html">Package</a></li>
36<li><a href="../../../../genius/core/session/Session.html" title="class in genius.core.session">Class</a></li>
37<li class="navBarCell1Rev">Use</li>
38<li><a href="../package-tree.html">Tree</a></li>
39<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
40<li><a href="../../../../index-all.html">Index</a></li>
41<li><a href="../../../../help-doc.html">Help</a></li>
42</ul>
43</div>
44<div class="subNav">
45<ul class="navList">
46<li>Prev</li>
47<li>Next</li>
48</ul>
49<ul class="navList">
50<li><a href="../../../../index.html?genius/core/session/class-use/Session.html" target="_top">Frames</a></li>
51<li><a href="Session.html" target="_top">No&nbsp;Frames</a></li>
52</ul>
53<ul class="navList" id="allclasses_navbar_top">
54<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
55</ul>
56<div>
57<script type="text/javascript"><!--
58 allClassesLink = document.getElementById("allclasses_navbar_top");
59 if(window==top) {
60 allClassesLink.style.display = "block";
61 }
62 else {
63 allClassesLink.style.display = "none";
64 }
65 //-->
66</script>
67</div>
68<a name="skip.navbar.top">
69<!-- -->
70</a></div>
71<!-- ========= END OF TOP NAVBAR ========= -->
72<div class="header">
73<h2 title="Uses of Class genius.core.session.Session" class="title">Uses of Class<br>genius.core.session.Session</h2>
74</div>
75<div class="classUseContainer">
76<ul class="blockList">
77<li class="blockList">
78<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation">
79<caption><span>Packages that use <a href="../../../../genius/core/session/Session.html" title="class in genius.core.session">Session</a></span><span class="tabEnd">&nbsp;</span></caption>
80<tr>
81<th class="colFirst" scope="col">Package</th>
82<th class="colLast" scope="col">Description</th>
83</tr>
84<tbody>
85<tr class="altColor">
86<td class="colFirst"><a href="#genius.core.events">genius.core.events</a></td>
87<td class="colLast">&nbsp;</td>
88</tr>
89<tr class="rowColor">
90<td class="colFirst"><a href="#genius.core.logging">genius.core.logging</a></td>
91<td class="colLast">&nbsp;</td>
92</tr>
93<tr class="altColor">
94<td class="colFirst"><a href="#genius.core.parties">genius.core.parties</a></td>
95<td class="colLast">&nbsp;</td>
96</tr>
97<tr class="rowColor">
98<td class="colFirst"><a href="#genius.core.protocol">genius.core.protocol</a></td>
99<td class="colLast">&nbsp;</td>
100</tr>
101<tr class="altColor">
102<td class="colFirst"><a href="#genius.core.session">genius.core.session</a></td>
103<td class="colLast">&nbsp;</td>
104</tr>
105</tbody>
106</table>
107</li>
108<li class="blockList">
109<ul class="blockList">
110<li class="blockList"><a name="genius.core.events">
111<!-- -->
112</a>
113<h3>Uses of <a href="../../../../genius/core/session/Session.html" title="class in genius.core.session">Session</a> in <a href="../../../../genius/core/events/package-summary.html">genius.core.events</a></h3>
114<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
115<caption><span>Methods in <a href="../../../../genius/core/events/package-summary.html">genius.core.events</a> that return <a href="../../../../genius/core/session/Session.html" title="class in genius.core.session">Session</a></span><span class="tabEnd">&nbsp;</span></caption>
116<tr>
117<th class="colFirst" scope="col">Modifier and Type</th>
118<th class="colLast" scope="col">Method and Description</th>
119</tr>
120<tbody>
121<tr class="altColor">
122<td class="colFirst"><code><a href="../../../../genius/core/session/Session.html" title="class in genius.core.session">Session</a></code></td>
123<td class="colLast"><span class="typeNameLabel">SessionEndedNormallyEvent.</span><code><span class="memberNameLink"><a href="../../../../genius/core/events/SessionEndedNormallyEvent.html#getSession--">getSession</a></span>()</code>&nbsp;</td>
124</tr>
125<tr class="rowColor">
126<td class="colFirst"><code><a href="../../../../genius/core/session/Session.html" title="class in genius.core.session">Session</a></code></td>
127<td class="colLast"><span class="typeNameLabel">RecoverableSessionErrorEvent.</span><code><span class="memberNameLink"><a href="../../../../genius/core/events/RecoverableSessionErrorEvent.html#getSession--">getSession</a></span>()</code>&nbsp;</td>
128</tr>
129<tr class="altColor">
130<td class="colFirst"><code><a href="../../../../genius/core/session/Session.html" title="class in genius.core.session">Session</a></code></td>
131<td class="colLast"><span class="typeNameLabel">BrokenPartyException.</span><code><span class="memberNameLink"><a href="../../../../genius/core/events/BrokenPartyException.html#getSession--">getSession</a></span>()</code>&nbsp;</td>
132</tr>
133</tbody>
134</table>
135<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing constructors, and an explanation">
136<caption><span>Constructors in <a href="../../../../genius/core/events/package-summary.html">genius.core.events</a> with parameters of type <a href="../../../../genius/core/session/Session.html" title="class in genius.core.session">Session</a></span><span class="tabEnd">&nbsp;</span></caption>
137<tr>
138<th class="colOne" scope="col">Constructor and Description</th>
139</tr>
140<tbody>
141<tr class="altColor">
142<td class="colLast"><code><span class="memberNameLink"><a href="../../../../genius/core/events/BrokenPartyException.html#BrokenPartyException-java.lang.String-genius.core.session.SessionConfiguration-genius.core.session.Session-java.lang.Throwable-">BrokenPartyException</a></span>(java.lang.String&nbsp;mes,
143 <a href="../../../../genius/core/session/SessionConfiguration.html" title="class in genius.core.session">SessionConfiguration</a>&nbsp;configuration,
144 <a href="../../../../genius/core/session/Session.html" title="class in genius.core.session">Session</a>&nbsp;session,
145 java.lang.Throwable&nbsp;cause)</code>&nbsp;</td>
146</tr>
147<tr class="rowColor">
148<td class="colLast"><code><span class="memberNameLink"><a href="../../../../genius/core/events/RecoverableSessionErrorEvent.html#RecoverableSessionErrorEvent-genius.core.session.Session-genius.core.parties.NegotiationPartyInternal-java.lang.Exception-">RecoverableSessionErrorEvent</a></span>(<a href="../../../../genius/core/session/Session.html" title="class in genius.core.session">Session</a>&nbsp;session,
149 <a href="../../../../genius/core/parties/NegotiationPartyInternal.html" title="class in genius.core.parties">NegotiationPartyInternal</a>&nbsp;party,
150 java.lang.Exception&nbsp;e)</code>&nbsp;</td>
151</tr>
152<tr class="altColor">
153<td class="colLast"><code><span class="memberNameLink"><a href="../../../../genius/core/events/SessionEndedNormallyEvent.html#SessionEndedNormallyEvent-genius.core.session.Session-genius.core.Bid-java.util.List-">SessionEndedNormallyEvent</a></span>(<a href="../../../../genius/core/session/Session.html" title="class in genius.core.session">Session</a>&nbsp;session,
154 <a href="../../../../genius/core/Bid.html" title="class in genius.core">Bid</a>&nbsp;agreement,
155 java.util.List&lt;<a href="../../../../genius/core/parties/NegotiationPartyInternal.html" title="class in genius.core.parties">NegotiationPartyInternal</a>&gt;&nbsp;parties)</code>&nbsp;</td>
156</tr>
157</tbody>
158</table>
159</li>
160<li class="blockList"><a name="genius.core.logging">
161<!-- -->
162</a>
163<h3>Uses of <a href="../../../../genius/core/session/Session.html" title="class in genius.core.session">Session</a> in <a href="../../../../genius/core/logging/package-summary.html">genius.core.logging</a></h3>
164<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
165<caption><span>Methods in <a href="../../../../genius/core/logging/package-summary.html">genius.core.logging</a> with parameters of type <a href="../../../../genius/core/session/Session.html" title="class in genius.core.session">Session</a></span><span class="tabEnd">&nbsp;</span></caption>
166<tr>
167<th class="colFirst" scope="col">Modifier and Type</th>
168<th class="colLast" scope="col">Method and Description</th>
169</tr>
170<tbody>
171<tr class="altColor">
172<td class="colFirst"><code>static java.lang.String</code></td>
173<td class="colLast"><span class="typeNameLabel">CsvLogger.</span><code><span class="memberNameLink"><a href="../../../../genius/core/logging/CsvLogger.html#getDefaultSessionLog-genius.core.session.Session-genius.core.protocol.MultilateralProtocol-java.util.List-double-">getDefaultSessionLog</a></span>(<a href="../../../../genius/core/session/Session.html" title="class in genius.core.session">Session</a>&nbsp;session,
174 <a href="../../../../genius/core/protocol/MultilateralProtocol.html" title="interface in genius.core.protocol">MultilateralProtocol</a>&nbsp;protocol,
175 java.util.List&lt;<a href="../../../../genius/core/parties/NegotiationPartyInternal.html" title="class in genius.core.parties">NegotiationPartyInternal</a>&gt;&nbsp;partiesint,
176 double&nbsp;runTime)</code>
177<div class="block">Log default session information.</div>
178</td>
179</tr>
180<tr class="rowColor">
181<td class="colFirst"><code>static java.lang.String</code></td>
182<td class="colLast"><span class="typeNameLabel">CsvLogger.</span><code><span class="memberNameLink"><a href="../../../../genius/core/logging/CsvLogger.html#logSingleSession-genius.core.session.Session-genius.core.protocol.MultilateralProtocol-java.util.List-double-">logSingleSession</a></span>(<a href="../../../../genius/core/session/Session.html" title="class in genius.core.session">Session</a>&nbsp;session,
183 <a href="../../../../genius/core/protocol/MultilateralProtocol.html" title="interface in genius.core.protocol">MultilateralProtocol</a>&nbsp;protocol,
184 java.util.List&lt;<a href="../../../../genius/core/parties/NegotiationPartyInternal.html" title="class in genius.core.parties">NegotiationPartyInternal</a>&gt;&nbsp;partiesint,
185 double&nbsp;runTime)</code>&nbsp;</td>
186</tr>
187</tbody>
188</table>
189</li>
190<li class="blockList"><a name="genius.core.parties">
191<!-- -->
192</a>
193<h3>Uses of <a href="../../../../genius/core/session/Session.html" title="class in genius.core.session">Session</a> in <a href="../../../../genius/core/parties/package-summary.html">genius.core.parties</a></h3>
194<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
195<caption><span>Methods in <a href="../../../../genius/core/parties/package-summary.html">genius.core.parties</a> that return <a href="../../../../genius/core/session/Session.html" title="class in genius.core.session">Session</a></span><span class="tabEnd">&nbsp;</span></caption>
196<tr>
197<th class="colFirst" scope="col">Modifier and Type</th>
198<th class="colLast" scope="col">Method and Description</th>
199</tr>
200<tbody>
201<tr class="altColor">
202<td class="colFirst"><code><a href="../../../../genius/core/session/Session.html" title="class in genius.core.session">Session</a></code></td>
203<td class="colLast"><span class="typeNameLabel">NegotiationPartyInternal.</span><code><span class="memberNameLink"><a href="../../../../genius/core/parties/NegotiationPartyInternal.html#getSession--">getSession</a></span>()</code>
204<div class="block">Get the session that this party is using.</div>
205</td>
206</tr>
207</tbody>
208</table>
209<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing constructors, and an explanation">
210<caption><span>Constructors in <a href="../../../../genius/core/parties/package-summary.html">genius.core.parties</a> with parameters of type <a href="../../../../genius/core/session/Session.html" title="class in genius.core.session">Session</a></span><span class="tabEnd">&nbsp;</span></caption>
211<tr>
212<th class="colOne" scope="col">Constructor and Description</th>
213</tr>
214<tbody>
215<tr class="altColor">
216<td class="colLast"><code><span class="memberNameLink"><a href="../../../../genius/core/parties/NegotiationPartyInternal.html#NegotiationPartyInternal-genius.core.repository.ParticipantRepItem-genius.core.repository.ProfileRepItem-genius.core.session.Session-genius.core.parties.SessionsInfo-genius.core.AgentID-genius.core.uncertainty.UncertainPreferenceContainer-">NegotiationPartyInternal</a></span>(<a href="../../../../genius/core/repository/ParticipantRepItem.html" title="class in genius.core.repository">ParticipantRepItem</a>&nbsp;partyRepItem,
217 <a href="../../../../genius/core/repository/ProfileRepItem.html" title="class in genius.core.repository">ProfileRepItem</a>&nbsp;profileRepItem,
218 <a href="../../../../genius/core/session/Session.html" title="class in genius.core.session">Session</a>&nbsp;session,
219 <a href="../../../../genius/core/parties/SessionsInfo.html" title="class in genius.core.parties">SessionsInfo</a>&nbsp;info,
220 <a href="../../../../genius/core/AgentID.html" title="class in genius.core">AgentID</a>&nbsp;agentID,
221 <a href="../../../../genius/core/uncertainty/UncertainPreferenceContainer.html" title="class in genius.core.uncertainty">UncertainPreferenceContainer</a>&nbsp;uncertainModel)</code>
222<div class="block">Creates a new <a href="../../../../genius/core/parties/NegotiationParty.html" title="interface in genius.core.parties"><code>NegotiationParty</code></a> from repository items and
223 initializes it.</div>
224</td>
225</tr>
226</tbody>
227</table>
228</li>
229<li class="blockList"><a name="genius.core.protocol">
230<!-- -->
231</a>
232<h3>Uses of <a href="../../../../genius/core/session/Session.html" title="class in genius.core.session">Session</a> in <a href="../../../../genius/core/protocol/package-summary.html">genius.core.protocol</a></h3>
233<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
234<caption><span>Methods in <a href="../../../../genius/core/protocol/package-summary.html">genius.core.protocol</a> with parameters of type <a href="../../../../genius/core/session/Session.html" title="class in genius.core.session">Session</a></span><span class="tabEnd">&nbsp;</span></caption>
235<tr>
236<th class="colFirst" scope="col">Modifier and Type</th>
237<th class="colLast" scope="col">Method and Description</th>
238</tr>
239<tbody>
240<tr class="altColor">
241<td class="colFirst"><code>void</code></td>
242<td class="colLast"><span class="typeNameLabel">MultilateralProtocol.</span><code><span class="memberNameLink"><a href="../../../../genius/core/protocol/MultilateralProtocol.html#afterSession-genius.core.session.Session-java.util.List-">afterSession</a></span>(<a href="../../../../genius/core/session/Session.html" title="class in genius.core.session">Session</a>&nbsp;session,
243 java.util.List&lt;<a href="../../../../genius/core/parties/NegotiationParty.html" title="interface in genius.core.parties">NegotiationParty</a>&gt;&nbsp;parties)</code>
244<div class="block">This will get called just after ending the session.</div>
245</td>
246</tr>
247<tr class="rowColor">
248<td class="colFirst"><code>void</code></td>
249<td class="colLast"><span class="typeNameLabel">DefaultMultilateralProtocol.</span><code><span class="memberNameLink"><a href="../../../../genius/core/protocol/DefaultMultilateralProtocol.html#afterSession-genius.core.session.Session-java.util.List-">afterSession</a></span>(<a href="../../../../genius/core/session/Session.html" title="class in genius.core.session">Session</a>&nbsp;session,
250 java.util.List&lt;<a href="../../../../genius/core/parties/NegotiationParty.html" title="interface in genius.core.parties">NegotiationParty</a>&gt;&nbsp;parties)</code>&nbsp;</td>
251</tr>
252<tr class="altColor">
253<td class="colFirst"><code>void</code></td>
254<td class="colLast"><span class="typeNameLabel">MultilateralProtocol.</span><code><span class="memberNameLink"><a href="../../../../genius/core/protocol/MultilateralProtocol.html#applyAction-genius.core.actions.Action-genius.core.session.Session-">applyAction</a></span>(<a href="../../../../genius/core/actions/Action.html" title="interface in genius.core.actions">Action</a>&nbsp;action,
255 <a href="../../../../genius/core/session/Session.html" title="class in genius.core.session">Session</a>&nbsp;session)</code>
256<div class="block">Apply the action according to the protocol.</div>
257</td>
258</tr>
259<tr class="rowColor">
260<td class="colFirst"><code>void</code></td>
261<td class="colLast"><span class="typeNameLabel">DefaultMultilateralProtocol.</span><code><span class="memberNameLink"><a href="../../../../genius/core/protocol/DefaultMultilateralProtocol.html#applyAction-genius.core.actions.Action-genius.core.session.Session-">applyAction</a></span>(<a href="../../../../genius/core/actions/Action.html" title="interface in genius.core.actions">Action</a>&nbsp;action,
262 <a href="../../../../genius/core/session/Session.html" title="class in genius.core.session">Session</a>&nbsp;session)</code>&nbsp;</td>
263</tr>
264<tr class="altColor">
265<td class="colFirst"><code>java.util.Map&lt;<a href="../../../../genius/core/parties/NegotiationParty.html" title="interface in genius.core.parties">NegotiationParty</a>,java.util.List&lt;<a href="../../../../genius/core/actions/Action.html" title="interface in genius.core.actions">Action</a>&gt;&gt;</code></td>
266<td class="colLast"><span class="typeNameLabel">StackedAlternatingOffersProtocol.</span><code><span class="memberNameLink"><a href="../../../../genius/core/protocol/StackedAlternatingOffersProtocol.html#beforeSession-genius.core.session.Session-java.util.List-">beforeSession</a></span>(<a href="../../../../genius/core/session/Session.html" title="class in genius.core.session">Session</a>&nbsp;session,
267 java.util.List&lt;<a href="../../../../genius/core/parties/NegotiationParty.html" title="interface in genius.core.parties">NegotiationParty</a>&gt;&nbsp;parties)</code>&nbsp;</td>
268</tr>
269<tr class="rowColor">
270<td class="colFirst"><code>java.util.Map&lt;<a href="../../../../genius/core/parties/NegotiationParty.html" title="interface in genius.core.parties">NegotiationParty</a>,java.util.List&lt;<a href="../../../../genius/core/actions/Action.html" title="interface in genius.core.actions">Action</a>&gt;&gt;</code></td>
271<td class="colLast"><span class="typeNameLabel">MultilateralProtocol.</span><code><span class="memberNameLink"><a href="../../../../genius/core/protocol/MultilateralProtocol.html#beforeSession-genius.core.session.Session-java.util.List-">beforeSession</a></span>(<a href="../../../../genius/core/session/Session.html" title="class in genius.core.session">Session</a>&nbsp;session,
272 java.util.List&lt;<a href="../../../../genius/core/parties/NegotiationParty.html" title="interface in genius.core.parties">NegotiationParty</a>&gt;&nbsp;parties)</code>
273<div class="block">Returns a list of Actions to be sent to
274 <a href="../../../../genius/core/parties/NegotiationParty.html#receiveMessage-genius.core.AgentID-genius.core.actions.Action-"><code>NegotiationParty.receiveMessage(AgentID, Action)</code></a> .</div>
275</td>
276</tr>
277<tr class="altColor">
278<td class="colFirst"><code>java.util.Map&lt;<a href="../../../../genius/core/parties/NegotiationParty.html" title="interface in genius.core.parties">NegotiationParty</a>,java.util.List&lt;<a href="../../../../genius/core/actions/Action.html" title="interface in genius.core.actions">Action</a>&gt;&gt;</code></td>
279<td class="colLast"><span class="typeNameLabel">DefaultMultilateralProtocol.</span><code><span class="memberNameLink"><a href="../../../../genius/core/protocol/DefaultMultilateralProtocol.html#beforeSession-genius.core.session.Session-java.util.List-">beforeSession</a></span>(<a href="../../../../genius/core/session/Session.html" title="class in genius.core.session">Session</a>&nbsp;session,
280 java.util.List&lt;<a href="../../../../genius/core/parties/NegotiationParty.html" title="interface in genius.core.parties">NegotiationParty</a>&gt;&nbsp;parties)</code>&nbsp;</td>
281</tr>
282<tr class="rowColor">
283<td class="colFirst"><code><a href="../../../../genius/core/Bid.html" title="class in genius.core">Bid</a></code></td>
284<td class="colLast"><span class="typeNameLabel">StackedAlternatingOffersProtocol.</span><code><span class="memberNameLink"><a href="../../../../genius/core/protocol/StackedAlternatingOffersProtocol.html#getCurrentAgreement-genius.core.session.Session-java.util.List-">getCurrentAgreement</a></span>(<a href="../../../../genius/core/session/Session.html" title="class in genius.core.session">Session</a>&nbsp;session,
285 java.util.List&lt;<a href="../../../../genius/core/parties/NegotiationParty.html" title="interface in genius.core.parties">NegotiationParty</a>&gt;&nbsp;parties)</code>
286<div class="block">Will return the current agreement.</div>
287</td>
288</tr>
289<tr class="altColor">
290<td class="colFirst"><code><a href="../../../../genius/core/Bid.html" title="class in genius.core">Bid</a></code></td>
291<td class="colLast"><span class="typeNameLabel">SimpleMediatorBasedProtocol.</span><code><span class="memberNameLink"><a href="../../../../genius/core/protocol/SimpleMediatorBasedProtocol.html#getCurrentAgreement-genius.core.session.Session-java.util.List-">getCurrentAgreement</a></span>(<a href="../../../../genius/core/session/Session.html" title="class in genius.core.session">Session</a>&nbsp;session,
292 java.util.List&lt;<a href="../../../../genius/core/parties/NegotiationParty.html" title="interface in genius.core.parties">NegotiationParty</a>&gt;&nbsp;parties)</code>
293<div class="block">Returns the last offer for voting as the current agreement.</div>
294</td>
295</tr>
296<tr class="rowColor">
297<td class="colFirst"><code><a href="../../../../genius/core/Bid.html" title="class in genius.core">Bid</a></code></td>
298<td class="colLast"><span class="typeNameLabel">MultilateralProtocol.</span><code><span class="memberNameLink"><a href="../../../../genius/core/protocol/MultilateralProtocol.html#getCurrentAgreement-genius.core.session.Session-java.util.List-">getCurrentAgreement</a></span>(<a href="../../../../genius/core/session/Session.html" title="class in genius.core.session">Session</a>&nbsp;session,
299 java.util.List&lt;<a href="../../../../genius/core/parties/NegotiationParty.html" title="interface in genius.core.parties">NegotiationParty</a>&gt;&nbsp;parties)</code>
300<div class="block">This method should return the current agreement.</div>
301</td>
302</tr>
303<tr class="altColor">
304<td class="colFirst"><code><a href="../../../../genius/core/Bid.html" title="class in genius.core">Bid</a></code></td>
305<td class="colLast"><span class="typeNameLabel">MediatorFeedbackBasedProtocol.</span><code><span class="memberNameLink"><a href="../../../../genius/core/protocol/MediatorFeedbackBasedProtocol.html#getCurrentAgreement-genius.core.session.Session-java.util.List-">getCurrentAgreement</a></span>(<a href="../../../../genius/core/session/Session.html" title="class in genius.core.session">Session</a>&nbsp;session,
306 java.util.List&lt;<a href="../../../../genius/core/parties/NegotiationParty.html" title="interface in genius.core.parties">NegotiationParty</a>&gt;&nbsp;parties)</code>
307<div class="block">Returns the last offer that got accepted.</div>
308</td>
309</tr>
310<tr class="rowColor">
311<td class="colFirst"><code><a href="../../../../genius/core/Bid.html" title="class in genius.core">Bid</a></code></td>
312<td class="colLast"><span class="typeNameLabel">DefaultMultilateralProtocol.</span><code><span class="memberNameLink"><a href="../../../../genius/core/protocol/DefaultMultilateralProtocol.html#getCurrentAgreement-genius.core.session.Session-java.util.List-">getCurrentAgreement</a></span>(<a href="../../../../genius/core/session/Session.html" title="class in genius.core.session">Session</a>&nbsp;session,
313 java.util.List&lt;<a href="../../../../genius/core/parties/NegotiationParty.html" title="interface in genius.core.parties">NegotiationParty</a>&gt;&nbsp;parties)</code>
314<div class="block">This method should return the current agreement.</div>
315</td>
316</tr>
317<tr class="altColor">
318<td class="colFirst"><code><a href="../../../../genius/core/Bid.html" title="class in genius.core">Bid</a></code></td>
319<td class="colLast"><span class="typeNameLabel">AlternatingMultipleOffersProtocol.</span><code><span class="memberNameLink"><a href="../../../../genius/core/protocol/AlternatingMultipleOffersProtocol.html#getCurrentAgreement-genius.core.session.Session-java.util.List-">getCurrentAgreement</a></span>(<a href="../../../../genius/core/session/Session.html" title="class in genius.core.session">Session</a>&nbsp;session,
320 java.util.List&lt;<a href="../../../../genius/core/parties/NegotiationParty.html" title="interface in genius.core.parties">NegotiationParty</a>&gt;&nbsp;parties)</code>
321<div class="block">Gets the current agreement if any.</div>
322</td>
323</tr>
324<tr class="rowColor">
325<td class="colFirst"><code>int</code></td>
326<td class="colLast"><span class="typeNameLabel">StackedAlternatingOffersProtocol.</span><code><span class="memberNameLink"><a href="../../../../genius/core/protocol/StackedAlternatingOffersProtocol.html#getNumberOfAgreeingParties-genius.core.session.Session-java.util.List-">getNumberOfAgreeingParties</a></span>(<a href="../../../../genius/core/session/Session.html" title="class in genius.core.session">Session</a>&nbsp;session,
327 java.util.List&lt;<a href="../../../../genius/core/parties/NegotiationParty.html" title="interface in genius.core.parties">NegotiationParty</a>&gt;&nbsp;parties)</code>&nbsp;</td>
328</tr>
329<tr class="altColor">
330<td class="colFirst"><code>int</code></td>
331<td class="colLast"><span class="typeNameLabel">MultilateralProtocol.</span><code><span class="memberNameLink"><a href="../../../../genius/core/protocol/MultilateralProtocol.html#getNumberOfAgreeingParties-genius.core.session.Session-java.util.List-">getNumberOfAgreeingParties</a></span>(<a href="../../../../genius/core/session/Session.html" title="class in genius.core.session">Session</a>&nbsp;session,
332 java.util.List&lt;<a href="../../../../genius/core/parties/NegotiationParty.html" title="interface in genius.core.parties">NegotiationParty</a>&gt;&nbsp;parties)</code>
333<div class="block">Gets the number of parties that currently agree to the offer.</div>
334</td>
335</tr>
336<tr class="rowColor">
337<td class="colFirst"><code>int</code></td>
338<td class="colLast"><span class="typeNameLabel">DefaultMultilateralProtocol.</span><code><span class="memberNameLink"><a href="../../../../genius/core/protocol/DefaultMultilateralProtocol.html#getNumberOfAgreeingParties-genius.core.session.Session-java.util.List-">getNumberOfAgreeingParties</a></span>(<a href="../../../../genius/core/session/Session.html" title="class in genius.core.session">Session</a>&nbsp;session,
339 java.util.List&lt;<a href="../../../../genius/core/parties/NegotiationParty.html" title="interface in genius.core.parties">NegotiationParty</a>&gt;&nbsp;parties)</code>
340<div class="block">Gets the number of parties that currently agree to the offer.</div>
341</td>
342</tr>
343<tr class="altColor">
344<td class="colFirst"><code>int</code></td>
345<td class="colLast"><span class="typeNameLabel">AlternatingMultipleOffersProtocol.</span><code><span class="memberNameLink"><a href="../../../../genius/core/protocol/AlternatingMultipleOffersProtocol.html#getNumberOfAgreeingParties-genius.core.session.Session-java.util.List-">getNumberOfAgreeingParties</a></span>(<a href="../../../../genius/core/session/Session.html" title="class in genius.core.session">Session</a>&nbsp;session,
346 java.util.List&lt;<a href="../../../../genius/core/parties/NegotiationParty.html" title="interface in genius.core.parties">NegotiationParty</a>&gt;&nbsp;parties)</code>
347<div class="block">Gets the maximum number of vote this protocol found.</div>
348</td>
349</tr>
350<tr class="rowColor">
351<td class="colFirst"><code><a href="../../../../genius/core/session/Round.html" title="class in genius.core.session">Round</a></code></td>
352<td class="colLast"><span class="typeNameLabel">StackedAlternatingOffersProtocol.</span><code><span class="memberNameLink"><a href="../../../../genius/core/protocol/StackedAlternatingOffersProtocol.html#getRoundStructure-java.util.List-genius.core.session.Session-">getRoundStructure</a></span>(java.util.List&lt;<a href="../../../../genius/core/parties/NegotiationParty.html" title="interface in genius.core.parties">NegotiationParty</a>&gt;&nbsp;parties,
353 <a href="../../../../genius/core/session/Session.html" title="class in genius.core.session">Session</a>&nbsp;session)</code>
354<div class="block">Defines the round structure.</div>
355</td>
356</tr>
357<tr class="altColor">
358<td class="colFirst"><code><a href="../../../../genius/core/session/Round.html" title="class in genius.core.session">Round</a></code></td>
359<td class="colLast"><span class="typeNameLabel">SimpleMediatorBasedProtocol.</span><code><span class="memberNameLink"><a href="../../../../genius/core/protocol/SimpleMediatorBasedProtocol.html#getRoundStructure-java.util.List-genius.core.session.Session-">getRoundStructure</a></span>(java.util.List&lt;<a href="../../../../genius/core/parties/NegotiationParty.html" title="interface in genius.core.parties">NegotiationParty</a>&gt;&nbsp;parties,
360 <a href="../../../../genius/core/session/Session.html" title="class in genius.core.session">Session</a>&nbsp;session)</code>&nbsp;</td>
361</tr>
362<tr class="rowColor">
363<td class="colFirst"><code><a href="../../../../genius/core/session/Round.html" title="class in genius.core.session">Round</a></code></td>
364<td class="colLast"><span class="typeNameLabel">MultilateralProtocol.</span><code><span class="memberNameLink"><a href="../../../../genius/core/protocol/MultilateralProtocol.html#getRoundStructure-java.util.List-genius.core.session.Session-">getRoundStructure</a></span>(java.util.List&lt;<a href="../../../../genius/core/parties/NegotiationParty.html" title="interface in genius.core.parties">NegotiationParty</a>&gt;&nbsp;parties,
365 <a href="../../../../genius/core/session/Session.html" title="class in genius.core.session">Session</a>&nbsp;session)</code>
366<div class="block">Get the structure of the current round.</div>
367</td>
368</tr>
369<tr class="altColor">
370<td class="colFirst"><code><a href="../../../../genius/core/session/Round.html" title="class in genius.core.session">Round</a></code></td>
371<td class="colLast"><span class="typeNameLabel">MediatorFeedbackBasedProtocol.</span><code><span class="memberNameLink"><a href="../../../../genius/core/protocol/MediatorFeedbackBasedProtocol.html#getRoundStructure-java.util.List-genius.core.session.Session-">getRoundStructure</a></span>(java.util.List&lt;<a href="../../../../genius/core/parties/NegotiationParty.html" title="interface in genius.core.parties">NegotiationParty</a>&gt;&nbsp;parties,
372 <a href="../../../../genius/core/session/Session.html" title="class in genius.core.session">Session</a>&nbsp;session)</code>&nbsp;</td>
373</tr>
374<tr class="rowColor">
375<td class="colFirst"><code><a href="../../../../genius/core/session/Round.html" title="class in genius.core.session">Round</a></code></td>
376<td class="colLast"><span class="typeNameLabel">DefaultMultilateralProtocol.</span><code><span class="memberNameLink"><a href="../../../../genius/core/protocol/DefaultMultilateralProtocol.html#getRoundStructure-java.util.List-genius.core.session.Session-">getRoundStructure</a></span>(java.util.List&lt;<a href="../../../../genius/core/parties/NegotiationParty.html" title="interface in genius.core.parties">NegotiationParty</a>&gt;&nbsp;parties,
377 <a href="../../../../genius/core/session/Session.html" title="class in genius.core.session">Session</a>&nbsp;session)</code>&nbsp;</td>
378</tr>
379<tr class="altColor">
380<td class="colFirst"><code><a href="../../../../genius/core/session/Round.html" title="class in genius.core.session">Round</a></code></td>
381<td class="colLast"><span class="typeNameLabel">AlternatingMultipleOffersProtocol.</span><code><span class="memberNameLink"><a href="../../../../genius/core/protocol/AlternatingMultipleOffersProtocol.html#getRoundStructure-java.util.List-genius.core.session.Session-">getRoundStructure</a></span>(java.util.List&lt;<a href="../../../../genius/core/parties/NegotiationParty.html" title="interface in genius.core.parties">NegotiationParty</a>&gt;&nbsp;parties,
382 <a href="../../../../genius/core/session/Session.html" title="class in genius.core.session">Session</a>&nbsp;session)</code>
383<div class="block">Get the round structure used by this algorithm.</div>
384</td>
385</tr>
386<tr class="rowColor">
387<td class="colFirst"><code>boolean</code></td>
388<td class="colLast"><span class="typeNameLabel">StackedAlternatingOffersProtocol.</span><code><span class="memberNameLink"><a href="../../../../genius/core/protocol/StackedAlternatingOffersProtocol.html#isFinished-genius.core.session.Session-java.util.List-">isFinished</a></span>(<a href="../../../../genius/core/session/Session.html" title="class in genius.core.session">Session</a>&nbsp;session,
389 java.util.List&lt;<a href="../../../../genius/core/parties/NegotiationParty.html" title="interface in genius.core.parties">NegotiationParty</a>&gt;&nbsp;parties)</code>
390<div class="block">If all agents accept the most recent offer, then this negotiation ends.</div>
391</td>
392</tr>
393<tr class="altColor">
394<td class="colFirst"><code>boolean</code></td>
395<td class="colLast"><span class="typeNameLabel">MultilateralProtocol.</span><code><span class="memberNameLink"><a href="../../../../genius/core/protocol/MultilateralProtocol.html#isFinished-genius.core.session.Session-java.util.List-">isFinished</a></span>(<a href="../../../../genius/core/session/Session.html" title="class in genius.core.session">Session</a>&nbsp;session,
396 java.util.List&lt;<a href="../../../../genius/core/parties/NegotiationParty.html" title="interface in genius.core.parties">NegotiationParty</a>&gt;&nbsp;parties)</code>
397<div class="block">Check if the protocol is done or still busy.</div>
398</td>
399</tr>
400<tr class="rowColor">
401<td class="colFirst"><code>boolean</code></td>
402<td class="colLast"><span class="typeNameLabel">DefaultMultilateralProtocol.</span><code><span class="memberNameLink"><a href="../../../../genius/core/protocol/DefaultMultilateralProtocol.html#isFinished-genius.core.session.Session-java.util.List-">isFinished</a></span>(<a href="../../../../genius/core/session/Session.html" title="class in genius.core.session">Session</a>&nbsp;session,
403 java.util.List&lt;<a href="../../../../genius/core/parties/NegotiationParty.html" title="interface in genius.core.parties">NegotiationParty</a>&gt;&nbsp;parties)</code>&nbsp;</td>
404</tr>
405<tr class="altColor">
406<td class="colFirst"><code>boolean</code></td>
407<td class="colLast"><span class="typeNameLabel">AlternatingMultipleOffersProtocol.</span><code><span class="memberNameLink"><a href="../../../../genius/core/protocol/AlternatingMultipleOffersProtocol.html#isFinished-genius.core.session.Session-java.util.List-">isFinished</a></span>(<a href="../../../../genius/core/session/Session.html" title="class in genius.core.session">Session</a>&nbsp;session,
408 java.util.List&lt;<a href="../../../../genius/core/parties/NegotiationParty.html" title="interface in genius.core.parties">NegotiationParty</a>&gt;&nbsp;parties)</code>&nbsp;</td>
409</tr>
410<tr class="rowColor">
411<td class="colFirst"><code>boolean</code></td>
412<td class="colLast"><span class="typeNameLabel">AlternatingMajorityConsensusProtocol.</span><code><span class="memberNameLink"><a href="../../../../genius/core/protocol/AlternatingMajorityConsensusProtocol.html#isFinished-genius.core.session.Session-java.util.List-">isFinished</a></span>(<a href="../../../../genius/core/session/Session.html" title="class in genius.core.session">Session</a>&nbsp;session,
413 java.util.List&lt;<a href="../../../../genius/core/parties/NegotiationParty.html" title="interface in genius.core.parties">NegotiationParty</a>&gt;&nbsp;parties)</code>&nbsp;</td>
414</tr>
415<tr class="altColor">
416<td class="colFirst"><code>protected boolean</code></td>
417<td class="colLast"><span class="typeNameLabel">AlternatingMultipleOffersProtocol.</span><code><span class="memberNameLink"><a href="../../../../genius/core/protocol/AlternatingMultipleOffersProtocol.html#isVotingRound-genius.core.session.Session-">isVotingRound</a></span>(<a href="../../../../genius/core/session/Session.html" title="class in genius.core.session">Session</a>&nbsp;session)</code>
418<div class="block">Returns whether this is a voting round.</div>
419</td>
420</tr>
421</tbody>
422</table>
423</li>
424<li class="blockList"><a name="genius.core.session">
425<!-- -->
426</a>
427<h3>Uses of <a href="../../../../genius/core/session/Session.html" title="class in genius.core.session">Session</a> in <a href="../../../../genius/core/session/package-summary.html">genius.core.session</a></h3>
428<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
429<caption><span>Methods in <a href="../../../../genius/core/session/package-summary.html">genius.core.session</a> with parameters of type <a href="../../../../genius/core/session/Session.html" title="class in genius.core.session">Session</a></span><span class="tabEnd">&nbsp;</span></caption>
430<tr>
431<th class="colFirst" scope="col">Modifier and Type</th>
432<th class="colLast" scope="col">Method and Description</th>
433</tr>
434<tbody>
435<tr class="altColor">
436<td class="colFirst"><code>static java.util.List&lt;<a href="../../../../genius/core/parties/NegotiationPartyInternal.html" title="class in genius.core.parties">NegotiationPartyInternal</a>&gt;</code></td>
437<td class="colLast"><span class="typeNameLabel">TournamentManager.</span><code><span class="memberNameLink"><a href="../../../../genius/core/session/TournamentManager.html#getPartyList-genius.core.session.ExecutorWithTimeout-genius.core.session.MultilateralSessionConfiguration-genius.core.parties.SessionsInfo-genius.core.session.Session-">getPartyList</a></span>(<a href="../../../../genius/core/session/ExecutorWithTimeout.html" title="class in genius.core.session">ExecutorWithTimeout</a>&nbsp;executor,
438 <a href="../../../../genius/core/session/MultilateralSessionConfiguration.html" title="interface in genius.core.session">MultilateralSessionConfiguration</a>&nbsp;config,
439 <a href="../../../../genius/core/parties/SessionsInfo.html" title="class in genius.core.parties">SessionsInfo</a>&nbsp;info,
440 <a href="../../../../genius/core/session/Session.html" title="class in genius.core.session">Session</a>&nbsp;session)</code>
441<div class="block">Generate the parties involved in the next round of the tournament
442 generator.</div>
443</td>
444</tr>
445</tbody>
446</table>
447<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing constructors, and an explanation">
448<caption><span>Constructors in <a href="../../../../genius/core/session/package-summary.html">genius.core.session</a> with parameters of type <a href="../../../../genius/core/session/Session.html" title="class in genius.core.session">Session</a></span><span class="tabEnd">&nbsp;</span></caption>
449<tr>
450<th class="colOne" scope="col">Constructor and Description</th>
451</tr>
452<tbody>
453<tr class="altColor">
454<td class="colLast"><code><span class="memberNameLink"><a href="../../../../genius/core/session/SessionManager.html#SessionManager-genius.core.session.SessionConfiguration-java.util.List-genius.core.session.Session-genius.core.session.ExecutorWithTimeout-">SessionManager</a></span>(<a href="../../../../genius/core/session/SessionConfiguration.html" title="class in genius.core.session">SessionConfiguration</a>&nbsp;config,
455 java.util.List&lt;<a href="../../../../genius/core/parties/NegotiationPartyInternal.html" title="class in genius.core.parties">NegotiationPartyInternal</a>&gt;&nbsp;theparties,
456 <a href="../../../../genius/core/session/Session.html" title="class in genius.core.session">Session</a>&nbsp;session,
457 <a href="../../../../genius/core/session/ExecutorWithTimeout.html" title="class in genius.core.session">ExecutorWithTimeout</a>&nbsp;exec)</code>
458<div class="block">Initializes a new instance of the <a href="../../../../genius/core/session/SessionManager.html" title="class in genius.core.session"><code>SessionManager</code></a> object.</div>
459</td>
460</tr>
461</tbody>
462</table>
463</li>
464</ul>
465</li>
466</ul>
467</div>
468<!-- ======= START OF BOTTOM NAVBAR ====== -->
469<div class="bottomNav"><a name="navbar.bottom">
470<!-- -->
471</a>
472<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
473<a name="navbar.bottom.firstrow">
474<!-- -->
475</a>
476<ul class="navList" title="Navigation">
477<li><a href="../../../../overview-summary.html">Overview</a></li>
478<li><a href="../package-summary.html">Package</a></li>
479<li><a href="../../../../genius/core/session/Session.html" title="class in genius.core.session">Class</a></li>
480<li class="navBarCell1Rev">Use</li>
481<li><a href="../package-tree.html">Tree</a></li>
482<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
483<li><a href="../../../../index-all.html">Index</a></li>
484<li><a href="../../../../help-doc.html">Help</a></li>
485</ul>
486</div>
487<div class="subNav">
488<ul class="navList">
489<li>Prev</li>
490<li>Next</li>
491</ul>
492<ul class="navList">
493<li><a href="../../../../index.html?genius/core/session/class-use/Session.html" target="_top">Frames</a></li>
494<li><a href="Session.html" target="_top">No&nbsp;Frames</a></li>
495</ul>
496<ul class="navList" id="allclasses_navbar_bottom">
497<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
498</ul>
499<div>
500<script type="text/javascript"><!--
501 allClassesLink = document.getElementById("allclasses_navbar_bottom");
502 if(window==top) {
503 allClassesLink.style.display = "block";
504 }
505 else {
506 allClassesLink.style.display = "none";
507 }
508 //-->
509</script>
510</div>
511<a name="skip.navbar.bottom">
512<!-- -->
513</a></div>
514<!-- ======== END OF BOTTOM NAVBAR ======= -->
515</body>
516</html>
Note: See TracBrowser for help on using the repository browser.