1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
---|
2 | <!-- NewPage -->
|
---|
3 | <html lang="en">
|
---|
4 | <head>
|
---|
5 | <!-- Generated by javadoc (1.8.0_112) on Thu Jun 21 12:05:58 CEST 2018 -->
|
---|
6 | <title>EvaluatorObjective (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="EvaluatorObjective (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};
|
---|
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/EvaluatorObjective.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/utility/EvaluatorInteger.html" title="class in genius.core.utility"><span class="typeNameLink">Prev Class</span></a></li>
|
---|
53 | <li><a href="../../../genius/core/utility/EvaluatorReal.html" title="class in genius.core.utility"><span class="typeNameLink">Next Class</span></a></li>
|
---|
54 | </ul>
|
---|
55 | <ul class="navList">
|
---|
56 | <li><a href="../../../index.html?genius/core/utility/EvaluatorObjective.html" target="_top">Frames</a></li>
|
---|
57 | <li><a href="EvaluatorObjective.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.utility</div>
|
---|
96 | <h2 title="Class EvaluatorObjective" class="title">Class EvaluatorObjective</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.utility.EvaluatorObjective</li>
|
---|
104 | </ul>
|
---|
105 | </li>
|
---|
106 | </ul>
|
---|
107 | <div class="description">
|
---|
108 | <ul class="blockList">
|
---|
109 | <li class="blockList">
|
---|
110 | <dl>
|
---|
111 | <dt>All Implemented Interfaces:</dt>
|
---|
112 | <dd><a href="../../../genius/core/utility/Evaluator.html" title="interface in genius.core.utility">Evaluator</a>, java.io.Serializable</dd>
|
---|
113 | </dl>
|
---|
114 | <hr>
|
---|
115 | <br>
|
---|
116 | <pre>public class <span class="typeNameLabel">EvaluatorObjective</span>
|
---|
117 | extends java.lang.Object
|
---|
118 | implements <a href="../../../genius/core/utility/Evaluator.html" title="interface in genius.core.utility">Evaluator</a></pre>
|
---|
119 | <div class="block">Evaulator for an objective. In the current implementation it makes no sense
|
---|
120 | to createFrom this type of object.</div>
|
---|
121 | <dl>
|
---|
122 | <dt><span class="seeLabel">See Also:</span></dt>
|
---|
123 | <dd><a href="../../../serialized-form.html#genius.core.utility.EvaluatorObjective">Serialized Form</a></dd>
|
---|
124 | </dl>
|
---|
125 | </li>
|
---|
126 | </ul>
|
---|
127 | </div>
|
---|
128 | <div class="summary">
|
---|
129 | <ul class="blockList">
|
---|
130 | <li class="blockList">
|
---|
131 | <!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
---|
132 | <ul class="blockList">
|
---|
133 | <li class="blockList"><a name="constructor.summary">
|
---|
134 | <!-- -->
|
---|
135 | </a>
|
---|
136 | <h3>Constructor Summary</h3>
|
---|
137 | <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
|
---|
138 | <caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
---|
139 | <tr>
|
---|
140 | <th class="colOne" scope="col">Constructor and Description</th>
|
---|
141 | </tr>
|
---|
142 | <tr class="altColor">
|
---|
143 | <td class="colOne"><code><span class="memberNameLink"><a href="../../../genius/core/utility/EvaluatorObjective.html#EvaluatorObjective--">EvaluatorObjective</a></span>()</code>
|
---|
144 | <div class="block">Creates a new evaluator for an objective with a zero weight.</div>
|
---|
145 | </td>
|
---|
146 | </tr>
|
---|
147 | <tr class="rowColor">
|
---|
148 | <td class="colOne"><code><span class="memberNameLink"><a href="../../../genius/core/utility/EvaluatorObjective.html#EvaluatorObjective-genius.core.utility.EvaluatorObjective-">EvaluatorObjective</a></span>(<a href="../../../genius/core/utility/EvaluatorObjective.html" title="class in genius.core.utility">EvaluatorObjective</a> e)</code>
|
---|
149 | <div class="block">Copies the data from the given EvaluatorObjective.</div>
|
---|
150 | </td>
|
---|
151 | </tr>
|
---|
152 | </table>
|
---|
153 | </li>
|
---|
154 | </ul>
|
---|
155 | <!-- ========== METHOD SUMMARY =========== -->
|
---|
156 | <ul class="blockList">
|
---|
157 | <li class="blockList"><a name="method.summary">
|
---|
158 | <!-- -->
|
---|
159 | </a>
|
---|
160 | <h3>Method Summary</h3>
|
---|
161 | <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
---|
162 | <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>
|
---|
163 | <tr>
|
---|
164 | <th class="colFirst" scope="col">Modifier and Type</th>
|
---|
165 | <th class="colLast" scope="col">Method and Description</th>
|
---|
166 | </tr>
|
---|
167 | <tr id="i0" class="altColor">
|
---|
168 | <td class="colFirst"><code><a href="../../../genius/core/utility/EvaluatorObjective.html" title="class in genius.core.utility">EvaluatorObjective</a></code></td>
|
---|
169 | <td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/utility/EvaluatorObjective.html#clone--">clone</a></span>()</code> </td>
|
---|
170 | </tr>
|
---|
171 | <tr id="i1" class="rowColor">
|
---|
172 | <td class="colFirst"><code>java.lang.Double</code></td>
|
---|
173 | <td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/utility/EvaluatorObjective.html#getEvaluation-genius.core.utility.AdditiveUtilitySpace-genius.core.Bid-int-">getEvaluation</a></span>(<a href="../../../genius/core/utility/AdditiveUtilitySpace.html" title="class in genius.core.utility">AdditiveUtilitySpace</a> uspace,
|
---|
174 | <a href="../../../genius/core/Bid.html" title="class in genius.core">Bid</a> bid,
|
---|
175 | int index)</code>
|
---|
176 | <div class="block">This method returns the utility of the value of an issue.</div>
|
---|
177 | </td>
|
---|
178 | </tr>
|
---|
179 | <tr id="i2" class="altColor">
|
---|
180 | <td class="colFirst"><code>boolean</code></td>
|
---|
181 | <td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/utility/EvaluatorObjective.html#getHasWeight--">getHasWeight</a></span>()</code> </td>
|
---|
182 | </tr>
|
---|
183 | <tr id="i3" class="rowColor">
|
---|
184 | <td class="colFirst"><code><a href="../../../genius/core/utility/EVALUATORTYPE.html" title="enum in genius.core.utility">EVALUATORTYPE</a></code></td>
|
---|
185 | <td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/utility/EvaluatorObjective.html#getType--">getType</a></span>()</code> </td>
|
---|
186 | </tr>
|
---|
187 | <tr id="i4" class="altColor">
|
---|
188 | <td class="colFirst"><code>double</code></td>
|
---|
189 | <td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/utility/EvaluatorObjective.html#getWeight--">getWeight</a></span>()</code> </td>
|
---|
190 | </tr>
|
---|
191 | <tr id="i5" class="rowColor">
|
---|
192 | <td class="colFirst"><code>java.lang.String</code></td>
|
---|
193 | <td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/utility/EvaluatorObjective.html#isComplete-genius.core.issue.Objective-">isComplete</a></span>(<a href="../../../genius/core/issue/Objective.html" title="class in genius.core.issue">Objective</a> whichobj)</code>
|
---|
194 | <div class="block">Check whether the evaluator has enough information to make an evaluation.</div>
|
---|
195 | </td>
|
---|
196 | </tr>
|
---|
197 | <tr id="i6" class="altColor">
|
---|
198 | <td class="colFirst"><code>void</code></td>
|
---|
199 | <td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/utility/EvaluatorObjective.html#loadFromXML-genius.core.xml.SimpleElement-">loadFromXML</a></span>(<a href="../../../genius/core/xml/SimpleElement.html" title="class in genius.core.xml">SimpleElement</a> pRoot)</code>
|
---|
200 | <div class="block">Load the evaluator from an XML file</div>
|
---|
201 | </td>
|
---|
202 | </tr>
|
---|
203 | <tr id="i7" class="rowColor">
|
---|
204 | <td class="colFirst"><code>void</code></td>
|
---|
205 | <td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/utility/EvaluatorObjective.html#lockWeight--">lockWeight</a></span>()</code>
|
---|
206 | <div class="block">lockWeight is a flag affecting the behaviour of the normalize function in
|
---|
207 | the utility space.</div>
|
---|
208 | </td>
|
---|
209 | </tr>
|
---|
210 | <tr id="i8" class="altColor">
|
---|
211 | <td class="colFirst"><code>void</code></td>
|
---|
212 | <td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/utility/EvaluatorObjective.html#setHasWeight-boolean-">setHasWeight</a></span>(boolean doesHaveWeight)</code> </td>
|
---|
213 | </tr>
|
---|
214 | <tr id="i9" class="rowColor">
|
---|
215 | <td class="colFirst"><code>void</code></td>
|
---|
216 | <td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/utility/EvaluatorObjective.html#setWeight-double-">setWeight</a></span>(double wt)</code>
|
---|
217 | <div class="block">Sets the weigth with which an Objective or Issue is evaluated.</div>
|
---|
218 | </td>
|
---|
219 | </tr>
|
---|
220 | <tr id="i10" class="altColor">
|
---|
221 | <td class="colFirst"><code><a href="../../../genius/core/xml/SimpleElement.html" title="class in genius.core.xml">SimpleElement</a></code></td>
|
---|
222 | <td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/utility/EvaluatorObjective.html#setXML-genius.core.xml.SimpleElement-">setXML</a></span>(<a href="../../../genius/core/xml/SimpleElement.html" title="class in genius.core.xml">SimpleElement</a> evalObj)</code>
|
---|
223 | <div class="block">Sets weights and evaluator properties for the object in SimpleElement
|
---|
224 | representation that is passed to it.</div>
|
---|
225 | </td>
|
---|
226 | </tr>
|
---|
227 | <tr id="i11" class="rowColor">
|
---|
228 | <td class="colFirst"><code>void</code></td>
|
---|
229 | <td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/utility/EvaluatorObjective.html#unlockWeight--">unlockWeight</a></span>()</code>
|
---|
230 | <div class="block">Method to unlock a weight.</div>
|
---|
231 | </td>
|
---|
232 | </tr>
|
---|
233 | <tr id="i12" class="altColor">
|
---|
234 | <td class="colFirst"><code>boolean</code></td>
|
---|
235 | <td class="colLast"><code><span class="memberNameLink"><a href="../../../genius/core/utility/EvaluatorObjective.html#weightLocked--">weightLocked</a></span>()</code> </td>
|
---|
236 | </tr>
|
---|
237 | </table>
|
---|
238 | <ul class="blockList">
|
---|
239 | <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
---|
240 | <!-- -->
|
---|
241 | </a>
|
---|
242 | <h3>Methods inherited from class java.lang.Object</h3>
|
---|
243 | <code>equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
|
---|
244 | </ul>
|
---|
245 | </li>
|
---|
246 | </ul>
|
---|
247 | </li>
|
---|
248 | </ul>
|
---|
249 | </div>
|
---|
250 | <div class="details">
|
---|
251 | <ul class="blockList">
|
---|
252 | <li class="blockList">
|
---|
253 | <!-- ========= CONSTRUCTOR DETAIL ======== -->
|
---|
254 | <ul class="blockList">
|
---|
255 | <li class="blockList"><a name="constructor.detail">
|
---|
256 | <!-- -->
|
---|
257 | </a>
|
---|
258 | <h3>Constructor Detail</h3>
|
---|
259 | <a name="EvaluatorObjective--">
|
---|
260 | <!-- -->
|
---|
261 | </a>
|
---|
262 | <ul class="blockList">
|
---|
263 | <li class="blockList">
|
---|
264 | <h4>EvaluatorObjective</h4>
|
---|
265 | <pre>public EvaluatorObjective()</pre>
|
---|
266 | <div class="block">Creates a new evaluator for an objective with a zero weight.</div>
|
---|
267 | </li>
|
---|
268 | </ul>
|
---|
269 | <a name="EvaluatorObjective-genius.core.utility.EvaluatorObjective-">
|
---|
270 | <!-- -->
|
---|
271 | </a>
|
---|
272 | <ul class="blockListLast">
|
---|
273 | <li class="blockList">
|
---|
274 | <h4>EvaluatorObjective</h4>
|
---|
275 | <pre>public EvaluatorObjective(<a href="../../../genius/core/utility/EvaluatorObjective.html" title="class in genius.core.utility">EvaluatorObjective</a> e)</pre>
|
---|
276 | <div class="block">Copies the data from the given EvaluatorObjective.</div>
|
---|
277 | <dl>
|
---|
278 | <dt><span class="paramLabel">Parameters:</span></dt>
|
---|
279 | <dd><code>e</code> - other EvaluatorObjective</dd>
|
---|
280 | </dl>
|
---|
281 | </li>
|
---|
282 | </ul>
|
---|
283 | </li>
|
---|
284 | </ul>
|
---|
285 | <!-- ============ METHOD DETAIL ========== -->
|
---|
286 | <ul class="blockList">
|
---|
287 | <li class="blockList"><a name="method.detail">
|
---|
288 | <!-- -->
|
---|
289 | </a>
|
---|
290 | <h3>Method Detail</h3>
|
---|
291 | <a name="clone--">
|
---|
292 | <!-- -->
|
---|
293 | </a>
|
---|
294 | <ul class="blockList">
|
---|
295 | <li class="blockList">
|
---|
296 | <h4>clone</h4>
|
---|
297 | <pre>public <a href="../../../genius/core/utility/EvaluatorObjective.html" title="class in genius.core.utility">EvaluatorObjective</a> clone()</pre>
|
---|
298 | <dl>
|
---|
299 | <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
---|
300 | <dd><code><a href="../../../genius/core/utility/Evaluator.html#clone--">clone</a></code> in interface <code><a href="../../../genius/core/utility/Evaluator.html" title="interface in genius.core.utility">Evaluator</a></code></dd>
|
---|
301 | <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
---|
302 | <dd><code>clone</code> in class <code>java.lang.Object</code></dd>
|
---|
303 | <dt><span class="returnLabel">Returns:</span></dt>
|
---|
304 | <dd>clone of the current object.</dd>
|
---|
305 | </dl>
|
---|
306 | </li>
|
---|
307 | </ul>
|
---|
308 | <a name="getWeight--">
|
---|
309 | <!-- -->
|
---|
310 | </a>
|
---|
311 | <ul class="blockList">
|
---|
312 | <li class="blockList">
|
---|
313 | <h4>getWeight</h4>
|
---|
314 | <pre>public double getWeight()</pre>
|
---|
315 | <dl>
|
---|
316 | <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
---|
317 | <dd><code><a href="../../../genius/core/utility/Evaluator.html#getWeight--">getWeight</a></code> in interface <code><a href="../../../genius/core/utility/Evaluator.html" title="interface in genius.core.utility">Evaluator</a></code></dd>
|
---|
318 | <dt><span class="returnLabel">Returns:</span></dt>
|
---|
319 | <dd>the weight associated with this, a value in [0,1]</dd>
|
---|
320 | </dl>
|
---|
321 | </li>
|
---|
322 | </ul>
|
---|
323 | <a name="setWeight-double-">
|
---|
324 | <!-- -->
|
---|
325 | </a>
|
---|
326 | <ul class="blockList">
|
---|
327 | <li class="blockList">
|
---|
328 | <h4>setWeight</h4>
|
---|
329 | <pre>public void setWeight(double wt)</pre>
|
---|
330 | <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../genius/core/utility/Evaluator.html#setWeight-double-">Evaluator</a></code></span></div>
|
---|
331 | <div class="block">Sets the weigth with which an Objective or Issue is evaluated.</div>
|
---|
332 | <dl>
|
---|
333 | <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
---|
334 | <dd><code><a href="../../../genius/core/utility/Evaluator.html#setWeight-double-">setWeight</a></code> in interface <code><a href="../../../genius/core/utility/Evaluator.html" title="interface in genius.core.utility">Evaluator</a></code></dd>
|
---|
335 | <dt><span class="paramLabel">Parameters:</span></dt>
|
---|
336 | <dd><code>wt</code> - The new weight, a value in [0,1].</dd>
|
---|
337 | </dl>
|
---|
338 | </li>
|
---|
339 | </ul>
|
---|
340 | <a name="lockWeight--">
|
---|
341 | <!-- -->
|
---|
342 | </a>
|
---|
343 | <ul class="blockList">
|
---|
344 | <li class="blockList">
|
---|
345 | <h4>lockWeight</h4>
|
---|
346 | <pre>public void lockWeight()</pre>
|
---|
347 | <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../genius/core/utility/Evaluator.html#lockWeight--">Evaluator</a></code></span></div>
|
---|
348 | <div class="block">lockWeight is a flag affecting the behaviour of the normalize function in
|
---|
349 | the utility space. This is used to change behaviour when users drag
|
---|
350 | sliders</div>
|
---|
351 | <dl>
|
---|
352 | <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
---|
353 | <dd><code><a href="../../../genius/core/utility/Evaluator.html#lockWeight--">lockWeight</a></code> in interface <code><a href="../../../genius/core/utility/Evaluator.html" title="interface in genius.core.utility">Evaluator</a></code></dd>
|
---|
354 | </dl>
|
---|
355 | </li>
|
---|
356 | </ul>
|
---|
357 | <a name="unlockWeight--">
|
---|
358 | <!-- -->
|
---|
359 | </a>
|
---|
360 | <ul class="blockList">
|
---|
361 | <li class="blockList">
|
---|
362 | <h4>unlockWeight</h4>
|
---|
363 | <pre>public void unlockWeight()</pre>
|
---|
364 | <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../genius/core/utility/Evaluator.html#unlockWeight--">Evaluator</a></code></span></div>
|
---|
365 | <div class="block">Method to unlock a weight. A weight must be unlocked to modify it.</div>
|
---|
366 | <dl>
|
---|
367 | <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
---|
368 | <dd><code><a href="../../../genius/core/utility/Evaluator.html#unlockWeight--">unlockWeight</a></code> in interface <code><a href="../../../genius/core/utility/Evaluator.html" title="interface in genius.core.utility">Evaluator</a></code></dd>
|
---|
369 | </dl>
|
---|
370 | </li>
|
---|
371 | </ul>
|
---|
372 | <a name="weightLocked--">
|
---|
373 | <!-- -->
|
---|
374 | </a>
|
---|
375 | <ul class="blockList">
|
---|
376 | <li class="blockList">
|
---|
377 | <h4>weightLocked</h4>
|
---|
378 | <pre>public boolean weightLocked()</pre>
|
---|
379 | <dl>
|
---|
380 | <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
---|
381 | <dd><code><a href="../../../genius/core/utility/Evaluator.html#weightLocked--">weightLocked</a></code> in interface <code><a href="../../../genius/core/utility/Evaluator.html" title="interface in genius.core.utility">Evaluator</a></code></dd>
|
---|
382 | <dt><span class="returnLabel">Returns:</span></dt>
|
---|
383 | <dd>true if weight is locked.</dd>
|
---|
384 | </dl>
|
---|
385 | </li>
|
---|
386 | </ul>
|
---|
387 | <a name="getEvaluation-genius.core.utility.AdditiveUtilitySpace-genius.core.Bid-int-">
|
---|
388 | <!-- -->
|
---|
389 | </a>
|
---|
390 | <ul class="blockList">
|
---|
391 | <li class="blockList">
|
---|
392 | <h4>getEvaluation</h4>
|
---|
393 | <pre>public java.lang.Double getEvaluation(<a href="../../../genius/core/utility/AdditiveUtilitySpace.html" title="class in genius.core.utility">AdditiveUtilitySpace</a> uspace,
|
---|
394 | <a href="../../../genius/core/Bid.html" title="class in genius.core">Bid</a> bid,
|
---|
395 | int index)</pre>
|
---|
396 | <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../genius/core/utility/Evaluator.html#getEvaluation-genius.core.utility.AdditiveUtilitySpace-genius.core.Bid-int-">Evaluator</a></code></span></div>
|
---|
397 | <div class="block">This method returns the utility of the value of an issue. Note that the
|
---|
398 | value is not multiplied by the issue weight, and is therefore
|
---|
399 | non-normalized.</div>
|
---|
400 | <dl>
|
---|
401 | <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
---|
402 | <dd><code><a href="../../../genius/core/utility/Evaluator.html#getEvaluation-genius.core.utility.AdditiveUtilitySpace-genius.core.Bid-int-">getEvaluation</a></code> in interface <code><a href="../../../genius/core/utility/Evaluator.html" title="interface in genius.core.utility">Evaluator</a></code></dd>
|
---|
403 | <dt><span class="paramLabel">Parameters:</span></dt>
|
---|
404 | <dd><code>uspace</code> - preference profile</dd>
|
---|
405 | <dd><code>bid</code> - in which the value is contained.</dd>
|
---|
406 | <dd><code>index</code> - unique ID of the issue in the bid for which we want an
|
---|
407 | evaluation.</dd>
|
---|
408 | <dt><span class="returnLabel">Returns:</span></dt>
|
---|
409 | <dd>utility of the value for an issue, not normalized by the issue
|
---|
410 | weight.</dd>
|
---|
411 | </dl>
|
---|
412 | </li>
|
---|
413 | </ul>
|
---|
414 | <a name="getType--">
|
---|
415 | <!-- -->
|
---|
416 | </a>
|
---|
417 | <ul class="blockList">
|
---|
418 | <li class="blockList">
|
---|
419 | <h4>getType</h4>
|
---|
420 | <pre>public <a href="../../../genius/core/utility/EVALUATORTYPE.html" title="enum in genius.core.utility">EVALUATORTYPE</a> getType()</pre>
|
---|
421 | <dl>
|
---|
422 | <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
---|
423 | <dd><code><a href="../../../genius/core/utility/Evaluator.html#getType--">getType</a></code> in interface <code><a href="../../../genius/core/utility/Evaluator.html" title="interface in genius.core.utility">Evaluator</a></code></dd>
|
---|
424 | <dt><span class="returnLabel">Returns:</span></dt>
|
---|
425 | <dd>type of evaluation function, for example EVALUATORTYPE.LINEAR.</dd>
|
---|
426 | </dl>
|
---|
427 | </li>
|
---|
428 | </ul>
|
---|
429 | <a name="loadFromXML-genius.core.xml.SimpleElement-">
|
---|
430 | <!-- -->
|
---|
431 | </a>
|
---|
432 | <ul class="blockList">
|
---|
433 | <li class="blockList">
|
---|
434 | <h4>loadFromXML</h4>
|
---|
435 | <pre>public void loadFromXML(<a href="../../../genius/core/xml/SimpleElement.html" title="class in genius.core.xml">SimpleElement</a> pRoot)</pre>
|
---|
436 | <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../genius/core/utility/Evaluator.html#loadFromXML-genius.core.xml.SimpleElement-">Evaluator</a></code></span></div>
|
---|
437 | <div class="block">Load the evaluator from an XML file</div>
|
---|
438 | <dl>
|
---|
439 | <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
---|
440 | <dd><code><a href="../../../genius/core/utility/Evaluator.html#loadFromXML-genius.core.xml.SimpleElement-">loadFromXML</a></code> in interface <code><a href="../../../genius/core/utility/Evaluator.html" title="interface in genius.core.utility">Evaluator</a></code></dd>
|
---|
441 | </dl>
|
---|
442 | </li>
|
---|
443 | </ul>
|
---|
444 | <a name="setHasWeight-boolean-">
|
---|
445 | <!-- -->
|
---|
446 | </a>
|
---|
447 | <ul class="blockList">
|
---|
448 | <li class="blockList">
|
---|
449 | <h4>setHasWeight</h4>
|
---|
450 | <pre>public void setHasWeight(boolean doesHaveWeight)</pre>
|
---|
451 | <dl>
|
---|
452 | <dt><span class="paramLabel">Parameters:</span></dt>
|
---|
453 | <dd><code>doesHaveWeight</code> - signals that this objective has a weight.</dd>
|
---|
454 | </dl>
|
---|
455 | </li>
|
---|
456 | </ul>
|
---|
457 | <a name="getHasWeight--">
|
---|
458 | <!-- -->
|
---|
459 | </a>
|
---|
460 | <ul class="blockList">
|
---|
461 | <li class="blockList">
|
---|
462 | <h4>getHasWeight</h4>
|
---|
463 | <pre>public boolean getHasWeight()</pre>
|
---|
464 | <dl>
|
---|
465 | <dt><span class="returnLabel">Returns:</span></dt>
|
---|
466 | <dd>true if objective has a weight.</dd>
|
---|
467 | </dl>
|
---|
468 | </li>
|
---|
469 | </ul>
|
---|
470 | <a name="setXML-genius.core.xml.SimpleElement-">
|
---|
471 | <!-- -->
|
---|
472 | </a>
|
---|
473 | <ul class="blockList">
|
---|
474 | <li class="blockList">
|
---|
475 | <h4>setXML</h4>
|
---|
476 | <pre>public <a href="../../../genius/core/xml/SimpleElement.html" title="class in genius.core.xml">SimpleElement</a> setXML(<a href="../../../genius/core/xml/SimpleElement.html" title="class in genius.core.xml">SimpleElement</a> evalObj)</pre>
|
---|
477 | <div class="block">Sets weights and evaluator properties for the object in SimpleElement
|
---|
478 | representation that is passed to it.</div>
|
---|
479 | <dl>
|
---|
480 | <dt><span class="paramLabel">Parameters:</span></dt>
|
---|
481 | <dd><code>evalObj</code> - The object of which to set the evaluation properties.</dd>
|
---|
482 | <dt><span class="returnLabel">Returns:</span></dt>
|
---|
483 | <dd>The modified simpleElement with all evaluator properties set.</dd>
|
---|
484 | </dl>
|
---|
485 | </li>
|
---|
486 | </ul>
|
---|
487 | <a name="isComplete-genius.core.issue.Objective-">
|
---|
488 | <!-- -->
|
---|
489 | </a>
|
---|
490 | <ul class="blockListLast">
|
---|
491 | <li class="blockList">
|
---|
492 | <h4>isComplete</h4>
|
---|
493 | <pre>public java.lang.String isComplete(<a href="../../../genius/core/issue/Objective.html" title="class in genius.core.issue">Objective</a> whichobj)</pre>
|
---|
494 | <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../genius/core/utility/Evaluator.html#isComplete-genius.core.issue.Objective-">Evaluator</a></code></span></div>
|
---|
495 | <div class="block">Check whether the evaluator has enough information to make an evaluation.</div>
|
---|
496 | <dl>
|
---|
497 | <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
---|
498 | <dd><code><a href="../../../genius/core/utility/Evaluator.html#isComplete-genius.core.issue.Objective-">isComplete</a></code> in interface <code><a href="../../../genius/core/utility/Evaluator.html" title="interface in genius.core.utility">Evaluator</a></code></dd>
|
---|
499 | <dt><span class="paramLabel">Parameters:</span></dt>
|
---|
500 | <dd><code>whichobj</code> - is the objective/issue to which this evaluator is attached.</dd>
|
---|
501 | <dt><span class="returnLabel">Returns:</span></dt>
|
---|
502 | <dd>String describing lacking component, or null if the evaluator is
|
---|
503 | complete.</dd>
|
---|
504 | </dl>
|
---|
505 | </li>
|
---|
506 | </ul>
|
---|
507 | </li>
|
---|
508 | </ul>
|
---|
509 | </li>
|
---|
510 | </ul>
|
---|
511 | </div>
|
---|
512 | </div>
|
---|
513 | <!-- ========= END OF CLASS DATA ========= -->
|
---|
514 | <!-- ======= START OF BOTTOM NAVBAR ====== -->
|
---|
515 | <div class="bottomNav"><a name="navbar.bottom">
|
---|
516 | <!-- -->
|
---|
517 | </a>
|
---|
518 | <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
---|
519 | <a name="navbar.bottom.firstrow">
|
---|
520 | <!-- -->
|
---|
521 | </a>
|
---|
522 | <ul class="navList" title="Navigation">
|
---|
523 | <li><a href="../../../overview-summary.html">Overview</a></li>
|
---|
524 | <li><a href="package-summary.html">Package</a></li>
|
---|
525 | <li class="navBarCell1Rev">Class</li>
|
---|
526 | <li><a href="class-use/EvaluatorObjective.html">Use</a></li>
|
---|
527 | <li><a href="package-tree.html">Tree</a></li>
|
---|
528 | <li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
---|
529 | <li><a href="../../../index-all.html">Index</a></li>
|
---|
530 | <li><a href="../../../help-doc.html">Help</a></li>
|
---|
531 | </ul>
|
---|
532 | </div>
|
---|
533 | <div class="subNav">
|
---|
534 | <ul class="navList">
|
---|
535 | <li><a href="../../../genius/core/utility/EvaluatorInteger.html" title="class in genius.core.utility"><span class="typeNameLink">Prev Class</span></a></li>
|
---|
536 | <li><a href="../../../genius/core/utility/EvaluatorReal.html" title="class in genius.core.utility"><span class="typeNameLink">Next Class</span></a></li>
|
---|
537 | </ul>
|
---|
538 | <ul class="navList">
|
---|
539 | <li><a href="../../../index.html?genius/core/utility/EvaluatorObjective.html" target="_top">Frames</a></li>
|
---|
540 | <li><a href="EvaluatorObjective.html" target="_top">No Frames</a></li>
|
---|
541 | </ul>
|
---|
542 | <ul class="navList" id="allclasses_navbar_bottom">
|
---|
543 | <li><a href="../../../allclasses-noframe.html">All Classes</a></li>
|
---|
544 | </ul>
|
---|
545 | <div>
|
---|
546 | <script type="text/javascript"><!--
|
---|
547 | allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
---|
548 | if(window==top) {
|
---|
549 | allClassesLink.style.display = "block";
|
---|
550 | }
|
---|
551 | else {
|
---|
552 | allClassesLink.style.display = "none";
|
---|
553 | }
|
---|
554 | //-->
|
---|
555 | </script>
|
---|
556 | </div>
|
---|
557 | <div>
|
---|
558 | <ul class="subNavList">
|
---|
559 | <li>Summary: </li>
|
---|
560 | <li>Nested | </li>
|
---|
561 | <li>Field | </li>
|
---|
562 | <li><a href="#constructor.summary">Constr</a> | </li>
|
---|
563 | <li><a href="#method.summary">Method</a></li>
|
---|
564 | </ul>
|
---|
565 | <ul class="subNavList">
|
---|
566 | <li>Detail: </li>
|
---|
567 | <li>Field | </li>
|
---|
568 | <li><a href="#constructor.detail">Constr</a> | </li>
|
---|
569 | <li><a href="#method.detail">Method</a></li>
|
---|
570 | </ul>
|
---|
571 | </div>
|
---|
572 | <a name="skip.navbar.bottom">
|
---|
573 | <!-- -->
|
---|
574 | </a></div>
|
---|
575 | <!-- ======== END OF BOTTOM NAVBAR ======= -->
|
---|
576 | </body>
|
---|
577 | </html>
|
---|