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>DomainImpl (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="DomainImpl (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};
|
---|
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/DomainImpl.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/Domain.html" title="interface in genius.core"><span class="typeNameLink">Prev Class</span></a></li>
|
---|
53 | <li><a href="../../genius/core/Feedback.html" title="enum 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/DomainImpl.html" target="_top">Frames</a></li>
|
---|
57 | <li><a href="DomainImpl.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 DomainImpl" class="title">Class DomainImpl</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.DomainImpl</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/Domain.html" title="interface in genius.core">Domain</a>, java.io.Serializable</dd>
|
---|
113 | </dl>
|
---|
114 | <hr>
|
---|
115 | <br>
|
---|
116 | <pre>public class <span class="typeNameLabel">DomainImpl</span>
|
---|
117 | extends java.lang.Object
|
---|
118 | implements <a href="../../genius/core/Domain.html" title="interface in genius.core">Domain</a>, java.io.Serializable</pre>
|
---|
119 | <div class="block">Implementation of Domain. Representation of the outcome space of a scenario.</div>
|
---|
120 | <dl>
|
---|
121 | <dt><span class="simpleTagLabel">Author:</span></dt>
|
---|
122 | <dd>Dmytro Tykhonov & Koen Hindriks</dd>
|
---|
123 | <dt><span class="seeLabel">See Also:</span></dt>
|
---|
124 | <dd><a href="../../serialized-form.html#genius.core.DomainImpl">Serialized Form</a></dd>
|
---|
125 | </dl>
|
---|
126 | </li>
|
---|
127 | </ul>
|
---|
128 | </div>
|
---|
129 | <div class="summary">
|
---|
130 | <ul class="blockList">
|
---|
131 | <li class="blockList">
|
---|
132 | <!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
---|
133 | <ul class="blockList">
|
---|
134 | <li class="blockList"><a name="constructor.summary">
|
---|
135 | <!-- -->
|
---|
136 | </a>
|
---|
137 | <h3>Constructor Summary</h3>
|
---|
138 | <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
|
---|
139 | <caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
---|
140 | <tr>
|
---|
141 | <th class="colOne" scope="col">Constructor and Description</th>
|
---|
142 | </tr>
|
---|
143 | <tr class="altColor">
|
---|
144 | <td class="colOne"><code><span class="memberNameLink"><a href="../../genius/core/DomainImpl.html#DomainImpl--">DomainImpl</a></span>()</code>
|
---|
145 | <div class="block">Creates an empty domain.</div>
|
---|
146 | </td>
|
---|
147 | </tr>
|
---|
148 | <tr class="rowColor">
|
---|
149 | <td class="colOne"><code><span class="memberNameLink"><a href="../../genius/core/DomainImpl.html#DomainImpl-java.io.File-">DomainImpl</a></span>(java.io.File domainFile)</code>
|
---|
150 | <div class="block">read a domain from a file.</div>
|
---|
151 | </td>
|
---|
152 | </tr>
|
---|
153 | <tr class="altColor">
|
---|
154 | <td class="colOne"><code><span class="memberNameLink"><a href="../../genius/core/DomainImpl.html#DomainImpl-genius.core.xml.SimpleElement-">DomainImpl</a></span>(<a href="../../genius/core/xml/SimpleElement.html" title="class in genius.core.xml">SimpleElement</a> root)</code>
|
---|
155 | <div class="block">Creates a domain given an XML-representation of the domain.</div>
|
---|
156 | </td>
|
---|
157 | </tr>
|
---|
158 | <tr class="rowColor">
|
---|
159 | <td class="colOne"><code><span class="memberNameLink"><a href="../../genius/core/DomainImpl.html#DomainImpl-java.lang.String-">DomainImpl</a></span>(java.lang.String filename)</code>
|
---|
160 | <div class="block">Creates a domain given the path to a file with an XML-representation.</div>
|
---|
161 | </td>
|
---|
162 | </tr>
|
---|
163 | </table>
|
---|
164 | </li>
|
---|
165 | </ul>
|
---|
166 | <!-- ========== METHOD SUMMARY =========== -->
|
---|
167 | <ul class="blockList">
|
---|
168 | <li class="blockList"><a name="method.summary">
|
---|
169 | <!-- -->
|
---|
170 | </a>
|
---|
171 | <h3>Method Summary</h3>
|
---|
172 | <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
---|
173 | <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>
|
---|
174 | <tr>
|
---|
175 | <th class="colFirst" scope="col">Modifier and Type</th>
|
---|
176 | <th class="colLast" scope="col">Method and Description</th>
|
---|
177 | </tr>
|
---|
178 | <tr id="i0" class="altColor">
|
---|
179 | <td class="colFirst"><code>boolean</code></td>
|
---|
180 | <td class="colLast"><code><span class="memberNameLink"><a href="../../genius/core/DomainImpl.html#equals-java.lang.Object-">equals</a></span>(java.lang.Object obj)</code> </td>
|
---|
181 | </tr>
|
---|
182 | <tr id="i1" class="rowColor">
|
---|
183 | <td class="colFirst"><code>java.util.List<<a href="../../genius/core/issue/Issue.html" title="class in genius.core.issue">Issue</a>></code></td>
|
---|
184 | <td class="colLast"><code><span class="memberNameLink"><a href="../../genius/core/DomainImpl.html#getIssues--">getIssues</a></span>()</code> </td>
|
---|
185 | </tr>
|
---|
186 | <tr id="i2" class="altColor">
|
---|
187 | <td class="colFirst"><code>java.lang.String</code></td>
|
---|
188 | <td class="colLast"><code><span class="memberNameLink"><a href="../../genius/core/DomainImpl.html#getName--">getName</a></span>()</code> </td>
|
---|
189 | </tr>
|
---|
190 | <tr id="i3" class="rowColor">
|
---|
191 | <td class="colFirst"><code>long</code></td>
|
---|
192 | <td class="colLast"><code><span class="memberNameLink"><a href="../../genius/core/DomainImpl.html#getNumberOfPossibleBids--">getNumberOfPossibleBids</a></span>()</code> </td>
|
---|
193 | </tr>
|
---|
194 | <tr id="i4" class="altColor">
|
---|
195 | <td class="colFirst"><code>java.util.List<<a href="../../genius/core/issue/Objective.html" title="class in genius.core.issue">Objective</a>></code></td>
|
---|
196 | <td class="colLast"><code><span class="memberNameLink"><a href="../../genius/core/DomainImpl.html#getObjectives--">getObjectives</a></span>()</code> </td>
|
---|
197 | </tr>
|
---|
198 | <tr id="i5" class="rowColor">
|
---|
199 | <td class="colFirst"><code><a href="../../genius/core/issue/Objective.html" title="class in genius.core.issue">Objective</a></code></td>
|
---|
200 | <td class="colLast"><code><span class="memberNameLink"><a href="../../genius/core/DomainImpl.html#getObjectivesRoot--">getObjectivesRoot</a></span>()</code> </td>
|
---|
201 | </tr>
|
---|
202 | <tr id="i6" class="altColor">
|
---|
203 | <td class="colFirst"><code><a href="../../genius/core/Bid.html" title="class in genius.core">Bid</a></code></td>
|
---|
204 | <td class="colLast"><code><span class="memberNameLink"><a href="../../genius/core/DomainImpl.html#getRandomBid-java.util.Random-">getRandomBid</a></span>(java.util.Random r)</code> </td>
|
---|
205 | </tr>
|
---|
206 | <tr id="i7" class="rowColor">
|
---|
207 | <td class="colFirst"><code><a href="../../genius/core/xml/SimpleElement.html" title="class in genius.core.xml">SimpleElement</a></code></td>
|
---|
208 | <td class="colLast"><code><span class="memberNameLink"><a href="../../genius/core/DomainImpl.html#getXMLRoot--">getXMLRoot</a></span>()</code> </td>
|
---|
209 | </tr>
|
---|
210 | <tr id="i8" class="altColor">
|
---|
211 | <td class="colFirst"><code>int</code></td>
|
---|
212 | <td class="colLast"><code><span class="memberNameLink"><a href="../../genius/core/DomainImpl.html#hashCode--">hashCode</a></span>()</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/DomainImpl.html#setObjectivesRoot-genius.core.issue.Objective-">setObjectivesRoot</a></span>(<a href="../../genius/core/issue/Objective.html" title="class in genius.core.issue">Objective</a> ob)</code>
|
---|
217 | <div class="block">Sets a new domain root.</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/DomainImpl.html#toXML--">toXML</a></span>()</code>
|
---|
223 | <div class="block">Creates an XML representation of this domain.</div>
|
---|
224 | </td>
|
---|
225 | </tr>
|
---|
226 | </table>
|
---|
227 | <ul class="blockList">
|
---|
228 | <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
---|
229 | <!-- -->
|
---|
230 | </a>
|
---|
231 | <h3>Methods inherited from class java.lang.Object</h3>
|
---|
232 | <code>clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait</code></li>
|
---|
233 | </ul>
|
---|
234 | </li>
|
---|
235 | </ul>
|
---|
236 | </li>
|
---|
237 | </ul>
|
---|
238 | </div>
|
---|
239 | <div class="details">
|
---|
240 | <ul class="blockList">
|
---|
241 | <li class="blockList">
|
---|
242 | <!-- ========= CONSTRUCTOR DETAIL ======== -->
|
---|
243 | <ul class="blockList">
|
---|
244 | <li class="blockList"><a name="constructor.detail">
|
---|
245 | <!-- -->
|
---|
246 | </a>
|
---|
247 | <h3>Constructor Detail</h3>
|
---|
248 | <a name="DomainImpl--">
|
---|
249 | <!-- -->
|
---|
250 | </a>
|
---|
251 | <ul class="blockList">
|
---|
252 | <li class="blockList">
|
---|
253 | <h4>DomainImpl</h4>
|
---|
254 | <pre>public DomainImpl()</pre>
|
---|
255 | <div class="block">Creates an empty domain.</div>
|
---|
256 | </li>
|
---|
257 | </ul>
|
---|
258 | <a name="DomainImpl-genius.core.xml.SimpleElement-">
|
---|
259 | <!-- -->
|
---|
260 | </a>
|
---|
261 | <ul class="blockList">
|
---|
262 | <li class="blockList">
|
---|
263 | <h4>DomainImpl</h4>
|
---|
264 | <pre>public DomainImpl(<a href="../../genius/core/xml/SimpleElement.html" title="class in genius.core.xml">SimpleElement</a> root)</pre>
|
---|
265 | <div class="block">Creates a domain given an XML-representation of the domain.</div>
|
---|
266 | <dl>
|
---|
267 | <dt><span class="paramLabel">Parameters:</span></dt>
|
---|
268 | <dd><code>root</code> - XML-representation of the domain.</dd>
|
---|
269 | </dl>
|
---|
270 | </li>
|
---|
271 | </ul>
|
---|
272 | <a name="DomainImpl-java.lang.String-">
|
---|
273 | <!-- -->
|
---|
274 | </a>
|
---|
275 | <ul class="blockList">
|
---|
276 | <li class="blockList">
|
---|
277 | <h4>DomainImpl</h4>
|
---|
278 | <pre>public DomainImpl(java.lang.String filename)
|
---|
279 | throws java.io.IOException</pre>
|
---|
280 | <div class="block">Creates a domain given the path to a file with an XML-representation.</div>
|
---|
281 | <dl>
|
---|
282 | <dt><span class="paramLabel">Parameters:</span></dt>
|
---|
283 | <dd><code>filename</code> - </dd>
|
---|
284 | <dt><span class="throwsLabel">Throws:</span></dt>
|
---|
285 | <dd><code>java.lang.Exception</code></dd>
|
---|
286 | <dd><code>java.io.IOException</code></dd>
|
---|
287 | </dl>
|
---|
288 | </li>
|
---|
289 | </ul>
|
---|
290 | <a name="DomainImpl-java.io.File-">
|
---|
291 | <!-- -->
|
---|
292 | </a>
|
---|
293 | <ul class="blockListLast">
|
---|
294 | <li class="blockList">
|
---|
295 | <h4>DomainImpl</h4>
|
---|
296 | <pre>public DomainImpl(java.io.File domainFile)
|
---|
297 | throws java.io.IOException</pre>
|
---|
298 | <div class="block">read a domain from a file.</div>
|
---|
299 | <dl>
|
---|
300 | <dt><span class="paramLabel">Parameters:</span></dt>
|
---|
301 | <dd><code>domainFile</code> - file containing the domain</dd>
|
---|
302 | <dt><span class="throwsLabel">Throws:</span></dt>
|
---|
303 | <dd><code>java.io.IOException</code></dd>
|
---|
304 | <dd><code>java.lang.Exception</code> - if file not found or containing unreadable (non xml) data.</dd>
|
---|
305 | </dl>
|
---|
306 | </li>
|
---|
307 | </ul>
|
---|
308 | </li>
|
---|
309 | </ul>
|
---|
310 | <!-- ============ METHOD DETAIL ========== -->
|
---|
311 | <ul class="blockList">
|
---|
312 | <li class="blockList"><a name="method.detail">
|
---|
313 | <!-- -->
|
---|
314 | </a>
|
---|
315 | <h3>Method Detail</h3>
|
---|
316 | <a name="getXMLRoot--">
|
---|
317 | <!-- -->
|
---|
318 | </a>
|
---|
319 | <ul class="blockList">
|
---|
320 | <li class="blockList">
|
---|
321 | <h4>getXMLRoot</h4>
|
---|
322 | <pre>public <a href="../../genius/core/xml/SimpleElement.html" title="class in genius.core.xml">SimpleElement</a> getXMLRoot()</pre>
|
---|
323 | <dl>
|
---|
324 | <dt><span class="returnLabel">Returns:</span></dt>
|
---|
325 | <dd>XML-representation of this domain.</dd>
|
---|
326 | </dl>
|
---|
327 | </li>
|
---|
328 | </ul>
|
---|
329 | <a name="getObjectivesRoot--">
|
---|
330 | <!-- -->
|
---|
331 | </a>
|
---|
332 | <ul class="blockList">
|
---|
333 | <li class="blockList">
|
---|
334 | <h4>getObjectivesRoot</h4>
|
---|
335 | <pre>public final <a href="../../genius/core/issue/Objective.html" title="class in genius.core.issue">Objective</a> getObjectivesRoot()</pre>
|
---|
336 | <dl>
|
---|
337 | <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
---|
338 | <dd><code><a href="../../genius/core/Domain.html#getObjectivesRoot--">getObjectivesRoot</a></code> in interface <code><a href="../../genius/core/Domain.html" title="interface in genius.core">Domain</a></code></dd>
|
---|
339 | <dt><span class="returnLabel">Returns:</span></dt>
|
---|
340 | <dd>the highest level <a href="../../genius/core/issue/Objective.html" title="class in genius.core.issue"><code>Objective</code></a>.</dd>
|
---|
341 | </dl>
|
---|
342 | </li>
|
---|
343 | </ul>
|
---|
344 | <a name="setObjectivesRoot-genius.core.issue.Objective-">
|
---|
345 | <!-- -->
|
---|
346 | </a>
|
---|
347 | <ul class="blockList">
|
---|
348 | <li class="blockList">
|
---|
349 | <h4>setObjectivesRoot</h4>
|
---|
350 | <pre>public final void setObjectivesRoot(<a href="../../genius/core/issue/Objective.html" title="class in genius.core.issue">Objective</a> ob)</pre>
|
---|
351 | <div class="block">Sets a new domain root.</div>
|
---|
352 | <dl>
|
---|
353 | <dt><span class="paramLabel">Parameters:</span></dt>
|
---|
354 | <dd><code>ob</code> - The new root Objective</dd>
|
---|
355 | </dl>
|
---|
356 | </li>
|
---|
357 | </ul>
|
---|
358 | <a name="getRandomBid-java.util.Random-">
|
---|
359 | <!-- -->
|
---|
360 | </a>
|
---|
361 | <ul class="blockList">
|
---|
362 | <li class="blockList">
|
---|
363 | <h4>getRandomBid</h4>
|
---|
364 | <pre>public <a href="../../genius/core/Bid.html" title="class in genius.core">Bid</a> getRandomBid(java.util.Random r)</pre>
|
---|
365 | <dl>
|
---|
366 | <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
---|
367 | <dd><code><a href="../../genius/core/Domain.html#getRandomBid-java.util.Random-">getRandomBid</a></code> in interface <code><a href="../../genius/core/Domain.html" title="interface in genius.core">Domain</a></code></dd>
|
---|
368 | <dt><span class="paramLabel">Parameters:</span></dt>
|
---|
369 | <dd><code>r</code> - random variable. if null, a new <code>Random</code> will be used.</dd>
|
---|
370 | <dt><span class="returnLabel">Returns:</span></dt>
|
---|
371 | <dd>a random <a href="../../genius/core/Bid.html" title="class in genius.core"><code>Bid</code></a> in this domain.</dd>
|
---|
372 | </dl>
|
---|
373 | </li>
|
---|
374 | </ul>
|
---|
375 | <a name="toXML--">
|
---|
376 | <!-- -->
|
---|
377 | </a>
|
---|
378 | <ul class="blockList">
|
---|
379 | <li class="blockList">
|
---|
380 | <h4>toXML</h4>
|
---|
381 | <pre>public <a href="../../genius/core/xml/SimpleElement.html" title="class in genius.core.xml">SimpleElement</a> toXML()</pre>
|
---|
382 | <div class="block">Creates an XML representation of this domain.</div>
|
---|
383 | <dl>
|
---|
384 | <dt><span class="returnLabel">Returns:</span></dt>
|
---|
385 | <dd>the SimpleElements representation of this Domain or
|
---|
386 | <code>null</code> when there was an error.</dd>
|
---|
387 | </dl>
|
---|
388 | </li>
|
---|
389 | </ul>
|
---|
390 | <a name="getObjectives--">
|
---|
391 | <!-- -->
|
---|
392 | </a>
|
---|
393 | <ul class="blockList">
|
---|
394 | <li class="blockList">
|
---|
395 | <h4>getObjectives</h4>
|
---|
396 | <pre>public java.util.List<<a href="../../genius/core/issue/Objective.html" title="class in genius.core.issue">Objective</a>> getObjectives()</pre>
|
---|
397 | <dl>
|
---|
398 | <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
---|
399 | <dd><code><a href="../../genius/core/Domain.html#getObjectives--">getObjectives</a></code> in interface <code><a href="../../genius/core/Domain.html" title="interface in genius.core">Domain</a></code></dd>
|
---|
400 | <dt><span class="returnLabel">Returns:</span></dt>
|
---|
401 | <dd>all objectives (note, <a href="../../genius/core/issue/Issue.html" title="class in genius.core.issue"><code>Issue</code></a> is an <a href="../../genius/core/issue/Objective.html" title="class in genius.core.issue"><code>Objective</code></a>) in
|
---|
402 | the domain.</dd>
|
---|
403 | </dl>
|
---|
404 | </li>
|
---|
405 | </ul>
|
---|
406 | <a name="getIssues--">
|
---|
407 | <!-- -->
|
---|
408 | </a>
|
---|
409 | <ul class="blockList">
|
---|
410 | <li class="blockList">
|
---|
411 | <h4>getIssues</h4>
|
---|
412 | <pre>public java.util.List<<a href="../../genius/core/issue/Issue.html" title="class in genius.core.issue">Issue</a>> getIssues()</pre>
|
---|
413 | <dl>
|
---|
414 | <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
---|
415 | <dd><code><a href="../../genius/core/Domain.html#getIssues--">getIssues</a></code> in interface <code><a href="../../genius/core/Domain.html" title="interface in genius.core">Domain</a></code></dd>
|
---|
416 | <dt><span class="returnLabel">Returns:</span></dt>
|
---|
417 | <dd>All <a href="../../genius/core/issue/Issue.html" title="class in genius.core.issue"><code>Issue</code></a>s in the domain, sorted to preorder.This may be
|
---|
418 | computationally expensive</dd>
|
---|
419 | </dl>
|
---|
420 | </li>
|
---|
421 | </ul>
|
---|
422 | <a name="getNumberOfPossibleBids--">
|
---|
423 | <!-- -->
|
---|
424 | </a>
|
---|
425 | <ul class="blockList">
|
---|
426 | <li class="blockList">
|
---|
427 | <h4>getNumberOfPossibleBids</h4>
|
---|
428 | <pre>public long getNumberOfPossibleBids()</pre>
|
---|
429 | <dl>
|
---|
430 | <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
---|
431 | <dd><code><a href="../../genius/core/Domain.html#getNumberOfPossibleBids--">getNumberOfPossibleBids</a></code> in interface <code><a href="../../genius/core/Domain.html" title="interface in genius.core">Domain</a></code></dd>
|
---|
432 | <dt><span class="returnLabel">Returns:</span></dt>
|
---|
433 | <dd>number of all possible bids in the domain. Does not care of
|
---|
434 | constraints.</dd>
|
---|
435 | </dl>
|
---|
436 | </li>
|
---|
437 | </ul>
|
---|
438 | <a name="hashCode--">
|
---|
439 | <!-- -->
|
---|
440 | </a>
|
---|
441 | <ul class="blockList">
|
---|
442 | <li class="blockList">
|
---|
443 | <h4>hashCode</h4>
|
---|
444 | <pre>public int hashCode()</pre>
|
---|
445 | <dl>
|
---|
446 | <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
---|
447 | <dd><code>hashCode</code> in class <code>java.lang.Object</code></dd>
|
---|
448 | </dl>
|
---|
449 | </li>
|
---|
450 | </ul>
|
---|
451 | <a name="equals-java.lang.Object-">
|
---|
452 | <!-- -->
|
---|
453 | </a>
|
---|
454 | <ul class="blockList">
|
---|
455 | <li class="blockList">
|
---|
456 | <h4>equals</h4>
|
---|
457 | <pre>public boolean equals(java.lang.Object obj)</pre>
|
---|
458 | <dl>
|
---|
459 | <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
---|
460 | <dd><code>equals</code> in class <code>java.lang.Object</code></dd>
|
---|
461 | </dl>
|
---|
462 | </li>
|
---|
463 | </ul>
|
---|
464 | <a name="getName--">
|
---|
465 | <!-- -->
|
---|
466 | </a>
|
---|
467 | <ul class="blockListLast">
|
---|
468 | <li class="blockList">
|
---|
469 | <h4>getName</h4>
|
---|
470 | <pre>public java.lang.String getName()</pre>
|
---|
471 | <dl>
|
---|
472 | <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
---|
473 | <dd><code><a href="../../genius/core/Domain.html#getName--">getName</a></code> in interface <code><a href="../../genius/core/Domain.html" title="interface in genius.core">Domain</a></code></dd>
|
---|
474 | <dt><span class="returnLabel">Returns:</span></dt>
|
---|
475 | <dd>name of this domain.</dd>
|
---|
476 | </dl>
|
---|
477 | </li>
|
---|
478 | </ul>
|
---|
479 | </li>
|
---|
480 | </ul>
|
---|
481 | </li>
|
---|
482 | </ul>
|
---|
483 | </div>
|
---|
484 | </div>
|
---|
485 | <!-- ========= END OF CLASS DATA ========= -->
|
---|
486 | <!-- ======= START OF BOTTOM NAVBAR ====== -->
|
---|
487 | <div class="bottomNav"><a name="navbar.bottom">
|
---|
488 | <!-- -->
|
---|
489 | </a>
|
---|
490 | <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
---|
491 | <a name="navbar.bottom.firstrow">
|
---|
492 | <!-- -->
|
---|
493 | </a>
|
---|
494 | <ul class="navList" title="Navigation">
|
---|
495 | <li><a href="../../overview-summary.html">Overview</a></li>
|
---|
496 | <li><a href="package-summary.html">Package</a></li>
|
---|
497 | <li class="navBarCell1Rev">Class</li>
|
---|
498 | <li><a href="class-use/DomainImpl.html">Use</a></li>
|
---|
499 | <li><a href="package-tree.html">Tree</a></li>
|
---|
500 | <li><a href="../../deprecated-list.html">Deprecated</a></li>
|
---|
501 | <li><a href="../../index-all.html">Index</a></li>
|
---|
502 | <li><a href="../../help-doc.html">Help</a></li>
|
---|
503 | </ul>
|
---|
504 | </div>
|
---|
505 | <div class="subNav">
|
---|
506 | <ul class="navList">
|
---|
507 | <li><a href="../../genius/core/Domain.html" title="interface in genius.core"><span class="typeNameLink">Prev Class</span></a></li>
|
---|
508 | <li><a href="../../genius/core/Feedback.html" title="enum in genius.core"><span class="typeNameLink">Next Class</span></a></li>
|
---|
509 | </ul>
|
---|
510 | <ul class="navList">
|
---|
511 | <li><a href="../../index.html?genius/core/DomainImpl.html" target="_top">Frames</a></li>
|
---|
512 | <li><a href="DomainImpl.html" target="_top">No Frames</a></li>
|
---|
513 | </ul>
|
---|
514 | <ul class="navList" id="allclasses_navbar_bottom">
|
---|
515 | <li><a href="../../allclasses-noframe.html">All Classes</a></li>
|
---|
516 | </ul>
|
---|
517 | <div>
|
---|
518 | <script type="text/javascript"><!--
|
---|
519 | allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
---|
520 | if(window==top) {
|
---|
521 | allClassesLink.style.display = "block";
|
---|
522 | }
|
---|
523 | else {
|
---|
524 | allClassesLink.style.display = "none";
|
---|
525 | }
|
---|
526 | //-->
|
---|
527 | </script>
|
---|
528 | </div>
|
---|
529 | <div>
|
---|
530 | <ul class="subNavList">
|
---|
531 | <li>Summary: </li>
|
---|
532 | <li>Nested | </li>
|
---|
533 | <li>Field | </li>
|
---|
534 | <li><a href="#constructor.summary">Constr</a> | </li>
|
---|
535 | <li><a href="#method.summary">Method</a></li>
|
---|
536 | </ul>
|
---|
537 | <ul class="subNavList">
|
---|
538 | <li>Detail: </li>
|
---|
539 | <li>Field | </li>
|
---|
540 | <li><a href="#constructor.detail">Constr</a> | </li>
|
---|
541 | <li><a href="#method.detail">Method</a></li>
|
---|
542 | </ul>
|
---|
543 | </div>
|
---|
544 | <a name="skip.navbar.bottom">
|
---|
545 | <!-- -->
|
---|
546 | </a></div>
|
---|
547 | <!-- ======== END OF BOTTOM NAVBAR ======= -->
|
---|
548 | </body>
|
---|
549 | </html>
|
---|