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>OMStrategy (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="OMStrategy (Genius Core Documentation)";
|
---|
16 | }
|
---|
17 | }
|
---|
18 | catch(err) {
|
---|
19 | }
|
---|
20 | //-->
|
---|
21 | var methods = {"i0":6,"i1":6,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10};
|
---|
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/OMStrategy.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/OfferingStrategy.html" title="class in genius.core.boaframework"><span class="typeNameLink">Prev Class</span></a></li>
|
---|
53 | <li><a href="../../../genius/core/boaframework/OpponentModel.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/OMStrategy.html" target="_top">Frames</a></li>
|
---|
57 | <li><a href="OMStrategy.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 OMStrategy" class="title">Class OMStrategy</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.OMStrategy</li>
|
---|
107 | </ul>
|
---|
108 | </li>
|
---|
109 | </ul>
|
---|
110 | </li>
|
---|
111 | </ul>
|
---|
112 | <div class="description">
|
---|
113 | <ul class="blockList">
|
---|
114 | <li class="blockList">
|
---|
115 | <hr>
|
---|
116 | <br>
|
---|
117 | <pre>public abstract class <span class="typeNameLabel">OMStrategy</span>
|
---|
118 | extends <a href="../../../genius/core/boaframework/BOA.html" title="class in genius.core.boaframework">BOA</a></pre>
|
---|
119 | <div class="block">This is the abstract class which determines when the opponent model may be
|
---|
120 | updated, and how it used to select a bid for the opponent.
|
---|
121 |
|
---|
122 | Tim Baarslag, Koen Hindriks, Mark Hendrikx, Alex Dirkzwager and Catholijn M.
|
---|
123 | Jonker. Decoupling Negotiating Agents to Explore the Space of Negotiation
|
---|
124 | Strategies</div>
|
---|
125 | <dl>
|
---|
126 | <dt><span class="simpleTagLabel">Author:</span></dt>
|
---|
127 | <dd>Mark Hendrikx</dd>
|
---|
128 | </dl>
|
---|
129 | </li>
|
---|
130 | </ul>
|
---|
131 | </div>
|
---|
132 | <div class="summary">
|
---|
133 | <ul class="blockList">
|
---|
134 | <li class="blockList">
|
---|
135 | <!-- =========== FIELD SUMMARY =========== -->
|
---|
136 | <ul class="blockList">
|
---|
137 | <li class="blockList"><a name="field.summary">
|
---|
138 | <!-- -->
|
---|
139 | </a>
|
---|
140 | <h3>Field Summary</h3>
|
---|
141 | <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
|
---|
142 | <caption><span>Fields</span><span class="tabEnd"> </span></caption>
|
---|
143 | <tr>
|
---|
144 | <th class="colFirst" scope="col">Modifier and Type</th>
|
---|
145 | <th class="colLast" scope="col">Field and Description</th>
|
---|
146 | </tr>
|
---|
147 | <tr class="altColor">
|
---|
148 | <td class="colFirst"><code>protected <a href="../../../genius/core/boaframework/OpponentModel.html" title="class in genius.core.boaframework">OpponentModel</a></code></td>
|
---|
149 | <td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/boaframework/OMStrategy.html#model">model</a></span></code>
|
---|
150 | <div class="block">Reference to the opponent model</div>
|
---|
151 | </td>
|
---|
152 | </tr>
|
---|
153 | </table>
|
---|
154 | <ul class="blockList">
|
---|
155 | <li class="blockList"><a name="fields.inherited.from.class.genius.core.boaframework.BOA">
|
---|
156 | <!-- -->
|
---|
157 | </a>
|
---|
158 | <h3>Fields inherited from class genius.core.boaframework.<a href="../../../genius/core/boaframework/BOA.html" title="class in genius.core.boaframework">BOA</a></h3>
|
---|
159 | <code><a href="../../../genius/core/boaframework/BOA.html#negotiationSession">negotiationSession</a></code></li>
|
---|
160 | </ul>
|
---|
161 | </li>
|
---|
162 | </ul>
|
---|
163 | <!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
---|
164 | <ul class="blockList">
|
---|
165 | <li class="blockList"><a name="constructor.summary">
|
---|
166 | <!-- -->
|
---|
167 | </a>
|
---|
168 | <h3>Constructor Summary</h3>
|
---|
169 | <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
|
---|
170 | <caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
---|
171 | <tr>
|
---|
172 | <th class="colOne" scope="col">Constructor and Description</th>
|
---|
173 | </tr>
|
---|
174 | <tr class="altColor">
|
---|
175 | <td class="colOne"><code><span class="memberNameLink"><a href="../../../genius/core/boaframework/OMStrategy.html#OMStrategy--">OMStrategy</a></span>()</code> </td>
|
---|
176 | </tr>
|
---|
177 | </table>
|
---|
178 | </li>
|
---|
179 | </ul>
|
---|
180 | <!-- ========== METHOD SUMMARY =========== -->
|
---|
181 | <ul class="blockList">
|
---|
182 | <li class="blockList"><a name="method.summary">
|
---|
183 | <!-- -->
|
---|
184 | </a>
|
---|
185 | <h3>Method Summary</h3>
|
---|
186 | <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
---|
187 | <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>
|
---|
188 | <tr>
|
---|
189 | <th class="colFirst" scope="col">Modifier and Type</th>
|
---|
190 | <th class="colLast" scope="col">Method and Description</th>
|
---|
191 | </tr>
|
---|
192 | <tr id="i0" class="altColor">
|
---|
193 | <td class="colFirst"><code>abstract boolean</code></td>
|
---|
194 | <td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/boaframework/OMStrategy.html#canUpdateOM--">canUpdateOM</a></span>()</code> </td>
|
---|
195 | </tr>
|
---|
196 | <tr id="i1" class="rowColor">
|
---|
197 | <td class="colFirst"><code>abstract <a href="../../../genius/core/bidding/BidDetails.html" title="class in genius.core.bidding">BidDetails</a></code></td>
|
---|
198 | <td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/boaframework/OMStrategy.html#getBid-java.util.List-">getBid</a></span>(java.util.List<<a href="../../../genius/core/bidding/BidDetails.html" title="class in genius.core.bidding">BidDetails</a>> bidsInRange)</code>
|
---|
199 | <div class="block">Returns a bid selected using the opponent model from the given set of
|
---|
200 | similarly preferred bids.</div>
|
---|
201 | </td>
|
---|
202 | </tr>
|
---|
203 | <tr id="i2" class="altColor">
|
---|
204 | <td class="colFirst"><code><a href="../../../genius/core/bidding/BidDetails.html" title="class in genius.core.bidding">BidDetails</a></code></td>
|
---|
205 | <td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/boaframework/OMStrategy.html#getBid-genius.core.boaframework.OutcomeSpace-genius.core.misc.Range-">getBid</a></span>(<a href="../../../genius/core/boaframework/OutcomeSpace.html" title="class in genius.core.boaframework">OutcomeSpace</a> space,
|
---|
206 | <a href="../../../genius/core/misc/Range.html" title="class in genius.core.misc">Range</a> range)</code>
|
---|
207 | <div class="block">Returns a bid selected using the opponent model with a utility in the
|
---|
208 | given range.</div>
|
---|
209 | </td>
|
---|
210 | </tr>
|
---|
211 | <tr id="i3" class="rowColor">
|
---|
212 | <td class="colFirst"><code><a href="../../../genius/core/bidding/BidDetails.html" title="class in genius.core.bidding">BidDetails</a></code></td>
|
---|
213 | <td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/boaframework/OMStrategy.html#getBid-genius.core.boaframework.SortedOutcomeSpace-double-">getBid</a></span>(<a href="../../../genius/core/boaframework/SortedOutcomeSpace.html" title="class in genius.core.boaframework">SortedOutcomeSpace</a> space,
|
---|
214 | double targetUtility)</code>
|
---|
215 | <div class="block">Use this method in case no range is specified, but only a target utility.</div>
|
---|
216 | </td>
|
---|
217 | </tr>
|
---|
218 | <tr id="i4" class="altColor">
|
---|
219 | <td class="colFirst"><code>void</code></td>
|
---|
220 | <td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/boaframework/OMStrategy.html#init-genius.core.boaframework.NegotiationSession-genius.core.boaframework.OpponentModel-java.util.Map-">init</a></span>(<a href="../../../genius/core/boaframework/NegotiationSession.html" title="class in genius.core.boaframework">NegotiationSession</a> negotiationSession,
|
---|
221 | <a href="../../../genius/core/boaframework/OpponentModel.html" title="class in genius.core.boaframework">OpponentModel</a> model,
|
---|
222 | java.util.Map<java.lang.String,java.lang.Double> parameters)</code>
|
---|
223 | <div class="block">Initialize method to be used by the BOA framework.</div>
|
---|
224 | </td>
|
---|
225 | </tr>
|
---|
226 | <tr id="i5" class="rowColor">
|
---|
227 | <td class="colFirst"><code>java.io.Serializable</code></td>
|
---|
228 | <td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/boaframework/OMStrategy.html#loadData--">loadData</a></span>()</code>
|
---|
229 | <div class="block">Method used to load the saved object, possibly created in a previous
|
---|
230 | negotiation session.</div>
|
---|
231 | </td>
|
---|
232 | </tr>
|
---|
233 | <tr id="i6" class="altColor">
|
---|
234 | <td class="colFirst"><code>void</code></td>
|
---|
235 | <td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/boaframework/OMStrategy.html#setOpponentModel-genius.core.boaframework.OpponentModel-">setOpponentModel</a></span>(<a href="../../../genius/core/boaframework/OpponentModel.html" title="class in genius.core.boaframework">OpponentModel</a> model)</code> </td>
|
---|
236 | </tr>
|
---|
237 | <tr id="i7" class="rowColor">
|
---|
238 | <td class="colFirst"><code>void</code></td>
|
---|
239 | <td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/boaframework/OMStrategy.html#storeData-java.io.Serializable-">storeData</a></span>(java.io.Serializable object)</code>
|
---|
240 | <div class="block">Method used to store data that should be accessible in the next
|
---|
241 | negotiation session on the same scenario.</div>
|
---|
242 | </td>
|
---|
243 | </tr>
|
---|
244 | </table>
|
---|
245 | <ul class="blockList">
|
---|
246 | <li class="blockList"><a name="methods.inherited.from.class.genius.core.boaframework.BOA">
|
---|
247 | <!-- -->
|
---|
248 | </a>
|
---|
249 | <h3>Methods inherited from class genius.core.boaframework.<a href="../../../genius/core/boaframework/BOA.html" title="class in genius.core.boaframework">BOA</a></h3>
|
---|
250 | <code><a href="../../../genius/core/boaframework/BOA.html#endSession-genius.core.NegotiationResult-">endSession</a>, <a href="../../../genius/core/boaframework/BOA.html#getName--">getName</a>, <a href="../../../genius/core/boaframework/BOA.html#getParameters--">getParameters</a>, <a href="../../../genius/core/boaframework/BOA.html#getParameterSpec--">getParameterSpec</a>, <a href="../../../genius/core/boaframework/BOA.html#init-genius.core.boaframework.NegotiationSession-java.util.Map-">init</a></code></li>
|
---|
251 | </ul>
|
---|
252 | <ul class="blockList">
|
---|
253 | <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
---|
254 | <!-- -->
|
---|
255 | </a>
|
---|
256 | <h3>Methods inherited from class java.lang.Object</h3>
|
---|
257 | <code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
|
---|
258 | </ul>
|
---|
259 | </li>
|
---|
260 | </ul>
|
---|
261 | </li>
|
---|
262 | </ul>
|
---|
263 | </div>
|
---|
264 | <div class="details">
|
---|
265 | <ul class="blockList">
|
---|
266 | <li class="blockList">
|
---|
267 | <!-- ============ FIELD DETAIL =========== -->
|
---|
268 | <ul class="blockList">
|
---|
269 | <li class="blockList"><a name="field.detail">
|
---|
270 | <!-- -->
|
---|
271 | </a>
|
---|
272 | <h3>Field Detail</h3>
|
---|
273 | <a name="model">
|
---|
274 | <!-- -->
|
---|
275 | </a>
|
---|
276 | <ul class="blockListLast">
|
---|
277 | <li class="blockList">
|
---|
278 | <h4>model</h4>
|
---|
279 | <pre>protected <a href="../../../genius/core/boaframework/OpponentModel.html" title="class in genius.core.boaframework">OpponentModel</a> model</pre>
|
---|
280 | <div class="block">Reference to the opponent model</div>
|
---|
281 | </li>
|
---|
282 | </ul>
|
---|
283 | </li>
|
---|
284 | </ul>
|
---|
285 | <!-- ========= CONSTRUCTOR DETAIL ======== -->
|
---|
286 | <ul class="blockList">
|
---|
287 | <li class="blockList"><a name="constructor.detail">
|
---|
288 | <!-- -->
|
---|
289 | </a>
|
---|
290 | <h3>Constructor Detail</h3>
|
---|
291 | <a name="OMStrategy--">
|
---|
292 | <!-- -->
|
---|
293 | </a>
|
---|
294 | <ul class="blockListLast">
|
---|
295 | <li class="blockList">
|
---|
296 | <h4>OMStrategy</h4>
|
---|
297 | <pre>public OMStrategy()</pre>
|
---|
298 | </li>
|
---|
299 | </ul>
|
---|
300 | </li>
|
---|
301 | </ul>
|
---|
302 | <!-- ============ METHOD DETAIL ========== -->
|
---|
303 | <ul class="blockList">
|
---|
304 | <li class="blockList"><a name="method.detail">
|
---|
305 | <!-- -->
|
---|
306 | </a>
|
---|
307 | <h3>Method Detail</h3>
|
---|
308 | <a name="init-genius.core.boaframework.NegotiationSession-genius.core.boaframework.OpponentModel-java.util.Map-">
|
---|
309 | <!-- -->
|
---|
310 | </a>
|
---|
311 | <ul class="blockList">
|
---|
312 | <li class="blockList">
|
---|
313 | <h4>init</h4>
|
---|
314 | <pre>public void init(<a href="../../../genius/core/boaframework/NegotiationSession.html" title="class in genius.core.boaframework">NegotiationSession</a> negotiationSession,
|
---|
315 | <a href="../../../genius/core/boaframework/OpponentModel.html" title="class in genius.core.boaframework">OpponentModel</a> model,
|
---|
316 | java.util.Map<java.lang.String,java.lang.Double> parameters)</pre>
|
---|
317 | <div class="block">Initialize method to be used by the BOA framework.</div>
|
---|
318 | <dl>
|
---|
319 | <dt><span class="paramLabel">Parameters:</span></dt>
|
---|
320 | <dd><code>negotiationSession</code> - state of the negotiation.</dd>
|
---|
321 | <dd><code>model</code> - opponent model to which the opponent model strategy applies.</dd>
|
---|
322 | <dd><code>parameters</code> - for the opponent model strategy, for example the maximum
|
---|
323 | receiveMessage time.</dd>
|
---|
324 | </dl>
|
---|
325 | </li>
|
---|
326 | </ul>
|
---|
327 | <a name="getBid-java.util.List-">
|
---|
328 | <!-- -->
|
---|
329 | </a>
|
---|
330 | <ul class="blockList">
|
---|
331 | <li class="blockList">
|
---|
332 | <h4>getBid</h4>
|
---|
333 | <pre>public abstract <a href="../../../genius/core/bidding/BidDetails.html" title="class in genius.core.bidding">BidDetails</a> getBid(java.util.List<<a href="../../../genius/core/bidding/BidDetails.html" title="class in genius.core.bidding">BidDetails</a>> bidsInRange)</pre>
|
---|
334 | <div class="block">Returns a bid selected using the opponent model from the given set of
|
---|
335 | similarly preferred bids.</div>
|
---|
336 | <dl>
|
---|
337 | <dt><span class="paramLabel">Parameters:</span></dt>
|
---|
338 | <dd><code>bidsInRange</code> - set of similarly preferred bids</dd>
|
---|
339 | <dt><span class="returnLabel">Returns:</span></dt>
|
---|
340 | <dd>bid</dd>
|
---|
341 | </dl>
|
---|
342 | </li>
|
---|
343 | </ul>
|
---|
344 | <a name="getBid-genius.core.boaframework.OutcomeSpace-genius.core.misc.Range-">
|
---|
345 | <!-- -->
|
---|
346 | </a>
|
---|
347 | <ul class="blockList">
|
---|
348 | <li class="blockList">
|
---|
349 | <h4>getBid</h4>
|
---|
350 | <pre>public <a href="../../../genius/core/bidding/BidDetails.html" title="class in genius.core.bidding">BidDetails</a> getBid(<a href="../../../genius/core/boaframework/OutcomeSpace.html" title="class in genius.core.boaframework">OutcomeSpace</a> space,
|
---|
351 | <a href="../../../genius/core/misc/Range.html" title="class in genius.core.misc">Range</a> range)</pre>
|
---|
352 | <div class="block">Returns a bid selected using the opponent model with a utility in the
|
---|
353 | given range.</div>
|
---|
354 | <dl>
|
---|
355 | <dt><span class="paramLabel">Parameters:</span></dt>
|
---|
356 | <dd><code>space</code> - of all possible outcomes</dd>
|
---|
357 | <dd><code>range</code> - of utility</dd>
|
---|
358 | <dt><span class="returnLabel">Returns:</span></dt>
|
---|
359 | <dd>bid</dd>
|
---|
360 | </dl>
|
---|
361 | </li>
|
---|
362 | </ul>
|
---|
363 | <a name="setOpponentModel-genius.core.boaframework.OpponentModel-">
|
---|
364 | <!-- -->
|
---|
365 | </a>
|
---|
366 | <ul class="blockList">
|
---|
367 | <li class="blockList">
|
---|
368 | <h4>setOpponentModel</h4>
|
---|
369 | <pre>public void setOpponentModel(<a href="../../../genius/core/boaframework/OpponentModel.html" title="class in genius.core.boaframework">OpponentModel</a> model)</pre>
|
---|
370 | </li>
|
---|
371 | </ul>
|
---|
372 | <a name="getBid-genius.core.boaframework.SortedOutcomeSpace-double-">
|
---|
373 | <!-- -->
|
---|
374 | </a>
|
---|
375 | <ul class="blockList">
|
---|
376 | <li class="blockList">
|
---|
377 | <h4>getBid</h4>
|
---|
378 | <pre>public <a href="../../../genius/core/bidding/BidDetails.html" title="class in genius.core.bidding">BidDetails</a> getBid(<a href="../../../genius/core/boaframework/SortedOutcomeSpace.html" title="class in genius.core.boaframework">SortedOutcomeSpace</a> space,
|
---|
379 | double targetUtility)</pre>
|
---|
380 | <div class="block">Use this method in case no range is specified, but only a target utility.
|
---|
381 |
|
---|
382 | This method has two steps: First a set of bids is generated using the
|
---|
383 | following procedure. The method looks at the bids in the range
|
---|
384 | [targetUtility, targetUtility + INITIAL_WINDOW_RANGE]. If there are less
|
---|
385 | than EXPECTED_BIDS_IN_WINDOW in the window, then the upperbound is
|
---|
386 | increased by RANGE_INCREMENT.
|
---|
387 |
|
---|
388 | Second a bid for the opponent is selected by calling
|
---|
389 | getBid(List<BidDetails> bidsInRange) with the generated set.</div>
|
---|
390 | <dl>
|
---|
391 | <dt><span class="paramLabel">Parameters:</span></dt>
|
---|
392 | <dd><code>space</code> - of all possible outcomes</dd>
|
---|
393 | <dd><code>targetUtility</code> - minimum utility to</dd>
|
---|
394 | <dt><span class="returnLabel">Returns:</span></dt>
|
---|
395 | <dd>bid selected by using the opponent model strategy.</dd>
|
---|
396 | </dl>
|
---|
397 | </li>
|
---|
398 | </ul>
|
---|
399 | <a name="canUpdateOM--">
|
---|
400 | <!-- -->
|
---|
401 | </a>
|
---|
402 | <ul class="blockList">
|
---|
403 | <li class="blockList">
|
---|
404 | <h4>canUpdateOM</h4>
|
---|
405 | <pre>public abstract boolean canUpdateOM()</pre>
|
---|
406 | <dl>
|
---|
407 | <dt><span class="returnLabel">Returns:</span></dt>
|
---|
408 | <dd>if given the negotiation state the opponent model may be updated</dd>
|
---|
409 | </dl>
|
---|
410 | </li>
|
---|
411 | </ul>
|
---|
412 | <a name="storeData-java.io.Serializable-">
|
---|
413 | <!-- -->
|
---|
414 | </a>
|
---|
415 | <ul class="blockList">
|
---|
416 | <li class="blockList">
|
---|
417 | <h4>storeData</h4>
|
---|
418 | <pre>public final void storeData(java.io.Serializable object)</pre>
|
---|
419 | <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>
|
---|
420 | <div class="block">Method used to store data that should be accessible in the next
|
---|
421 | negotiation session on the same scenario. This method can be called
|
---|
422 | during the negotiation, but it makes more sense to call it in the
|
---|
423 | endSession method.</div>
|
---|
424 | <dl>
|
---|
425 | <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
---|
426 | <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>
|
---|
427 | <dt><span class="paramLabel">Parameters:</span></dt>
|
---|
428 | <dd><code>object</code> - to be saved by this component.</dd>
|
---|
429 | </dl>
|
---|
430 | </li>
|
---|
431 | </ul>
|
---|
432 | <a name="loadData--">
|
---|
433 | <!-- -->
|
---|
434 | </a>
|
---|
435 | <ul class="blockListLast">
|
---|
436 | <li class="blockList">
|
---|
437 | <h4>loadData</h4>
|
---|
438 | <pre>public final java.io.Serializable loadData()</pre>
|
---|
439 | <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../genius/core/boaframework/BOA.html#loadData--">BOA</a></code></span></div>
|
---|
440 | <div class="block">Method used to load the saved object, possibly created in a previous
|
---|
441 | negotiation session. The method returns null when such an object does not
|
---|
442 | exist yet.</div>
|
---|
443 | <dl>
|
---|
444 | <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
---|
445 | <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>
|
---|
446 | <dt><span class="returnLabel">Returns:</span></dt>
|
---|
447 | <dd>saved object or null when not available.</dd>
|
---|
448 | </dl>
|
---|
449 | </li>
|
---|
450 | </ul>
|
---|
451 | </li>
|
---|
452 | </ul>
|
---|
453 | </li>
|
---|
454 | </ul>
|
---|
455 | </div>
|
---|
456 | </div>
|
---|
457 | <!-- ========= END OF CLASS DATA ========= -->
|
---|
458 | <!-- ======= START OF BOTTOM NAVBAR ====== -->
|
---|
459 | <div class="bottomNav"><a name="navbar.bottom">
|
---|
460 | <!-- -->
|
---|
461 | </a>
|
---|
462 | <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
---|
463 | <a name="navbar.bottom.firstrow">
|
---|
464 | <!-- -->
|
---|
465 | </a>
|
---|
466 | <ul class="navList" title="Navigation">
|
---|
467 | <li><a href="../../../overview-summary.html">Overview</a></li>
|
---|
468 | <li><a href="package-summary.html">Package</a></li>
|
---|
469 | <li class="navBarCell1Rev">Class</li>
|
---|
470 | <li><a href="class-use/OMStrategy.html">Use</a></li>
|
---|
471 | <li><a href="package-tree.html">Tree</a></li>
|
---|
472 | <li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
---|
473 | <li><a href="../../../index-all.html">Index</a></li>
|
---|
474 | <li><a href="../../../help-doc.html">Help</a></li>
|
---|
475 | </ul>
|
---|
476 | </div>
|
---|
477 | <div class="subNav">
|
---|
478 | <ul class="navList">
|
---|
479 | <li><a href="../../../genius/core/boaframework/OfferingStrategy.html" title="class in genius.core.boaframework"><span class="typeNameLink">Prev Class</span></a></li>
|
---|
480 | <li><a href="../../../genius/core/boaframework/OpponentModel.html" title="class in genius.core.boaframework"><span class="typeNameLink">Next Class</span></a></li>
|
---|
481 | </ul>
|
---|
482 | <ul class="navList">
|
---|
483 | <li><a href="../../../index.html?genius/core/boaframework/OMStrategy.html" target="_top">Frames</a></li>
|
---|
484 | <li><a href="OMStrategy.html" target="_top">No Frames</a></li>
|
---|
485 | </ul>
|
---|
486 | <ul class="navList" id="allclasses_navbar_bottom">
|
---|
487 | <li><a href="../../../allclasses-noframe.html">All Classes</a></li>
|
---|
488 | </ul>
|
---|
489 | <div>
|
---|
490 | <script type="text/javascript"><!--
|
---|
491 | allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
---|
492 | if(window==top) {
|
---|
493 | allClassesLink.style.display = "block";
|
---|
494 | }
|
---|
495 | else {
|
---|
496 | allClassesLink.style.display = "none";
|
---|
497 | }
|
---|
498 | //-->
|
---|
499 | </script>
|
---|
500 | </div>
|
---|
501 | <div>
|
---|
502 | <ul class="subNavList">
|
---|
503 | <li>Summary: </li>
|
---|
504 | <li>Nested | </li>
|
---|
505 | <li><a href="#field.summary">Field</a> | </li>
|
---|
506 | <li><a href="#constructor.summary">Constr</a> | </li>
|
---|
507 | <li><a href="#method.summary">Method</a></li>
|
---|
508 | </ul>
|
---|
509 | <ul class="subNavList">
|
---|
510 | <li>Detail: </li>
|
---|
511 | <li><a href="#field.detail">Field</a> | </li>
|
---|
512 | <li><a href="#constructor.detail">Constr</a> | </li>
|
---|
513 | <li><a href="#method.detail">Method</a></li>
|
---|
514 | </ul>
|
---|
515 | </div>
|
---|
516 | <a name="skip.navbar.bottom">
|
---|
517 | <!-- -->
|
---|
518 | </a></div>
|
---|
519 | <!-- ======== END OF BOTTOM NAVBAR ======= -->
|
---|
520 | </body>
|
---|
521 | </html>
|
---|