source: javadoc/genius/core/StrategyParameters.html@ 1

Last change on this file since 1 was 1, checked in by Wouter Pasman, 7 years ago

Initial import : Genius 9.0.0

File size: 13.1 KB
Line 
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>StrategyParameters (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="StrategyParameters (Genius Core Documentation)";
16 }
17 }
18 catch(err) {
19 }
20//-->
21var methods = {"i0":10,"i1":10,"i2":10};
22var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
23var altColor = "altColor";
24var rowColor = "rowColor";
25var tableTab = "tableTab";
26var 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/StrategyParameters.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/SerializeHandling.html" title="class in genius.core"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
53<li><a href="../../genius/core/SupportedNegotiationSetting.html" title="class in genius.core"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
54</ul>
55<ul class="navList">
56<li><a href="../../index.html?genius/core/StrategyParameters.html" target="_top">Frames</a></li>
57<li><a href="StrategyParameters.html" target="_top">No&nbsp;Frames</a></li>
58</ul>
59<ul class="navList" id="allclasses_navbar_top">
60<li><a href="../../allclasses-noframe.html">All&nbsp;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:&nbsp;</li>
77<li>Nested&nbsp;|&nbsp;</li>
78<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
79<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
80<li><a href="#method.summary">Method</a></li>
81</ul>
82<ul class="subNavList">
83<li>Detail:&nbsp;</li>
84<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
85<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</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 StrategyParameters" class="title">Class StrategyParameters</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.StrategyParameters</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>java.io.Serializable</dd>
113</dl>
114<hr>
115<br>
116<pre>public class <span class="typeNameLabel">StrategyParameters</span>
117extends java.lang.Object
118implements java.io.Serializable</pre>
119<div class="block">Simple class which stores the parameters given to a negotiation strategy, for
120 example an concession factor.</div>
121<dl>
122<dt><span class="simpleTagLabel">Author:</span></dt>
123<dd>Mark Hendrikx</dd>
124<dt><span class="seeLabel">See Also:</span></dt>
125<dd><a href="../../serialized-form.html#genius.core.StrategyParameters">Serialized Form</a></dd>
126</dl>
127</li>
128</ul>
129</div>
130<div class="summary">
131<ul class="blockList">
132<li class="blockList">
133<!-- =========== FIELD SUMMARY =========== -->
134<ul class="blockList">
135<li class="blockList"><a name="field.summary">
136<!-- -->
137</a>
138<h3>Field Summary</h3>
139<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
140<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
141<tr>
142<th class="colFirst" scope="col">Modifier and Type</th>
143<th class="colLast" scope="col">Field and Description</th>
144</tr>
145<tr class="altColor">
146<td class="colFirst"><code>protected java.util.HashMap&lt;java.lang.String,java.lang.String&gt;</code></td>
147<td class="colLast"><code><span class="memberNameLink"><a href="../../genius/core/StrategyParameters.html#strategyParam">strategyParam</a></span></code>
148<div class="block">Parameters as specified in the agent repository.</div>
149</td>
150</tr>
151</table>
152</li>
153</ul>
154<!-- ======== CONSTRUCTOR SUMMARY ======== -->
155<ul class="blockList">
156<li class="blockList"><a name="constructor.summary">
157<!-- -->
158</a>
159<h3>Constructor Summary</h3>
160<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
161<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
162<tr>
163<th class="colOne" scope="col">Constructor and Description</th>
164</tr>
165<tr class="altColor">
166<td class="colOne"><code><span class="memberNameLink"><a href="../../genius/core/StrategyParameters.html#StrategyParameters--">StrategyParameters</a></span>()</code>
167<div class="block">Create an empty hashmap of parameters.</div>
168</td>
169</tr>
170</table>
171</li>
172</ul>
173<!-- ========== METHOD SUMMARY =========== -->
174<ul class="blockList">
175<li class="blockList"><a name="method.summary">
176<!-- -->
177</a>
178<h3>Method Summary</h3>
179<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
180<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
181<tr>
182<th class="colFirst" scope="col">Modifier and Type</th>
183<th class="colLast" scope="col">Method and Description</th>
184</tr>
185<tr id="i0" class="altColor">
186<td class="colFirst"><code>void</code></td>
187<td class="colLast"><code><span class="memberNameLink"><a href="../../genius/core/StrategyParameters.html#addVariable-java.lang.String-java.lang.String-">addVariable</a></span>(java.lang.String&nbsp;name,
188 java.lang.String&nbsp;value)</code>
189<div class="block">Add a parameter to the list of parameters.</div>
190</td>
191</tr>
192<tr id="i1" class="rowColor">
193<td class="colFirst"><code>double</code></td>
194<td class="colLast"><code><span class="memberNameLink"><a href="../../genius/core/StrategyParameters.html#getValueAsDouble-java.lang.String-">getValueAsDouble</a></span>(java.lang.String&nbsp;name)</code>
195<div class="block">Returns the value of the parameter with the given name as double.</div>
196</td>
197</tr>
198<tr id="i2" class="altColor">
199<td class="colFirst"><code>java.lang.String</code></td>
200<td class="colLast"><code><span class="memberNameLink"><a href="../../genius/core/StrategyParameters.html#getValueAsString-java.lang.String-">getValueAsString</a></span>(java.lang.String&nbsp;name)</code>
201<div class="block">Returns the value of the parameter with the given name as string.</div>
202</td>
203</tr>
204</table>
205<ul class="blockList">
206<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
207<!-- -->
208</a>
209<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
210<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
211</ul>
212</li>
213</ul>
214</li>
215</ul>
216</div>
217<div class="details">
218<ul class="blockList">
219<li class="blockList">
220<!-- ============ FIELD DETAIL =========== -->
221<ul class="blockList">
222<li class="blockList"><a name="field.detail">
223<!-- -->
224</a>
225<h3>Field Detail</h3>
226<a name="strategyParam">
227<!-- -->
228</a>
229<ul class="blockListLast">
230<li class="blockList">
231<h4>strategyParam</h4>
232<pre>protected&nbsp;java.util.HashMap&lt;java.lang.String,java.lang.String&gt; strategyParam</pre>
233<div class="block">Parameters as specified in the agent repository.</div>
234</li>
235</ul>
236</li>
237</ul>
238<!-- ========= CONSTRUCTOR DETAIL ======== -->
239<ul class="blockList">
240<li class="blockList"><a name="constructor.detail">
241<!-- -->
242</a>
243<h3>Constructor Detail</h3>
244<a name="StrategyParameters--">
245<!-- -->
246</a>
247<ul class="blockListLast">
248<li class="blockList">
249<h4>StrategyParameters</h4>
250<pre>public&nbsp;StrategyParameters()</pre>
251<div class="block">Create an empty hashmap of parameters.</div>
252</li>
253</ul>
254</li>
255</ul>
256<!-- ============ METHOD DETAIL ========== -->
257<ul class="blockList">
258<li class="blockList"><a name="method.detail">
259<!-- -->
260</a>
261<h3>Method Detail</h3>
262<a name="addVariable-java.lang.String-java.lang.String-">
263<!-- -->
264</a>
265<ul class="blockList">
266<li class="blockList">
267<h4>addVariable</h4>
268<pre>public&nbsp;void&nbsp;addVariable(java.lang.String&nbsp;name,
269 java.lang.String&nbsp;value)</pre>
270<div class="block">Add a parameter to the list of parameters.</div>
271<dl>
272<dt><span class="paramLabel">Parameters:</span></dt>
273<dd><code>name</code> - of the parameter.</dd>
274<dd><code>value</code> - of the parameter.</dd>
275</dl>
276</li>
277</ul>
278<a name="getValueAsString-java.lang.String-">
279<!-- -->
280</a>
281<ul class="blockList">
282<li class="blockList">
283<h4>getValueAsString</h4>
284<pre>public&nbsp;java.lang.String&nbsp;getValueAsString(java.lang.String&nbsp;name)</pre>
285<div class="block">Returns the value of the parameter with the given name as string.</div>
286<dl>
287<dt><span class="paramLabel">Parameters:</span></dt>
288<dd><code>name</code> - of the given parameter.</dd>
289<dt><span class="returnLabel">Returns:</span></dt>
290<dd>value of the parameter as string.</dd>
291</dl>
292</li>
293</ul>
294<a name="getValueAsDouble-java.lang.String-">
295<!-- -->
296</a>
297<ul class="blockListLast">
298<li class="blockList">
299<h4>getValueAsDouble</h4>
300<pre>public&nbsp;double&nbsp;getValueAsDouble(java.lang.String&nbsp;name)</pre>
301<div class="block">Returns the value of the parameter with the given name as double.</div>
302<dl>
303<dt><span class="paramLabel">Parameters:</span></dt>
304<dd><code>name</code> - of the given parameter.</dd>
305<dt><span class="returnLabel">Returns:</span></dt>
306<dd>value of the parameter as double.</dd>
307</dl>
308</li>
309</ul>
310</li>
311</ul>
312</li>
313</ul>
314</div>
315</div>
316<!-- ========= END OF CLASS DATA ========= -->
317<!-- ======= START OF BOTTOM NAVBAR ====== -->
318<div class="bottomNav"><a name="navbar.bottom">
319<!-- -->
320</a>
321<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
322<a name="navbar.bottom.firstrow">
323<!-- -->
324</a>
325<ul class="navList" title="Navigation">
326<li><a href="../../overview-summary.html">Overview</a></li>
327<li><a href="package-summary.html">Package</a></li>
328<li class="navBarCell1Rev">Class</li>
329<li><a href="class-use/StrategyParameters.html">Use</a></li>
330<li><a href="package-tree.html">Tree</a></li>
331<li><a href="../../deprecated-list.html">Deprecated</a></li>
332<li><a href="../../index-all.html">Index</a></li>
333<li><a href="../../help-doc.html">Help</a></li>
334</ul>
335</div>
336<div class="subNav">
337<ul class="navList">
338<li><a href="../../genius/core/SerializeHandling.html" title="class in genius.core"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
339<li><a href="../../genius/core/SupportedNegotiationSetting.html" title="class in genius.core"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
340</ul>
341<ul class="navList">
342<li><a href="../../index.html?genius/core/StrategyParameters.html" target="_top">Frames</a></li>
343<li><a href="StrategyParameters.html" target="_top">No&nbsp;Frames</a></li>
344</ul>
345<ul class="navList" id="allclasses_navbar_bottom">
346<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
347</ul>
348<div>
349<script type="text/javascript"><!--
350 allClassesLink = document.getElementById("allclasses_navbar_bottom");
351 if(window==top) {
352 allClassesLink.style.display = "block";
353 }
354 else {
355 allClassesLink.style.display = "none";
356 }
357 //-->
358</script>
359</div>
360<div>
361<ul class="subNavList">
362<li>Summary:&nbsp;</li>
363<li>Nested&nbsp;|&nbsp;</li>
364<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
365<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
366<li><a href="#method.summary">Method</a></li>
367</ul>
368<ul class="subNavList">
369<li>Detail:&nbsp;</li>
370<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
371<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
372<li><a href="#method.detail">Method</a></li>
373</ul>
374</div>
375<a name="skip.navbar.bottom">
376<!-- -->
377</a></div>
378<!-- ======== END OF BOTTOM NAVBAR ======= -->
379</body>
380</html>
Note: See TracBrowser for help on using the repository browser.