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:57 CEST 2018 -->
|
---|
6 | <title>MediatorFeedbackBasedProtocol (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="MediatorFeedbackBasedProtocol (Genius Core Documentation)";
|
---|
16 | }
|
---|
17 | }
|
---|
18 | catch(err) {
|
---|
19 | }
|
---|
20 | //-->
|
---|
21 | var methods = {"i0":10,"i1":10,"i2":10};
|
---|
22 | var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
|
---|
23 | var altColor = "altColor";
|
---|
24 | var rowColor = "rowColor";
|
---|
25 | var tableTab = "tableTab";
|
---|
26 | var 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/MediatorFeedbackBasedProtocol.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/protocol/DefaultMultilateralProtocol.html" title="class in genius.core.protocol"><span class="typeNameLink">Prev Class</span></a></li>
|
---|
53 | <li><a href="../../../genius/core/protocol/MediatorProtocol.html" title="class in genius.core.protocol"><span class="typeNameLink">Next Class</span></a></li>
|
---|
54 | </ul>
|
---|
55 | <ul class="navList">
|
---|
56 | <li><a href="../../../index.html?genius/core/protocol/MediatorFeedbackBasedProtocol.html" target="_top">Frames</a></li>
|
---|
57 | <li><a href="MediatorFeedbackBasedProtocol.html" target="_top">No Frames</a></li>
|
---|
58 | </ul>
|
---|
59 | <ul class="navList" id="allclasses_navbar_top">
|
---|
60 | <li><a href="../../../allclasses-noframe.html">All 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: </li>
|
---|
77 | <li>Nested | </li>
|
---|
78 | <li><a href="#fields.inherited.from.class.genius.core.protocol.DefaultMultilateralProtocol">Field</a> | </li>
|
---|
79 | <li><a href="#constructor.summary">Constr</a> | </li>
|
---|
80 | <li><a href="#method.summary">Method</a></li>
|
---|
81 | </ul>
|
---|
82 | <ul class="subNavList">
|
---|
83 | <li>Detail: </li>
|
---|
84 | <li>Field | </li>
|
---|
85 | <li><a href="#constructor.detail">Constr</a> | </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.protocol</div>
|
---|
96 | <h2 title="Class MediatorFeedbackBasedProtocol" class="title">Class MediatorFeedbackBasedProtocol</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/protocol/DefaultMultilateralProtocol.html" title="class in genius.core.protocol">genius.core.protocol.DefaultMultilateralProtocol</a></li>
|
---|
104 | <li>
|
---|
105 | <ul class="inheritance">
|
---|
106 | <li><a href="../../../genius/core/protocol/MediatorProtocol.html" title="class in genius.core.protocol">genius.core.protocol.MediatorProtocol</a></li>
|
---|
107 | <li>
|
---|
108 | <ul class="inheritance">
|
---|
109 | <li>genius.core.protocol.MediatorFeedbackBasedProtocol</li>
|
---|
110 | </ul>
|
---|
111 | </li>
|
---|
112 | </ul>
|
---|
113 | </li>
|
---|
114 | </ul>
|
---|
115 | </li>
|
---|
116 | </ul>
|
---|
117 | <div class="description">
|
---|
118 | <ul class="blockList">
|
---|
119 | <li class="blockList">
|
---|
120 | <dl>
|
---|
121 | <dt>All Implemented Interfaces:</dt>
|
---|
122 | <dd><a href="../../../genius/core/protocol/MultilateralProtocol.html" title="interface in genius.core.protocol">MultilateralProtocol</a></dd>
|
---|
123 | </dl>
|
---|
124 | <hr>
|
---|
125 | <br>
|
---|
126 | <pre>public class <span class="typeNameLabel">MediatorFeedbackBasedProtocol</span>
|
---|
127 | extends <a href="../../../genius/core/protocol/MediatorProtocol.html" title="class in genius.core.protocol">MediatorProtocol</a></pre>
|
---|
128 | <div class="block">This is the protocol for the mediated feedback. This protocol has this cycle:
|
---|
129 | <ol>
|
---|
130 | <li>mediator proposes bid
|
---|
131 | <li>participants give feedback (better, worse, same)
|
---|
132 | </ol>
|
---|
133 |
|
---|
134 | The accepted bid is the bid from the last round that contained only "better"
|
---|
135 | or "same" votes.</div>
|
---|
136 | </li>
|
---|
137 | </ul>
|
---|
138 | </div>
|
---|
139 | <div class="summary">
|
---|
140 | <ul class="blockList">
|
---|
141 | <li class="blockList">
|
---|
142 | <!-- =========== FIELD SUMMARY =========== -->
|
---|
143 | <ul class="blockList">
|
---|
144 | <li class="blockList"><a name="field.summary">
|
---|
145 | <!-- -->
|
---|
146 | </a>
|
---|
147 | <h3>Field Summary</h3>
|
---|
148 | <ul class="blockList">
|
---|
149 | <li class="blockList"><a name="fields.inherited.from.class.genius.core.protocol.DefaultMultilateralProtocol">
|
---|
150 | <!-- -->
|
---|
151 | </a>
|
---|
152 | <h3>Fields inherited from class genius.core.protocol.<a href="../../../genius/core/protocol/DefaultMultilateralProtocol.html" title="class in genius.core.protocol">DefaultMultilateralProtocol</a></h3>
|
---|
153 | <code><a href="../../../genius/core/protocol/DefaultMultilateralProtocol.html#isAborted">isAborted</a></code></li>
|
---|
154 | </ul>
|
---|
155 | </li>
|
---|
156 | </ul>
|
---|
157 | <!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
---|
158 | <ul class="blockList">
|
---|
159 | <li class="blockList"><a name="constructor.summary">
|
---|
160 | <!-- -->
|
---|
161 | </a>
|
---|
162 | <h3>Constructor Summary</h3>
|
---|
163 | <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
|
---|
164 | <caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
---|
165 | <tr>
|
---|
166 | <th class="colOne" scope="col">Constructor and Description</th>
|
---|
167 | </tr>
|
---|
168 | <tr class="altColor">
|
---|
169 | <td class="colOne"><code><span class="memberNameLink"><a href="../../../genius/core/protocol/MediatorFeedbackBasedProtocol.html#MediatorFeedbackBasedProtocol--">MediatorFeedbackBasedProtocol</a></span>()</code> </td>
|
---|
170 | </tr>
|
---|
171 | </table>
|
---|
172 | </li>
|
---|
173 | </ul>
|
---|
174 | <!-- ========== METHOD SUMMARY =========== -->
|
---|
175 | <ul class="blockList">
|
---|
176 | <li class="blockList"><a name="method.summary">
|
---|
177 | <!-- -->
|
---|
178 | </a>
|
---|
179 | <h3>Method Summary</h3>
|
---|
180 | <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
---|
181 | <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
|
---|
182 | <tr>
|
---|
183 | <th class="colFirst" scope="col">Modifier and Type</th>
|
---|
184 | <th class="colLast" scope="col">Method and Description</th>
|
---|
185 | </tr>
|
---|
186 | <tr id="i0" class="altColor">
|
---|
187 | <td class="colFirst"><code>java.util.Map<<a href="../../../genius/core/parties/NegotiationParty.html" title="interface in genius.core.parties">NegotiationParty</a>,java.util.List<<a href="../../../genius/core/parties/NegotiationParty.html" title="interface in genius.core.parties">NegotiationParty</a>>></code></td>
|
---|
188 | <td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/protocol/MediatorFeedbackBasedProtocol.html#getActionListeners-java.util.List-">getActionListeners</a></span>(java.util.List<<a href="../../../genius/core/parties/NegotiationParty.html" title="interface in genius.core.parties">NegotiationParty</a>> parties)</code>
|
---|
189 | <div class="block">Get a map of parties that are listening to each other's response</div>
|
---|
190 | </td>
|
---|
191 | </tr>
|
---|
192 | <tr id="i1" class="rowColor">
|
---|
193 | <td class="colFirst"><code><a href="../../../genius/core/Bid.html" title="class in genius.core">Bid</a></code></td>
|
---|
194 | <td class="colLast"><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> session,
|
---|
195 | java.util.List<<a href="../../../genius/core/parties/NegotiationParty.html" title="interface in genius.core.parties">NegotiationParty</a>> parties)</code>
|
---|
196 | <div class="block">Returns the last offer that got accepted.</div>
|
---|
197 | </td>
|
---|
198 | </tr>
|
---|
199 | <tr id="i2" class="altColor">
|
---|
200 | <td class="colFirst"><code><a href="../../../genius/core/session/Round.html" title="class in genius.core.session">Round</a></code></td>
|
---|
201 | <td class="colLast"><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<<a href="../../../genius/core/parties/NegotiationParty.html" title="interface in genius.core.parties">NegotiationParty</a>> parties,
|
---|
202 | <a href="../../../genius/core/session/Session.html" title="class in genius.core.session">Session</a> session)</code>
|
---|
203 | <div class="block">Get the structure of the current round.</div>
|
---|
204 | </td>
|
---|
205 | </tr>
|
---|
206 | </table>
|
---|
207 | <ul class="blockList">
|
---|
208 | <li class="blockList"><a name="methods.inherited.from.class.genius.core.protocol.MediatorProtocol">
|
---|
209 | <!-- -->
|
---|
210 | </a>
|
---|
211 | <h3>Methods inherited from class genius.core.protocol.<a href="../../../genius/core/protocol/MediatorProtocol.html" title="class in genius.core.protocol">MediatorProtocol</a></h3>
|
---|
212 | <code><a href="../../../genius/core/protocol/MediatorProtocol.html#getMediator-java.util.List-">getMediator</a>, <a href="../../../genius/core/protocol/MediatorProtocol.html#getNonMediators-java.util.List-">getNonMediators</a></code></li>
|
---|
213 | </ul>
|
---|
214 | <ul class="blockList">
|
---|
215 | <li class="blockList"><a name="methods.inherited.from.class.genius.core.protocol.DefaultMultilateralProtocol">
|
---|
216 | <!-- -->
|
---|
217 | </a>
|
---|
218 | <h3>Methods inherited from class genius.core.protocol.<a href="../../../genius/core/protocol/DefaultMultilateralProtocol.html" title="class in genius.core.protocol">DefaultMultilateralProtocol</a></h3>
|
---|
219 | <code><a href="../../../genius/core/protocol/DefaultMultilateralProtocol.html#afterSession-genius.core.session.Session-java.util.List-">afterSession</a>, <a href="../../../genius/core/protocol/DefaultMultilateralProtocol.html#applyAction-genius.core.actions.Action-genius.core.session.Session-">applyAction</a>, <a href="../../../genius/core/protocol/DefaultMultilateralProtocol.html#beforeSession-genius.core.session.Session-java.util.List-">beforeSession</a>, <a href="../../../genius/core/protocol/DefaultMultilateralProtocol.html#checkOffer-genius.core.actions.Offer-">checkOffer</a>, <a href="../../../genius/core/protocol/DefaultMultilateralProtocol.html#endNegotiation--">endNegotiation</a>, <a href="../../../genius/core/protocol/DefaultMultilateralProtocol.html#endNegotiation-java.lang.String-">endNegotiation</a>, <a href="../../../genius/core/protocol/DefaultMultilateralProtocol.html#exclude-java.util.Collection-java.lang.Class-">exclude</a>, <a href="../../../genius/core/protocol/DefaultMultilateralProtocol.html#getNumberOfAgreeingParties-genius.core.session.Session-java.util.List-">getNumberOfAgreeingParties</a>, <a href="../../../genius/core/protocol/DefaultMultilateralProtocol.html#includeOnly-java.util.Collection-java.lang.Class-">includeOnly</a>, <a href="../../../genius/core/protocol/DefaultMultilateralProtocol.html#isFinished-genius.core.session.Session-java.util.List-">isFinished</a>, <a href="../../../genius/core/protocol/DefaultMultilateralProtocol.html#listenToAll-java.util.List-">listenToAll</a>, <a href="../../../genius/core/protocol/DefaultMultilateralProtocol.html#listenToNone-java.util.List-">listenToNone</a></code></li>
|
---|
220 | </ul>
|
---|
221 | <ul class="blockList">
|
---|
222 | <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
---|
223 | <!-- -->
|
---|
224 | </a>
|
---|
225 | <h3>Methods inherited from class java.lang.Object</h3>
|
---|
226 | <code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
|
---|
227 | </ul>
|
---|
228 | </li>
|
---|
229 | </ul>
|
---|
230 | </li>
|
---|
231 | </ul>
|
---|
232 | </div>
|
---|
233 | <div class="details">
|
---|
234 | <ul class="blockList">
|
---|
235 | <li class="blockList">
|
---|
236 | <!-- ========= CONSTRUCTOR DETAIL ======== -->
|
---|
237 | <ul class="blockList">
|
---|
238 | <li class="blockList"><a name="constructor.detail">
|
---|
239 | <!-- -->
|
---|
240 | </a>
|
---|
241 | <h3>Constructor Detail</h3>
|
---|
242 | <a name="MediatorFeedbackBasedProtocol--">
|
---|
243 | <!-- -->
|
---|
244 | </a>
|
---|
245 | <ul class="blockListLast">
|
---|
246 | <li class="blockList">
|
---|
247 | <h4>MediatorFeedbackBasedProtocol</h4>
|
---|
248 | <pre>public MediatorFeedbackBasedProtocol()</pre>
|
---|
249 | </li>
|
---|
250 | </ul>
|
---|
251 | </li>
|
---|
252 | </ul>
|
---|
253 | <!-- ============ METHOD DETAIL ========== -->
|
---|
254 | <ul class="blockList">
|
---|
255 | <li class="blockList"><a name="method.detail">
|
---|
256 | <!-- -->
|
---|
257 | </a>
|
---|
258 | <h3>Method Detail</h3>
|
---|
259 | <a name="getRoundStructure-java.util.List-genius.core.session.Session-">
|
---|
260 | <!-- -->
|
---|
261 | </a>
|
---|
262 | <ul class="blockList">
|
---|
263 | <li class="blockList">
|
---|
264 | <h4>getRoundStructure</h4>
|
---|
265 | <pre>public <a href="../../../genius/core/session/Round.html" title="class in genius.core.session">Round</a> getRoundStructure(java.util.List<<a href="../../../genius/core/parties/NegotiationParty.html" title="interface in genius.core.parties">NegotiationParty</a>> parties,
|
---|
266 | <a href="../../../genius/core/session/Session.html" title="class in genius.core.session">Session</a> session)</pre>
|
---|
267 | <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../genius/core/protocol/MultilateralProtocol.html#getRoundStructure-java.util.List-genius.core.session.Session-">MultilateralProtocol</a></code></span></div>
|
---|
268 | <div class="block">Get the structure of the current round. Each round, this method receives
|
---|
269 | a list of all the <a href="../../../genius/core/parties/NegotiationParty.html" title="interface in genius.core.parties"><code>NegotiationParty</code></a> and the
|
---|
270 | complete <a href="../../../genius/core/session/Session.html" title="class in genius.core.session"><code>Session</code></a> which can be used to diversify the round
|
---|
271 | structure at some point during the session.</div>
|
---|
272 | <dl>
|
---|
273 | <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
---|
274 | <dd><code><a href="../../../genius/core/protocol/MultilateralProtocol.html#getRoundStructure-java.util.List-genius.core.session.Session-">getRoundStructure</a></code> in interface <code><a href="../../../genius/core/protocol/MultilateralProtocol.html" title="interface in genius.core.protocol">MultilateralProtocol</a></code></dd>
|
---|
275 | <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
---|
276 | <dd><code><a href="../../../genius/core/protocol/DefaultMultilateralProtocol.html#getRoundStructure-java.util.List-genius.core.session.Session-">getRoundStructure</a></code> in class <code><a href="../../../genius/core/protocol/DefaultMultilateralProtocol.html" title="class in genius.core.protocol">DefaultMultilateralProtocol</a></code></dd>
|
---|
277 | <dt><span class="paramLabel">Parameters:</span></dt>
|
---|
278 | <dd><code>parties</code> - The parties currently participating</dd>
|
---|
279 | <dd><code>session</code> - The complete session history</dd>
|
---|
280 | <dt><span class="returnLabel">Returns:</span></dt>
|
---|
281 | <dd>A list of possible actions</dd>
|
---|
282 | </dl>
|
---|
283 | </li>
|
---|
284 | </ul>
|
---|
285 | <a name="getActionListeners-java.util.List-">
|
---|
286 | <!-- -->
|
---|
287 | </a>
|
---|
288 | <ul class="blockList">
|
---|
289 | <li class="blockList">
|
---|
290 | <h4>getActionListeners</h4>
|
---|
291 | <pre>public java.util.Map<<a href="../../../genius/core/parties/NegotiationParty.html" title="interface in genius.core.parties">NegotiationParty</a>,java.util.List<<a href="../../../genius/core/parties/NegotiationParty.html" title="interface in genius.core.parties">NegotiationParty</a>>> getActionListeners(java.util.List<<a href="../../../genius/core/parties/NegotiationParty.html" title="interface in genius.core.parties">NegotiationParty</a>> parties)</pre>
|
---|
292 | <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../genius/core/protocol/DefaultMultilateralProtocol.html#getActionListeners-java.util.List-">DefaultMultilateralProtocol</a></code></span></div>
|
---|
293 | <div class="block">Get a map of parties that are listening to each other's response</div>
|
---|
294 | <dl>
|
---|
295 | <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
---|
296 | <dd><code><a href="../../../genius/core/protocol/MultilateralProtocol.html#getActionListeners-java.util.List-">getActionListeners</a></code> in interface <code><a href="../../../genius/core/protocol/MultilateralProtocol.html" title="interface in genius.core.protocol">MultilateralProtocol</a></code></dd>
|
---|
297 | <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
---|
298 | <dd><code><a href="../../../genius/core/protocol/DefaultMultilateralProtocol.html#getActionListeners-java.util.List-">getActionListeners</a></code> in class <code><a href="../../../genius/core/protocol/DefaultMultilateralProtocol.html" title="class in genius.core.protocol">DefaultMultilateralProtocol</a></code></dd>
|
---|
299 | <dt><span class="paramLabel">Parameters:</span></dt>
|
---|
300 | <dd><code>parties</code> - The parties involved in the current negotiation</dd>
|
---|
301 | <dt><span class="returnLabel">Returns:</span></dt>
|
---|
302 | <dd>A map where the key is a
|
---|
303 | <a href="../../../genius/core/parties/NegotiationParty.html" title="interface in genius.core.parties"><code>NegotiationParty</code></a> that is responding to
|
---|
304 | a <a href="../../../genius/core/parties/NegotiationParty.html#chooseAction-java.util.List-"><code>NegotiationParty.chooseAction(java.util.List)</code></a> event,
|
---|
305 | and the value is a list of <a href="../../../genius/core/parties/NegotiationParty.html" title="interface in genius.core.parties"><code>NegotiationParty</code></a> that are
|
---|
306 | listening to that key party's response.</dd>
|
---|
307 | </dl>
|
---|
308 | </li>
|
---|
309 | </ul>
|
---|
310 | <a name="getCurrentAgreement-genius.core.session.Session-java.util.List-">
|
---|
311 | <!-- -->
|
---|
312 | </a>
|
---|
313 | <ul class="blockListLast">
|
---|
314 | <li class="blockList">
|
---|
315 | <h4>getCurrentAgreement</h4>
|
---|
316 | <pre>public <a href="../../../genius/core/Bid.html" title="class in genius.core">Bid</a> getCurrentAgreement(<a href="../../../genius/core/session/Session.html" title="class in genius.core.session">Session</a> session,
|
---|
317 | java.util.List<<a href="../../../genius/core/parties/NegotiationParty.html" title="interface in genius.core.parties">NegotiationParty</a>> parties)</pre>
|
---|
318 | <div class="block">Returns the last offer that got accepted.</div>
|
---|
319 | <dl>
|
---|
320 | <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
---|
321 | <dd><code><a href="../../../genius/core/protocol/MultilateralProtocol.html#getCurrentAgreement-genius.core.session.Session-java.util.List-">getCurrentAgreement</a></code> in interface <code><a href="../../../genius/core/protocol/MultilateralProtocol.html" title="interface in genius.core.protocol">MultilateralProtocol</a></code></dd>
|
---|
322 | <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
---|
323 | <dd><code><a href="../../../genius/core/protocol/DefaultMultilateralProtocol.html#getCurrentAgreement-genius.core.session.Session-java.util.List-">getCurrentAgreement</a></code> in class <code><a href="../../../genius/core/protocol/DefaultMultilateralProtocol.html" title="class in genius.core.protocol">DefaultMultilateralProtocol</a></code></dd>
|
---|
324 | <dt><span class="paramLabel">Parameters:</span></dt>
|
---|
325 | <dd><code>session</code> - The complete session history up to this point</dd>
|
---|
326 | <dd><code>parties</code> - The parties involved in the current negotiation</dd>
|
---|
327 | <dt><span class="returnLabel">Returns:</span></dt>
|
---|
328 | <dd>The current agreement (the bid from the last action from the
|
---|
329 | mediator that was <a href="../../../genius/core/Vote.html#ACCEPT"><code>Vote.ACCEPT</code></a>), or null if no agreement
|
---|
330 | yet.</dd>
|
---|
331 | </dl>
|
---|
332 | </li>
|
---|
333 | </ul>
|
---|
334 | </li>
|
---|
335 | </ul>
|
---|
336 | </li>
|
---|
337 | </ul>
|
---|
338 | </div>
|
---|
339 | </div>
|
---|
340 | <!-- ========= END OF CLASS DATA ========= -->
|
---|
341 | <!-- ======= START OF BOTTOM NAVBAR ====== -->
|
---|
342 | <div class="bottomNav"><a name="navbar.bottom">
|
---|
343 | <!-- -->
|
---|
344 | </a>
|
---|
345 | <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
---|
346 | <a name="navbar.bottom.firstrow">
|
---|
347 | <!-- -->
|
---|
348 | </a>
|
---|
349 | <ul class="navList" title="Navigation">
|
---|
350 | <li><a href="../../../overview-summary.html">Overview</a></li>
|
---|
351 | <li><a href="package-summary.html">Package</a></li>
|
---|
352 | <li class="navBarCell1Rev">Class</li>
|
---|
353 | <li><a href="class-use/MediatorFeedbackBasedProtocol.html">Use</a></li>
|
---|
354 | <li><a href="package-tree.html">Tree</a></li>
|
---|
355 | <li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
---|
356 | <li><a href="../../../index-all.html">Index</a></li>
|
---|
357 | <li><a href="../../../help-doc.html">Help</a></li>
|
---|
358 | </ul>
|
---|
359 | </div>
|
---|
360 | <div class="subNav">
|
---|
361 | <ul class="navList">
|
---|
362 | <li><a href="../../../genius/core/protocol/DefaultMultilateralProtocol.html" title="class in genius.core.protocol"><span class="typeNameLink">Prev Class</span></a></li>
|
---|
363 | <li><a href="../../../genius/core/protocol/MediatorProtocol.html" title="class in genius.core.protocol"><span class="typeNameLink">Next Class</span></a></li>
|
---|
364 | </ul>
|
---|
365 | <ul class="navList">
|
---|
366 | <li><a href="../../../index.html?genius/core/protocol/MediatorFeedbackBasedProtocol.html" target="_top">Frames</a></li>
|
---|
367 | <li><a href="MediatorFeedbackBasedProtocol.html" target="_top">No Frames</a></li>
|
---|
368 | </ul>
|
---|
369 | <ul class="navList" id="allclasses_navbar_bottom">
|
---|
370 | <li><a href="../../../allclasses-noframe.html">All Classes</a></li>
|
---|
371 | </ul>
|
---|
372 | <div>
|
---|
373 | <script type="text/javascript"><!--
|
---|
374 | allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
---|
375 | if(window==top) {
|
---|
376 | allClassesLink.style.display = "block";
|
---|
377 | }
|
---|
378 | else {
|
---|
379 | allClassesLink.style.display = "none";
|
---|
380 | }
|
---|
381 | //-->
|
---|
382 | </script>
|
---|
383 | </div>
|
---|
384 | <div>
|
---|
385 | <ul class="subNavList">
|
---|
386 | <li>Summary: </li>
|
---|
387 | <li>Nested | </li>
|
---|
388 | <li><a href="#fields.inherited.from.class.genius.core.protocol.DefaultMultilateralProtocol">Field</a> | </li>
|
---|
389 | <li><a href="#constructor.summary">Constr</a> | </li>
|
---|
390 | <li><a href="#method.summary">Method</a></li>
|
---|
391 | </ul>
|
---|
392 | <ul class="subNavList">
|
---|
393 | <li>Detail: </li>
|
---|
394 | <li>Field | </li>
|
---|
395 | <li><a href="#constructor.detail">Constr</a> | </li>
|
---|
396 | <li><a href="#method.detail">Method</a></li>
|
---|
397 | </ul>
|
---|
398 | </div>
|
---|
399 | <a name="skip.navbar.bottom">
|
---|
400 | <!-- -->
|
---|
401 | </a></div>
|
---|
402 | <!-- ======== END OF BOTTOM NAVBAR ======= -->
|
---|
403 | </body>
|
---|
404 | </html>
|
---|