[1] | 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>NegotiationResult (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="NegotiationResult (Genius Core Documentation)";
|
---|
| 16 | }
|
---|
| 17 | }
|
---|
| 18 | catch(err) {
|
---|
| 19 | }
|
---|
| 20 | //-->
|
---|
| 21 | var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":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/NegotiationResult.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/NegotiationEventListener.html" title="interface in genius.core"><span class="typeNameLink">Prev Class</span></a></li>
|
---|
| 53 | <li><a href="../../genius/core/NegoTurn.html" title="class in genius.core"><span class="typeNameLink">Next Class</span></a></li>
|
---|
| 54 | </ul>
|
---|
| 55 | <ul class="navList">
|
---|
| 56 | <li><a href="../../index.html?genius/core/NegotiationResult.html" target="_top">Frames</a></li>
|
---|
| 57 | <li><a href="NegotiationResult.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>Field | </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</div>
|
---|
| 96 | <h2 title="Class NegotiationResult" class="title">Class NegotiationResult</h2>
|
---|
| 97 | </div>
|
---|
| 98 | <div class="contentContainer">
|
---|
| 99 | <ul class="inheritance">
|
---|
| 100 | <li>java.lang.Object</li>
|
---|
| 101 | <li>
|
---|
| 102 | <ul class="inheritance">
|
---|
| 103 | <li>genius.core.NegotiationResult</li>
|
---|
| 104 | </ul>
|
---|
| 105 | </li>
|
---|
| 106 | </ul>
|
---|
| 107 | <div class="description">
|
---|
| 108 | <ul class="blockList">
|
---|
| 109 | <li class="blockList">
|
---|
| 110 | <hr>
|
---|
| 111 | <br>
|
---|
| 112 | <pre>public class <span class="typeNameLabel">NegotiationResult</span>
|
---|
| 113 | extends java.lang.Object</pre>
|
---|
| 114 | </li>
|
---|
| 115 | </ul>
|
---|
| 116 | </div>
|
---|
| 117 | <div class="summary">
|
---|
| 118 | <ul class="blockList">
|
---|
| 119 | <li class="blockList">
|
---|
| 120 | <!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
---|
| 121 | <ul class="blockList">
|
---|
| 122 | <li class="blockList"><a name="constructor.summary">
|
---|
| 123 | <!-- -->
|
---|
| 124 | </a>
|
---|
| 125 | <h3>Constructor Summary</h3>
|
---|
| 126 | <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
|
---|
| 127 | <caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
---|
| 128 | <tr>
|
---|
| 129 | <th class="colOne" scope="col">Constructor and Description</th>
|
---|
| 130 | </tr>
|
---|
| 131 | <tr class="altColor">
|
---|
| 132 | <td class="colOne"><code><span class="memberNameLink"><a href="../../genius/core/NegotiationResult.html#NegotiationResult-double-genius.core.actions.Action-genius.core.Bid-">NegotiationResult</a></span>(double myDiscountedUtility,
|
---|
| 133 | <a href="../../genius/core/actions/Action.html" title="interface in genius.core.actions">Action</a> lastAction,
|
---|
| 134 | <a href="../../genius/core/Bid.html" title="class in genius.core">Bid</a> lastBid)</code> </td>
|
---|
| 135 | </tr>
|
---|
| 136 | </table>
|
---|
| 137 | </li>
|
---|
| 138 | </ul>
|
---|
| 139 | <!-- ========== METHOD SUMMARY =========== -->
|
---|
| 140 | <ul class="blockList">
|
---|
| 141 | <li class="blockList"><a name="method.summary">
|
---|
| 142 | <!-- -->
|
---|
| 143 | </a>
|
---|
| 144 | <h3>Method Summary</h3>
|
---|
| 145 | <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
---|
| 146 | <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>
|
---|
| 147 | <tr>
|
---|
| 148 | <th class="colFirst" scope="col">Modifier and Type</th>
|
---|
| 149 | <th class="colLast" scope="col">Method and Description</th>
|
---|
| 150 | </tr>
|
---|
| 151 | <tr id="i0" class="altColor">
|
---|
| 152 | <td class="colFirst"><code><a href="../../genius/core/actions/Action.html" title="interface in genius.core.actions">Action</a></code></td>
|
---|
| 153 | <td class="colLast"><code><span class="memberNameLink"><a href="../../genius/core/NegotiationResult.html#getLastAction--">getLastAction</a></span>()</code> </td>
|
---|
| 154 | </tr>
|
---|
| 155 | <tr id="i1" class="rowColor">
|
---|
| 156 | <td class="colFirst"><code><a href="../../genius/core/Bid.html" title="class in genius.core">Bid</a></code></td>
|
---|
| 157 | <td class="colLast"><code><span class="memberNameLink"><a href="../../genius/core/NegotiationResult.html#getLastBid--">getLastBid</a></span>()</code> </td>
|
---|
| 158 | </tr>
|
---|
| 159 | <tr id="i2" class="altColor">
|
---|
| 160 | <td class="colFirst"><code>double</code></td>
|
---|
| 161 | <td class="colLast"><code><span class="memberNameLink"><a href="../../genius/core/NegotiationResult.html#getMyDiscountedUtility--">getMyDiscountedUtility</a></span>()</code> </td>
|
---|
| 162 | </tr>
|
---|
| 163 | <tr id="i3" class="rowColor">
|
---|
| 164 | <td class="colFirst"><code>boolean</code></td>
|
---|
| 165 | <td class="colLast"><code><span class="memberNameLink"><a href="../../genius/core/NegotiationResult.html#isAgreement--">isAgreement</a></span>()</code> </td>
|
---|
| 166 | </tr>
|
---|
| 167 | <tr id="i4" class="altColor">
|
---|
| 168 | <td class="colFirst"><code>java.lang.String</code></td>
|
---|
| 169 | <td class="colLast"><code><span class="memberNameLink"><a href="../../genius/core/NegotiationResult.html#toString--">toString</a></span>()</code> </td>
|
---|
| 170 | </tr>
|
---|
| 171 | </table>
|
---|
| 172 | <ul class="blockList">
|
---|
| 173 | <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
---|
| 174 | <!-- -->
|
---|
| 175 | </a>
|
---|
| 176 | <h3>Methods inherited from class java.lang.Object</h3>
|
---|
| 177 | <code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
|
---|
| 178 | </ul>
|
---|
| 179 | </li>
|
---|
| 180 | </ul>
|
---|
| 181 | </li>
|
---|
| 182 | </ul>
|
---|
| 183 | </div>
|
---|
| 184 | <div class="details">
|
---|
| 185 | <ul class="blockList">
|
---|
| 186 | <li class="blockList">
|
---|
| 187 | <!-- ========= CONSTRUCTOR DETAIL ======== -->
|
---|
| 188 | <ul class="blockList">
|
---|
| 189 | <li class="blockList"><a name="constructor.detail">
|
---|
| 190 | <!-- -->
|
---|
| 191 | </a>
|
---|
| 192 | <h3>Constructor Detail</h3>
|
---|
| 193 | <a name="NegotiationResult-double-genius.core.actions.Action-genius.core.Bid-">
|
---|
| 194 | <!-- -->
|
---|
| 195 | </a>
|
---|
| 196 | <ul class="blockListLast">
|
---|
| 197 | <li class="blockList">
|
---|
| 198 | <h4>NegotiationResult</h4>
|
---|
| 199 | <pre>public NegotiationResult(double myDiscountedUtility,
|
---|
| 200 | <a href="../../genius/core/actions/Action.html" title="interface in genius.core.actions">Action</a> lastAction,
|
---|
| 201 | <a href="../../genius/core/Bid.html" title="class in genius.core">Bid</a> lastBid)</pre>
|
---|
| 202 | </li>
|
---|
| 203 | </ul>
|
---|
| 204 | </li>
|
---|
| 205 | </ul>
|
---|
| 206 | <!-- ============ METHOD DETAIL ========== -->
|
---|
| 207 | <ul class="blockList">
|
---|
| 208 | <li class="blockList"><a name="method.detail">
|
---|
| 209 | <!-- -->
|
---|
| 210 | </a>
|
---|
| 211 | <h3>Method Detail</h3>
|
---|
| 212 | <a name="isAgreement--">
|
---|
| 213 | <!-- -->
|
---|
| 214 | </a>
|
---|
| 215 | <ul class="blockList">
|
---|
| 216 | <li class="blockList">
|
---|
| 217 | <h4>isAgreement</h4>
|
---|
| 218 | <pre>public boolean isAgreement()</pre>
|
---|
| 219 | <dl>
|
---|
| 220 | <dt><span class="returnLabel">Returns:</span></dt>
|
---|
| 221 | <dd>true when the match ended in acceptance.</dd>
|
---|
| 222 | </dl>
|
---|
| 223 | </li>
|
---|
| 224 | </ul>
|
---|
| 225 | <a name="getMyDiscountedUtility--">
|
---|
| 226 | <!-- -->
|
---|
| 227 | </a>
|
---|
| 228 | <ul class="blockList">
|
---|
| 229 | <li class="blockList">
|
---|
| 230 | <h4>getMyDiscountedUtility</h4>
|
---|
| 231 | <pre>public double getMyDiscountedUtility()</pre>
|
---|
| 232 | <dl>
|
---|
| 233 | <dt><span class="returnLabel">Returns:</span></dt>
|
---|
| 234 | <dd>the utility received at the end of the negotiation.</dd>
|
---|
| 235 | </dl>
|
---|
| 236 | </li>
|
---|
| 237 | </ul>
|
---|
| 238 | <a name="getLastAction--">
|
---|
| 239 | <!-- -->
|
---|
| 240 | </a>
|
---|
| 241 | <ul class="blockList">
|
---|
| 242 | <li class="blockList">
|
---|
| 243 | <h4>getLastAction</h4>
|
---|
| 244 | <pre>public <a href="../../genius/core/actions/Action.html" title="interface in genius.core.actions">Action</a> getLastAction()</pre>
|
---|
| 245 | <dl>
|
---|
| 246 | <dt><span class="returnLabel">Returns:</span></dt>
|
---|
| 247 | <dd>last action executed in the negotiation.</dd>
|
---|
| 248 | </dl>
|
---|
| 249 | </li>
|
---|
| 250 | </ul>
|
---|
| 251 | <a name="getLastBid--">
|
---|
| 252 | <!-- -->
|
---|
| 253 | </a>
|
---|
| 254 | <ul class="blockList">
|
---|
| 255 | <li class="blockList">
|
---|
| 256 | <h4>getLastBid</h4>
|
---|
| 257 | <pre>public <a href="../../genius/core/Bid.html" title="class in genius.core">Bid</a> getLastBid()</pre>
|
---|
| 258 | <dl>
|
---|
| 259 | <dt><span class="returnLabel">Returns:</span></dt>
|
---|
| 260 | <dd>last bid offered in the negotiation.</dd>
|
---|
| 261 | </dl>
|
---|
| 262 | </li>
|
---|
| 263 | </ul>
|
---|
| 264 | <a name="toString--">
|
---|
| 265 | <!-- -->
|
---|
| 266 | </a>
|
---|
| 267 | <ul class="blockListLast">
|
---|
| 268 | <li class="blockList">
|
---|
| 269 | <h4>toString</h4>
|
---|
| 270 | <pre>public java.lang.String toString()</pre>
|
---|
| 271 | <dl>
|
---|
| 272 | <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
---|
| 273 | <dd><code>toString</code> in class <code>java.lang.Object</code></dd>
|
---|
| 274 | </dl>
|
---|
| 275 | </li>
|
---|
| 276 | </ul>
|
---|
| 277 | </li>
|
---|
| 278 | </ul>
|
---|
| 279 | </li>
|
---|
| 280 | </ul>
|
---|
| 281 | </div>
|
---|
| 282 | </div>
|
---|
| 283 | <!-- ========= END OF CLASS DATA ========= -->
|
---|
| 284 | <!-- ======= START OF BOTTOM NAVBAR ====== -->
|
---|
| 285 | <div class="bottomNav"><a name="navbar.bottom">
|
---|
| 286 | <!-- -->
|
---|
| 287 | </a>
|
---|
| 288 | <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
---|
| 289 | <a name="navbar.bottom.firstrow">
|
---|
| 290 | <!-- -->
|
---|
| 291 | </a>
|
---|
| 292 | <ul class="navList" title="Navigation">
|
---|
| 293 | <li><a href="../../overview-summary.html">Overview</a></li>
|
---|
| 294 | <li><a href="package-summary.html">Package</a></li>
|
---|
| 295 | <li class="navBarCell1Rev">Class</li>
|
---|
| 296 | <li><a href="class-use/NegotiationResult.html">Use</a></li>
|
---|
| 297 | <li><a href="package-tree.html">Tree</a></li>
|
---|
| 298 | <li><a href="../../deprecated-list.html">Deprecated</a></li>
|
---|
| 299 | <li><a href="../../index-all.html">Index</a></li>
|
---|
| 300 | <li><a href="../../help-doc.html">Help</a></li>
|
---|
| 301 | </ul>
|
---|
| 302 | </div>
|
---|
| 303 | <div class="subNav">
|
---|
| 304 | <ul class="navList">
|
---|
| 305 | <li><a href="../../genius/core/NegotiationEventListener.html" title="interface in genius.core"><span class="typeNameLink">Prev Class</span></a></li>
|
---|
| 306 | <li><a href="../../genius/core/NegoTurn.html" title="class in genius.core"><span class="typeNameLink">Next Class</span></a></li>
|
---|
| 307 | </ul>
|
---|
| 308 | <ul class="navList">
|
---|
| 309 | <li><a href="../../index.html?genius/core/NegotiationResult.html" target="_top">Frames</a></li>
|
---|
| 310 | <li><a href="NegotiationResult.html" target="_top">No Frames</a></li>
|
---|
| 311 | </ul>
|
---|
| 312 | <ul class="navList" id="allclasses_navbar_bottom">
|
---|
| 313 | <li><a href="../../allclasses-noframe.html">All Classes</a></li>
|
---|
| 314 | </ul>
|
---|
| 315 | <div>
|
---|
| 316 | <script type="text/javascript"><!--
|
---|
| 317 | allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
---|
| 318 | if(window==top) {
|
---|
| 319 | allClassesLink.style.display = "block";
|
---|
| 320 | }
|
---|
| 321 | else {
|
---|
| 322 | allClassesLink.style.display = "none";
|
---|
| 323 | }
|
---|
| 324 | //-->
|
---|
| 325 | </script>
|
---|
| 326 | </div>
|
---|
| 327 | <div>
|
---|
| 328 | <ul class="subNavList">
|
---|
| 329 | <li>Summary: </li>
|
---|
| 330 | <li>Nested | </li>
|
---|
| 331 | <li>Field | </li>
|
---|
| 332 | <li><a href="#constructor.summary">Constr</a> | </li>
|
---|
| 333 | <li><a href="#method.summary">Method</a></li>
|
---|
| 334 | </ul>
|
---|
| 335 | <ul class="subNavList">
|
---|
| 336 | <li>Detail: </li>
|
---|
| 337 | <li>Field | </li>
|
---|
| 338 | <li><a href="#constructor.detail">Constr</a> | </li>
|
---|
| 339 | <li><a href="#method.detail">Method</a></li>
|
---|
| 340 | </ul>
|
---|
| 341 | </div>
|
---|
| 342 | <a name="skip.navbar.bottom">
|
---|
| 343 | <!-- -->
|
---|
| 344 | </a></div>
|
---|
| 345 | <!-- ======== END OF BOTTOM NAVBAR ======= -->
|
---|
| 346 | </body>
|
---|
| 347 | </html>
|
---|