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>OpponentModel (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="OpponentModel (Genius Core Documentation)";
|
---|
16 | }
|
---|
17 | }
|
---|
18 | catch(err) {
|
---|
19 | }
|
---|
20 | //-->
|
---|
21 | var 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":6};
|
---|
22 | var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract 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/OpponentModel.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/OMStrategy.html" title="class in genius.core.boaframework"><span class="typeNameLink">Prev Class</span></a></li>
|
---|
53 | <li><a href="../../../genius/core/boaframework/OutcomeSpace.html" title="class in genius.core.boaframework"><span class="typeNameLink">Next Class</span></a></li>
|
---|
54 | </ul>
|
---|
55 | <ul class="navList">
|
---|
56 | <li><a href="../../../index.html?genius/core/boaframework/OpponentModel.html" target="_top">Frames</a></li>
|
---|
57 | <li><a href="OpponentModel.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="#field.summary">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><a href="#field.detail">Field</a> | </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.boaframework</div>
|
---|
96 | <h2 title="Class OpponentModel" class="title">Class OpponentModel</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/boaframework/BOA.html" title="class in genius.core.boaframework">genius.core.boaframework.BOA</a></li>
|
---|
104 | <li>
|
---|
105 | <ul class="inheritance">
|
---|
106 | <li>genius.core.boaframework.OpponentModel</li>
|
---|
107 | </ul>
|
---|
108 | </li>
|
---|
109 | </ul>
|
---|
110 | </li>
|
---|
111 | </ul>
|
---|
112 | <div class="description">
|
---|
113 | <ul class="blockList">
|
---|
114 | <li class="blockList">
|
---|
115 | <dl>
|
---|
116 | <dt>Direct Known Subclasses:</dt>
|
---|
117 | <dd><a href="../../../genius/core/boaframework/NoModel.html" title="class in genius.core.boaframework">NoModel</a></dd>
|
---|
118 | </dl>
|
---|
119 | <hr>
|
---|
120 | <br>
|
---|
121 | <pre>public abstract class <span class="typeNameLabel">OpponentModel</span>
|
---|
122 | extends <a href="../../../genius/core/boaframework/BOA.html" title="class in genius.core.boaframework">BOA</a></pre>
|
---|
123 | <div class="block">Describes an opponent model of an agent of the BOA framework. This model
|
---|
124 | assumes issue weights hence only supports <a href="../../../genius/core/utility/AdditiveUtilitySpace.html" title="class in genius.core.utility"><code>AdditiveUtilitySpace</code></a>.
|
---|
125 |
|
---|
126 | Tim Baarslag, Koen Hindriks, Mark Hendrikx, Alex Dirkzwager and Catholijn M.
|
---|
127 | Jonker. Decoupling Negotiating Agents to Explore the Space of Negotiation
|
---|
128 | Strategies</div>
|
---|
129 | <dl>
|
---|
130 | <dt><span class="simpleTagLabel">Author:</span></dt>
|
---|
131 | <dd>Alex Dirkzwager, Mark Hendrikx</dd>
|
---|
132 | </dl>
|
---|
133 | </li>
|
---|
134 | </ul>
|
---|
135 | </div>
|
---|
136 | <div class="summary">
|
---|
137 | <ul class="blockList">
|
---|
138 | <li class="blockList">
|
---|
139 | <!-- =========== FIELD SUMMARY =========== -->
|
---|
140 | <ul class="blockList">
|
---|
141 | <li class="blockList"><a name="field.summary">
|
---|
142 | <!-- -->
|
---|
143 | </a>
|
---|
144 | <h3>Field Summary</h3>
|
---|
145 | <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
|
---|
146 | <caption><span>Fields</span><span class="tabEnd"> </span></caption>
|
---|
147 | <tr>
|
---|
148 | <th class="colFirst" scope="col">Modifier and Type</th>
|
---|
149 | <th class="colLast" scope="col">Field and Description</th>
|
---|
150 | </tr>
|
---|
151 | <tr class="altColor">
|
---|
152 | <td class="colFirst"><code>protected <a href="../../../genius/core/utility/AdditiveUtilitySpace.html" title="class in genius.core.utility">AdditiveUtilitySpace</a></code></td>
|
---|
153 | <td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/boaframework/OpponentModel.html#opponentUtilitySpace">opponentUtilitySpace</a></span></code>
|
---|
154 | <div class="block">Reference to the estimated opponent's utility state</div>
|
---|
155 | </td>
|
---|
156 | </tr>
|
---|
157 | </table>
|
---|
158 | <ul class="blockList">
|
---|
159 | <li class="blockList"><a name="fields.inherited.from.class.genius.core.boaframework.BOA">
|
---|
160 | <!-- -->
|
---|
161 | </a>
|
---|
162 | <h3>Fields inherited from class genius.core.boaframework.<a href="../../../genius/core/boaframework/BOA.html" title="class in genius.core.boaframework">BOA</a></h3>
|
---|
163 | <code><a href="../../../genius/core/boaframework/BOA.html#negotiationSession">negotiationSession</a></code></li>
|
---|
164 | </ul>
|
---|
165 | </li>
|
---|
166 | </ul>
|
---|
167 | <!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
---|
168 | <ul class="blockList">
|
---|
169 | <li class="blockList"><a name="constructor.summary">
|
---|
170 | <!-- -->
|
---|
171 | </a>
|
---|
172 | <h3>Constructor Summary</h3>
|
---|
173 | <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
|
---|
174 | <caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
---|
175 | <tr>
|
---|
176 | <th class="colOne" scope="col">Constructor and Description</th>
|
---|
177 | </tr>
|
---|
178 | <tr class="altColor">
|
---|
179 | <td class="colOne"><code><span class="memberNameLink"><a href="../../../genius/core/boaframework/OpponentModel.html#OpponentModel--">OpponentModel</a></span>()</code> </td>
|
---|
180 | </tr>
|
---|
181 | </table>
|
---|
182 | </li>
|
---|
183 | </ul>
|
---|
184 | <!-- ========== METHOD SUMMARY =========== -->
|
---|
185 | <ul class="blockList">
|
---|
186 | <li class="blockList"><a name="method.summary">
|
---|
187 | <!-- -->
|
---|
188 | </a>
|
---|
189 | <h3>Method Summary</h3>
|
---|
190 | <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
---|
191 | <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="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract 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>
|
---|
192 | <tr>
|
---|
193 | <th class="colFirst" scope="col">Modifier and Type</th>
|
---|
194 | <th class="colLast" scope="col">Method and Description</th>
|
---|
195 | </tr>
|
---|
196 | <tr id="i0" class="altColor">
|
---|
197 | <td class="colFirst"><code>void</code></td>
|
---|
198 | <td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/boaframework/OpponentModel.html#cleanUp--">cleanUp</a></span>()</code>
|
---|
199 | <div class="block">Removes references to the objects used by the opponent model.</div>
|
---|
200 | </td>
|
---|
201 | </tr>
|
---|
202 | <tr id="i1" class="rowColor">
|
---|
203 | <td class="colFirst"><code>double</code></td>
|
---|
204 | <td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/boaframework/OpponentModel.html#getBidEvaluation-genius.core.Bid-">getBidEvaluation</a></span>(<a href="../../../genius/core/Bid.html" title="class in genius.core">Bid</a> bid)</code>
|
---|
205 | <div class="block">Determines the utility of a bid according to the preference profile.</div>
|
---|
206 | </td>
|
---|
207 | </tr>
|
---|
208 | <tr id="i2" class="altColor">
|
---|
209 | <td class="colFirst"><code>double[]</code></td>
|
---|
210 | <td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/boaframework/OpponentModel.html#getIssueWeights--">getIssueWeights</a></span>()</code> </td>
|
---|
211 | </tr>
|
---|
212 | <tr id="i3" class="rowColor">
|
---|
213 | <td class="colFirst"><code>java.lang.String</code></td>
|
---|
214 | <td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/boaframework/OpponentModel.html#getName--">getName</a></span>()</code> </td>
|
---|
215 | </tr>
|
---|
216 | <tr id="i4" class="altColor">
|
---|
217 | <td class="colFirst"><code><a href="../../../genius/core/utility/AbstractUtilitySpace.html" title="class in genius.core.utility">AbstractUtilitySpace</a></code></td>
|
---|
218 | <td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/boaframework/OpponentModel.html#getOpponentUtilitySpace--">getOpponentUtilitySpace</a></span>()</code> </td>
|
---|
219 | </tr>
|
---|
220 | <tr id="i5" class="rowColor">
|
---|
221 | <td class="colFirst"><code>double</code></td>
|
---|
222 | <td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/boaframework/OpponentModel.html#getWeight-genius.core.issue.Issue-">getWeight</a></span>(<a href="../../../genius/core/issue/Issue.html" title="class in genius.core.issue">Issue</a> issue)</code>
|
---|
223 | <div class="block">Returns the weight of a particular issue in the domain.</div>
|
---|
224 | </td>
|
---|
225 | </tr>
|
---|
226 | <tr id="i6" class="altColor">
|
---|
227 | <td class="colFirst"><code>void</code></td>
|
---|
228 | <td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/boaframework/OpponentModel.html#init-genius.core.boaframework.NegotiationSession-java.util.Map-">init</a></span>(<a href="../../../genius/core/boaframework/NegotiationSession.html" title="class in genius.core.boaframework">NegotiationSession</a> negotiationSession,
|
---|
229 | java.util.Map<java.lang.String,java.lang.Double> parameters)</code>
|
---|
230 | <div class="block">Initializes the model.</div>
|
---|
231 | </td>
|
---|
232 | </tr>
|
---|
233 | <tr id="i7" class="rowColor">
|
---|
234 | <td class="colFirst"><code>boolean</code></td>
|
---|
235 | <td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/boaframework/OpponentModel.html#isCleared--">isCleared</a></span>()</code> </td>
|
---|
236 | </tr>
|
---|
237 | <tr id="i8" class="altColor">
|
---|
238 | <td class="colFirst"><code>java.io.Serializable</code></td>
|
---|
239 | <td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/boaframework/OpponentModel.html#loadData--">loadData</a></span>()</code>
|
---|
240 | <div class="block">Method used to load the saved object, possibly created in a previous
|
---|
241 | negotiation session.</div>
|
---|
242 | </td>
|
---|
243 | </tr>
|
---|
244 | <tr id="i9" class="rowColor">
|
---|
245 | <td class="colFirst"><code>void</code></td>
|
---|
246 | <td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/boaframework/OpponentModel.html#setOpponentUtilitySpace-genius.core.utility.AdditiveUtilitySpace-">setOpponentUtilitySpace</a></span>(<a href="../../../genius/core/utility/AdditiveUtilitySpace.html" title="class in genius.core.utility">AdditiveUtilitySpace</a> opponentUtilitySpace)</code>
|
---|
247 | <div class="block">Method which may be overwritten by an opponent model to get access to the
|
---|
248 | opponent's utilityspace.</div>
|
---|
249 | </td>
|
---|
250 | </tr>
|
---|
251 | <tr id="i10" class="altColor">
|
---|
252 | <td class="colFirst"><code>void</code></td>
|
---|
253 | <td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/boaframework/OpponentModel.html#setOpponentUtilitySpace-genius.core.protocol.BilateralAtomicNegotiationSession-">setOpponentUtilitySpace</a></span>(<a href="../../../genius/core/protocol/BilateralAtomicNegotiationSession.html" title="class in genius.core.protocol">BilateralAtomicNegotiationSession</a> fNegotiation)</code>
|
---|
254 | <div class="block">Method which may be overwritten by an opponent model to get access to the
|
---|
255 | opponent's utilityspace.</div>
|
---|
256 | </td>
|
---|
257 | </tr>
|
---|
258 | <tr id="i11" class="rowColor">
|
---|
259 | <td class="colFirst"><code>void</code></td>
|
---|
260 | <td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/boaframework/OpponentModel.html#storeData-java.io.Serializable-">storeData</a></span>(java.io.Serializable object)</code>
|
---|
261 | <div class="block">Method used to store data that should be accessible in the next
|
---|
262 | negotiation session on the same scenario.</div>
|
---|
263 | </td>
|
---|
264 | </tr>
|
---|
265 | <tr id="i12" class="altColor">
|
---|
266 | <td class="colFirst"><code>void</code></td>
|
---|
267 | <td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/boaframework/OpponentModel.html#updateModel-genius.core.Bid-">updateModel</a></span>(<a href="../../../genius/core/Bid.html" title="class in genius.core">Bid</a> opponentBid)</code>
|
---|
268 | <div class="block">Method used to receiveMessage the opponent model.</div>
|
---|
269 | </td>
|
---|
270 | </tr>
|
---|
271 | <tr id="i13" class="rowColor">
|
---|
272 | <td class="colFirst"><code>abstract void</code></td>
|
---|
273 | <td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/boaframework/OpponentModel.html#updateModel-genius.core.Bid-double-">updateModel</a></span>(<a href="../../../genius/core/Bid.html" title="class in genius.core">Bid</a> bid,
|
---|
274 | double time)</code>
|
---|
275 | <div class="block">Method used to receiveMessage the opponent model.</div>
|
---|
276 | </td>
|
---|
277 | </tr>
|
---|
278 | </table>
|
---|
279 | <ul class="blockList">
|
---|
280 | <li class="blockList"><a name="methods.inherited.from.class.genius.core.boaframework.BOA">
|
---|
281 | <!-- -->
|
---|
282 | </a>
|
---|
283 | <h3>Methods inherited from class genius.core.boaframework.<a href="../../../genius/core/boaframework/BOA.html" title="class in genius.core.boaframework">BOA</a></h3>
|
---|
284 | <code><a href="../../../genius/core/boaframework/BOA.html#endSession-genius.core.NegotiationResult-">endSession</a>, <a href="../../../genius/core/boaframework/BOA.html#getParameters--">getParameters</a>, <a href="../../../genius/core/boaframework/BOA.html#getParameterSpec--">getParameterSpec</a></code></li>
|
---|
285 | </ul>
|
---|
286 | <ul class="blockList">
|
---|
287 | <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
---|
288 | <!-- -->
|
---|
289 | </a>
|
---|
290 | <h3>Methods inherited from class java.lang.Object</h3>
|
---|
291 | <code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
|
---|
292 | </ul>
|
---|
293 | </li>
|
---|
294 | </ul>
|
---|
295 | </li>
|
---|
296 | </ul>
|
---|
297 | </div>
|
---|
298 | <div class="details">
|
---|
299 | <ul class="blockList">
|
---|
300 | <li class="blockList">
|
---|
301 | <!-- ============ FIELD DETAIL =========== -->
|
---|
302 | <ul class="blockList">
|
---|
303 | <li class="blockList"><a name="field.detail">
|
---|
304 | <!-- -->
|
---|
305 | </a>
|
---|
306 | <h3>Field Detail</h3>
|
---|
307 | <a name="opponentUtilitySpace">
|
---|
308 | <!-- -->
|
---|
309 | </a>
|
---|
310 | <ul class="blockListLast">
|
---|
311 | <li class="blockList">
|
---|
312 | <h4>opponentUtilitySpace</h4>
|
---|
313 | <pre>protected <a href="../../../genius/core/utility/AdditiveUtilitySpace.html" title="class in genius.core.utility">AdditiveUtilitySpace</a> opponentUtilitySpace</pre>
|
---|
314 | <div class="block">Reference to the estimated opponent's utility state</div>
|
---|
315 | </li>
|
---|
316 | </ul>
|
---|
317 | </li>
|
---|
318 | </ul>
|
---|
319 | <!-- ========= CONSTRUCTOR DETAIL ======== -->
|
---|
320 | <ul class="blockList">
|
---|
321 | <li class="blockList"><a name="constructor.detail">
|
---|
322 | <!-- -->
|
---|
323 | </a>
|
---|
324 | <h3>Constructor Detail</h3>
|
---|
325 | <a name="OpponentModel--">
|
---|
326 | <!-- -->
|
---|
327 | </a>
|
---|
328 | <ul class="blockListLast">
|
---|
329 | <li class="blockList">
|
---|
330 | <h4>OpponentModel</h4>
|
---|
331 | <pre>public OpponentModel()</pre>
|
---|
332 | </li>
|
---|
333 | </ul>
|
---|
334 | </li>
|
---|
335 | </ul>
|
---|
336 | <!-- ============ METHOD DETAIL ========== -->
|
---|
337 | <ul class="blockList">
|
---|
338 | <li class="blockList"><a name="method.detail">
|
---|
339 | <!-- -->
|
---|
340 | </a>
|
---|
341 | <h3>Method Detail</h3>
|
---|
342 | <a name="init-genius.core.boaframework.NegotiationSession-java.util.Map-">
|
---|
343 | <!-- -->
|
---|
344 | </a>
|
---|
345 | <ul class="blockList">
|
---|
346 | <li class="blockList">
|
---|
347 | <h4>init</h4>
|
---|
348 | <pre>public void init(<a href="../../../genius/core/boaframework/NegotiationSession.html" title="class in genius.core.boaframework">NegotiationSession</a> negotiationSession,
|
---|
349 | java.util.Map<java.lang.String,java.lang.Double> parameters)</pre>
|
---|
350 | <div class="block">Initializes the model. The init method should always be called after
|
---|
351 | creating an opponent model.</div>
|
---|
352 | <dl>
|
---|
353 | <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
---|
354 | <dd><code><a href="../../../genius/core/boaframework/BOA.html#init-genius.core.boaframework.NegotiationSession-java.util.Map-">init</a></code> in class <code><a href="../../../genius/core/boaframework/BOA.html" title="class in genius.core.boaframework">BOA</a></code></dd>
|
---|
355 | <dt><span class="paramLabel">Parameters:</span></dt>
|
---|
356 | <dd><code>negotiationSession</code> - reference to the state of the negotiation</dd>
|
---|
357 | <dd><code>parameters</code> - </dd>
|
---|
358 | <dt><span class="throwsLabel">Throws:</span></dt>
|
---|
359 | <dd><code>java.lang.Exception</code></dd>
|
---|
360 | </dl>
|
---|
361 | </li>
|
---|
362 | </ul>
|
---|
363 | <a name="updateModel-genius.core.Bid-">
|
---|
364 | <!-- -->
|
---|
365 | </a>
|
---|
366 | <ul class="blockList">
|
---|
367 | <li class="blockList">
|
---|
368 | <h4>updateModel</h4>
|
---|
369 | <pre>public void updateModel(<a href="../../../genius/core/Bid.html" title="class in genius.core">Bid</a> opponentBid)</pre>
|
---|
370 | <div class="block">Method used to receiveMessage the opponent model.</div>
|
---|
371 | <dl>
|
---|
372 | <dt><span class="paramLabel">Parameters:</span></dt>
|
---|
373 | <dd><code>opponentBid</code> - </dd>
|
---|
374 | </dl>
|
---|
375 | </li>
|
---|
376 | </ul>
|
---|
377 | <a name="updateModel-genius.core.Bid-double-">
|
---|
378 | <!-- -->
|
---|
379 | </a>
|
---|
380 | <ul class="blockList">
|
---|
381 | <li class="blockList">
|
---|
382 | <h4>updateModel</h4>
|
---|
383 | <pre>public abstract void updateModel(<a href="../../../genius/core/Bid.html" title="class in genius.core">Bid</a> bid,
|
---|
384 | double time)</pre>
|
---|
385 | <div class="block">Method used to receiveMessage the opponent model.</div>
|
---|
386 | <dl>
|
---|
387 | <dt><span class="paramLabel">Parameters:</span></dt>
|
---|
388 | <dd><code>bid</code> - to receiveMessage the model with.</dd>
|
---|
389 | <dd><code>time</code> - at which the bid was offered.</dd>
|
---|
390 | </dl>
|
---|
391 | </li>
|
---|
392 | </ul>
|
---|
393 | <a name="getBidEvaluation-genius.core.Bid-">
|
---|
394 | <!-- -->
|
---|
395 | </a>
|
---|
396 | <ul class="blockList">
|
---|
397 | <li class="blockList">
|
---|
398 | <h4>getBidEvaluation</h4>
|
---|
399 | <pre>public double getBidEvaluation(<a href="../../../genius/core/Bid.html" title="class in genius.core">Bid</a> bid)</pre>
|
---|
400 | <div class="block">Determines the utility of a bid according to the preference profile.</div>
|
---|
401 | <dl>
|
---|
402 | <dt><span class="paramLabel">Parameters:</span></dt>
|
---|
403 | <dd><code>bid</code> - of which the utility is calculated.</dd>
|
---|
404 | <dt><span class="returnLabel">Returns:</span></dt>
|
---|
405 | <dd>Utility of the bid</dd>
|
---|
406 | </dl>
|
---|
407 | </li>
|
---|
408 | </ul>
|
---|
409 | <a name="getOpponentUtilitySpace--">
|
---|
410 | <!-- -->
|
---|
411 | </a>
|
---|
412 | <ul class="blockList">
|
---|
413 | <li class="blockList">
|
---|
414 | <h4>getOpponentUtilitySpace</h4>
|
---|
415 | <pre>public <a href="../../../genius/core/utility/AbstractUtilitySpace.html" title="class in genius.core.utility">AbstractUtilitySpace</a> getOpponentUtilitySpace()</pre>
|
---|
416 | <dl>
|
---|
417 | <dt><span class="returnLabel">Returns:</span></dt>
|
---|
418 | <dd>the estimated utility space of the opponent</dd>
|
---|
419 | </dl>
|
---|
420 | </li>
|
---|
421 | </ul>
|
---|
422 | <a name="setOpponentUtilitySpace-genius.core.protocol.BilateralAtomicNegotiationSession-">
|
---|
423 | <!-- -->
|
---|
424 | </a>
|
---|
425 | <ul class="blockList">
|
---|
426 | <li class="blockList">
|
---|
427 | <h4>setOpponentUtilitySpace</h4>
|
---|
428 | <pre>public void setOpponentUtilitySpace(<a href="../../../genius/core/protocol/BilateralAtomicNegotiationSession.html" title="class in genius.core.protocol">BilateralAtomicNegotiationSession</a> fNegotiation)</pre>
|
---|
429 | <div class="block">Method which may be overwritten by an opponent model to get access to the
|
---|
430 | opponent's utilityspace.</div>
|
---|
431 | <dl>
|
---|
432 | <dt><span class="paramLabel">Parameters:</span></dt>
|
---|
433 | <dd><code>fNegotiation</code> - </dd>
|
---|
434 | </dl>
|
---|
435 | </li>
|
---|
436 | </ul>
|
---|
437 | <a name="setOpponentUtilitySpace-genius.core.utility.AdditiveUtilitySpace-">
|
---|
438 | <!-- -->
|
---|
439 | </a>
|
---|
440 | <ul class="blockList">
|
---|
441 | <li class="blockList">
|
---|
442 | <h4>setOpponentUtilitySpace</h4>
|
---|
443 | <pre>public void setOpponentUtilitySpace(<a href="../../../genius/core/utility/AdditiveUtilitySpace.html" title="class in genius.core.utility">AdditiveUtilitySpace</a> opponentUtilitySpace)</pre>
|
---|
444 | <div class="block">Method which may be overwritten by an opponent model to get access to the
|
---|
445 | opponent's utilityspace.</div>
|
---|
446 | <dl>
|
---|
447 | <dt><span class="paramLabel">Parameters:</span></dt>
|
---|
448 | <dd><code>opponentUtilitySpace</code> - </dd>
|
---|
449 | </dl>
|
---|
450 | </li>
|
---|
451 | </ul>
|
---|
452 | <a name="getWeight-genius.core.issue.Issue-">
|
---|
453 | <!-- -->
|
---|
454 | </a>
|
---|
455 | <ul class="blockList">
|
---|
456 | <li class="blockList">
|
---|
457 | <h4>getWeight</h4>
|
---|
458 | <pre>public double getWeight(<a href="../../../genius/core/issue/Issue.html" title="class in genius.core.issue">Issue</a> issue)</pre>
|
---|
459 | <div class="block">Returns the weight of a particular issue in the domain. Only works with
|
---|
460 | <a href="../../../genius/core/utility/AdditiveUtilitySpace.html" title="class in genius.core.utility"><code>AdditiveUtilitySpace</code></a>.</div>
|
---|
461 | <dl>
|
---|
462 | <dt><span class="paramLabel">Parameters:</span></dt>
|
---|
463 | <dd><code>issue</code> - from which the weight should be returned</dd>
|
---|
464 | <dt><span class="returnLabel">Returns:</span></dt>
|
---|
465 | <dd>weight of the given issue</dd>
|
---|
466 | </dl>
|
---|
467 | </li>
|
---|
468 | </ul>
|
---|
469 | <a name="getIssueWeights--">
|
---|
470 | <!-- -->
|
---|
471 | </a>
|
---|
472 | <ul class="blockList">
|
---|
473 | <li class="blockList">
|
---|
474 | <h4>getIssueWeights</h4>
|
---|
475 | <pre>public double[] getIssueWeights()</pre>
|
---|
476 | <dl>
|
---|
477 | <dt><span class="returnLabel">Returns:</span></dt>
|
---|
478 | <dd>set of all estimated issue weights.</dd>
|
---|
479 | </dl>
|
---|
480 | </li>
|
---|
481 | </ul>
|
---|
482 | <a name="cleanUp--">
|
---|
483 | <!-- -->
|
---|
484 | </a>
|
---|
485 | <ul class="blockList">
|
---|
486 | <li class="blockList">
|
---|
487 | <h4>cleanUp</h4>
|
---|
488 | <pre>public void cleanUp()</pre>
|
---|
489 | <div class="block">Removes references to the objects used by the opponent model.</div>
|
---|
490 | </li>
|
---|
491 | </ul>
|
---|
492 | <a name="isCleared--">
|
---|
493 | <!-- -->
|
---|
494 | </a>
|
---|
495 | <ul class="blockList">
|
---|
496 | <li class="blockList">
|
---|
497 | <h4>isCleared</h4>
|
---|
498 | <pre>public boolean isCleared()</pre>
|
---|
499 | <dl>
|
---|
500 | <dt><span class="returnLabel">Returns:</span></dt>
|
---|
501 | <dd>if the opponent model is in a usable state.</dd>
|
---|
502 | </dl>
|
---|
503 | </li>
|
---|
504 | </ul>
|
---|
505 | <a name="getName--">
|
---|
506 | <!-- -->
|
---|
507 | </a>
|
---|
508 | <ul class="blockList">
|
---|
509 | <li class="blockList">
|
---|
510 | <h4>getName</h4>
|
---|
511 | <pre>public java.lang.String getName()</pre>
|
---|
512 | <dl>
|
---|
513 | <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
---|
514 | <dd><code><a href="../../../genius/core/boaframework/BOA.html#getName--">getName</a></code> in class <code><a href="../../../genius/core/boaframework/BOA.html" title="class in genius.core.boaframework">BOA</a></code></dd>
|
---|
515 | <dt><span class="returnLabel">Returns:</span></dt>
|
---|
516 | <dd>name of the opponent model.</dd>
|
---|
517 | </dl>
|
---|
518 | </li>
|
---|
519 | </ul>
|
---|
520 | <a name="storeData-java.io.Serializable-">
|
---|
521 | <!-- -->
|
---|
522 | </a>
|
---|
523 | <ul class="blockList">
|
---|
524 | <li class="blockList">
|
---|
525 | <h4>storeData</h4>
|
---|
526 | <pre>public final void storeData(java.io.Serializable object)</pre>
|
---|
527 | <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../genius/core/boaframework/BOA.html#storeData-java.io.Serializable-">BOA</a></code></span></div>
|
---|
528 | <div class="block">Method used to store data that should be accessible in the next
|
---|
529 | negotiation session on the same scenario. This method can be called
|
---|
530 | during the negotiation, but it makes more sense to call it in the
|
---|
531 | endSession method.</div>
|
---|
532 | <dl>
|
---|
533 | <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
---|
534 | <dd><code><a href="../../../genius/core/boaframework/BOA.html#storeData-java.io.Serializable-">storeData</a></code> in class <code><a href="../../../genius/core/boaframework/BOA.html" title="class in genius.core.boaframework">BOA</a></code></dd>
|
---|
535 | <dt><span class="paramLabel">Parameters:</span></dt>
|
---|
536 | <dd><code>object</code> - to be saved by this component.</dd>
|
---|
537 | </dl>
|
---|
538 | </li>
|
---|
539 | </ul>
|
---|
540 | <a name="loadData--">
|
---|
541 | <!-- -->
|
---|
542 | </a>
|
---|
543 | <ul class="blockListLast">
|
---|
544 | <li class="blockList">
|
---|
545 | <h4>loadData</h4>
|
---|
546 | <pre>public final java.io.Serializable loadData()</pre>
|
---|
547 | <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../genius/core/boaframework/BOA.html#loadData--">BOA</a></code></span></div>
|
---|
548 | <div class="block">Method used to load the saved object, possibly created in a previous
|
---|
549 | negotiation session. The method returns null when such an object does not
|
---|
550 | exist yet.</div>
|
---|
551 | <dl>
|
---|
552 | <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
---|
553 | <dd><code><a href="../../../genius/core/boaframework/BOA.html#loadData--">loadData</a></code> in class <code><a href="../../../genius/core/boaframework/BOA.html" title="class in genius.core.boaframework">BOA</a></code></dd>
|
---|
554 | <dt><span class="returnLabel">Returns:</span></dt>
|
---|
555 | <dd>saved object or null when not available.</dd>
|
---|
556 | </dl>
|
---|
557 | </li>
|
---|
558 | </ul>
|
---|
559 | </li>
|
---|
560 | </ul>
|
---|
561 | </li>
|
---|
562 | </ul>
|
---|
563 | </div>
|
---|
564 | </div>
|
---|
565 | <!-- ========= END OF CLASS DATA ========= -->
|
---|
566 | <!-- ======= START OF BOTTOM NAVBAR ====== -->
|
---|
567 | <div class="bottomNav"><a name="navbar.bottom">
|
---|
568 | <!-- -->
|
---|
569 | </a>
|
---|
570 | <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
---|
571 | <a name="navbar.bottom.firstrow">
|
---|
572 | <!-- -->
|
---|
573 | </a>
|
---|
574 | <ul class="navList" title="Navigation">
|
---|
575 | <li><a href="../../../overview-summary.html">Overview</a></li>
|
---|
576 | <li><a href="package-summary.html">Package</a></li>
|
---|
577 | <li class="navBarCell1Rev">Class</li>
|
---|
578 | <li><a href="class-use/OpponentModel.html">Use</a></li>
|
---|
579 | <li><a href="package-tree.html">Tree</a></li>
|
---|
580 | <li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
---|
581 | <li><a href="../../../index-all.html">Index</a></li>
|
---|
582 | <li><a href="../../../help-doc.html">Help</a></li>
|
---|
583 | </ul>
|
---|
584 | </div>
|
---|
585 | <div class="subNav">
|
---|
586 | <ul class="navList">
|
---|
587 | <li><a href="../../../genius/core/boaframework/OMStrategy.html" title="class in genius.core.boaframework"><span class="typeNameLink">Prev Class</span></a></li>
|
---|
588 | <li><a href="../../../genius/core/boaframework/OutcomeSpace.html" title="class in genius.core.boaframework"><span class="typeNameLink">Next Class</span></a></li>
|
---|
589 | </ul>
|
---|
590 | <ul class="navList">
|
---|
591 | <li><a href="../../../index.html?genius/core/boaframework/OpponentModel.html" target="_top">Frames</a></li>
|
---|
592 | <li><a href="OpponentModel.html" target="_top">No Frames</a></li>
|
---|
593 | </ul>
|
---|
594 | <ul class="navList" id="allclasses_navbar_bottom">
|
---|
595 | <li><a href="../../../allclasses-noframe.html">All Classes</a></li>
|
---|
596 | </ul>
|
---|
597 | <div>
|
---|
598 | <script type="text/javascript"><!--
|
---|
599 | allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
---|
600 | if(window==top) {
|
---|
601 | allClassesLink.style.display = "block";
|
---|
602 | }
|
---|
603 | else {
|
---|
604 | allClassesLink.style.display = "none";
|
---|
605 | }
|
---|
606 | //-->
|
---|
607 | </script>
|
---|
608 | </div>
|
---|
609 | <div>
|
---|
610 | <ul class="subNavList">
|
---|
611 | <li>Summary: </li>
|
---|
612 | <li>Nested | </li>
|
---|
613 | <li><a href="#field.summary">Field</a> | </li>
|
---|
614 | <li><a href="#constructor.summary">Constr</a> | </li>
|
---|
615 | <li><a href="#method.summary">Method</a></li>
|
---|
616 | </ul>
|
---|
617 | <ul class="subNavList">
|
---|
618 | <li>Detail: </li>
|
---|
619 | <li><a href="#field.detail">Field</a> | </li>
|
---|
620 | <li><a href="#constructor.detail">Constr</a> | </li>
|
---|
621 | <li><a href="#method.detail">Method</a></li>
|
---|
622 | </ul>
|
---|
623 | </div>
|
---|
624 | <a name="skip.navbar.bottom">
|
---|
625 | <!-- -->
|
---|
626 | </a></div>
|
---|
627 | <!-- ======== END OF BOTTOM NAVBAR ======= -->
|
---|
628 | </body>
|
---|
629 | </html>
|
---|