source: src/main/resources/genius/templates/Railway/ProRail.xml@ 126

Last change on this file since 126 was 126, checked in by Aron Hammond, 6 years ago

Added function to calculate opposition to MultiLateralAnalysis.java

Moved code to add RLBOA listeners to RLBOAUtils is misc package

Added input for strategyParameters to SessionPanel (gui)

!! close SessionInfo after tournament; this caused /tmp/ to fill up with GeniusData files

Our own package:

  • Added opponents and strategies that are mentioned in the report
  • Change class hierarchy, agents can now extend from RLBOAagentBilateral to inherit RL functionality.
  • States extend from AbstractState
File size: 7.5 KB
Line 
1<?xml version="1.0" encoding="utf-8" ?>
2<utility_space type="constraint">
3 <objective index="0" description="" name="Railway" type="objective" etype="objective">
4 <issue index="1" name="WhoShowup" vtype="discrete" type="discrete" etype="discrete">
5 <item index="1" value="None"/>
6 <item index="2" value="Only NS"/>
7 <item index="3" value="Only ProRail"/>
8 <item index="4" value="Only Minister"/>
9 <item index="5" value="NS+ProRail"/>
10 <item index="6" value="NS+Minister"/>
11 <item index="7" value="ProRail+Minister"/>
12 <item index="8" value="All"/>
13 </issue>
14 <issue index="2" name="PercentageBlameMinister" vtype="discrete" type="discrete" etype="discrete">
15 <item index="1" value="0"/>
16 <item index="2" value="1"/>
17 <item index="3" value="5"/>
18 <item index="4" value="25"/>
19 </issue>
20 <issue index="3" name="PercentageBlameNS" vtype="discrete" type="discrete" etype="discrete">
21 <item index="1" value="0"/>
22 <item index="2" value="25"/>
23 <item index="3" value="33"/>
24 <item index="4" value="66"/>
25 </issue>
26 <issue index="4" name="PercentageBlameProRail" vtype="discrete" type="discrete" etype="discrete">
27 <item index="1" value="0"/>
28 <item index="2" value="10"/>
29 <item index="3" value="25"/>
30 <item index="4" value="33"/>
31 </issue>
32 <issue index="5" name="MoneyFlowToNS" vtype="discrete" type="discrete" etype="discrete">
33 <item index="1" value="-10"/>
34 <item index="2" value="-1"/>
35 <item index="3" value="0"/>
36 <item index="4" value="250"/>
37 </issue>
38 <issue index="6" name="MoneyFlowToProRail" vtype="discrete" type="discrete" etype="discrete">
39 <item index="1" value="-5"/>
40 <item index="2" value="0"/>
41 <item index="3" value="100"/>
42 <item index="4" value="250"/>
43 <item index="5" value="500"/>
44 </issue>
45 <issue index="7" name="ControlActionofMinister" vtype="discrete" type="discrete" etype="discrete">
46 <item index="1" value="NS=businessAsUsual+ProRail=businessAsUsual"/>
47 <item index="2" value="NS=businessAsUsual+ProRail=warning"/>
48 <item index="3" value="NS=businessAsUsual+ProRail=penalty"/>
49 <item index="4" value="NS=businessAsUsual+ProRail=reorganization"/>
50 <item index="5" value="NS=warning+ProRail=businessAsUsual"/>
51 <item index="6" value="NS=warning+ProRail=warning"/>
52 <item index="7" value="NS=warning+ProRail=penalty"/>
53 <item index="8" value="NS=warning+ProRail=reorganization"/>
54 <item index="9" value="NS=penalty+ProRail=businessAsUsual"/>
55 <item index="10" value="NS=penalty+ProRail=warning"/>
56 <item index="11" value="NS=penalty+ProRail=penalty"/>
57 <item index="12" value="NS=penalty+ProRail=reorganization"/>
58 <item index="13" value="NS=fireDirector+ProRail=businessAsUsual"/>
59 <item index="14" value="NS=fireDirector+ProRail=warning"/>
60 <item index="15" value="NS=fireDirector+ProRail=penalty"/>
61 <item index="16" value="NS=fireDirector+ProRail=reorganization"/>
62 </issue>
63 <issue index="8" name="SolutionTime" vtype="discrete" type="discrete" etype="discrete">
64 <item index="1" value="No deadline"/>
65 <item index="2" value="Today"/>
66 <item index="3" value="Within a week"/>
67 <item index="4" value="Within a month"/>
68 </issue>
69 <rules>
70 <ranks>
71 <issue index="1">
72 <item index="1" rank="4" value="None"/>
73 <item index="2" rank="7" value="Only NS"/>
74 <item index="3" rank="1" value="Only ProRail"/>
75 <item index="4" rank="5" value="Only Minister"/>
76 <item index="5" rank="2" value="NS+ProRail"/>
77 <item index="6" rank="6" value="NS+Minister"/>
78 <item index="7" rank="2" value="ProRail+Minister"/>
79 <item index="8" rank="3" value="All"/>
80 </issue>
81 <issue index="2">
82 <item index="1" rank="1" value="0"/>
83 <item index="2" rank="2" value="1"/>
84 <item index="3" rank="3" value="5"/>
85 <item index="4" rank="4" value="25"/>
86 </issue>
87 <issue index="3">
88 <item index="1" rank="1" value="0"/>
89 <item index="2" rank="2" value="25"/>
90 <item index="3" rank="3" value="33"/>
91 <item index="4" rank="4" value="66"/>
92 </issue>
93 <issue index="4">
94 <item index="1" rank="4" value="0"/>
95 <item index="2" rank="3" value="10"/>
96 <item index="3" rank="2" value="25"/>
97 <item index="4" rank="1" value="33"/>
98 </issue>
99 <issue index="5">
100 <item index="1" rank="1" value="-10"/>
101 <item index="2" rank="1" value="-1"/>
102 <item index="3" rank="1" value="0"/>
103 <item index="4" rank="1" value="250"/>
104 </issue>
105 <issue index="6">
106 <item index="1" rank="1" value="-5"/>
107 <item index="2" rank="2" value="0"/>
108 <item index="3" rank="3" value="100"/>
109 <item index="4" rank="4" value="250"/>
110 <item index="5" rank="5" value="500"/>
111 </issue>
112 <issue index="7">
113 <item index="1" rank="13" value="NS=businessAsUsual+ProRail=businessAsUsual"/>
114 <item index="2" rank="9" value="NS=businessAsUsual+ProRail=warning"/>
115 <item index="3" rank="5" value="NS=businessAsUsual+ProRail=penalty"/>
116 <item index="4" rank="1" value="NS=businessAsUsual+ProRail=reorganization"/>
117 <item index="5" rank="14" value="NS=warning+ProRail=businessAsUsual"/>
118 <item index="6" rank="10" value="NS=warning+ProRail=warning"/>
119 <item index="7" rank="6" value="NS=warning+ProRail=penalty"/>
120 <item index="8" rank="2" value="NS=warning+ProRail=reorganization"/>
121 <item index="9" rank="15" value="NS=penalty+ProRail=businessAsUsual"/>
122 <item index="10" rank="11" value="NS=penalty+ProRail=warning"/>
123 <item index="11" rank="7" value="NS=penalty+ProRail=penalty"/>
124 <item index="12" rank="3" value="NS=penalty+ProRail=reorganization"/>
125 <item index="13" rank="16" value="NS=fireDirector+ProRail=businessAsUsual"/>
126 <item index="14" rank="12" value="NS=fireDirector+ProRail=warning"/>
127 <item index="15" rank="8" value="NS=fireDirector+ProRail=penalty"/>
128 <item index="16" rank="4" value="NS=fireDirector+ProRail=reorganization"/>
129 </issue>
130 <issue index="8">
131 <item index="1" rank="4" value="No deadline"/>
132 <item index="2" rank="1" value="Today"/>
133 <item index="3" rank="2" value="Within a week"/>
134 <item index="4" rank="3" value="Within a month"/>
135 </issue>
136 </ranks>
137 <constraints>
138
139 <constraint type="inclusiveZeroOutcomeConstraint">
140 <checkassignment index="5" condition="numeric=positive"/>
141 <checkassignment index="7" condition="NS=penalty"/>
142 </constraint>
143
144 <constraint type="inclusiveZeroOutcomeConstraint">
145 <checkassignment index="6" condition="numeric=positive"/>
146 <checkassignment index="7" condition="ProRail=penalty"/>
147 </constraint>
148
149 <constraint type="conditionalZeroOutcomeConstraint">
150 <checkassignment index="5" condition="numeric=negative"/>
151 <checkassignment index="7" condition="NS=penalty"/>
152 </constraint>
153
154 <constraint type="conditionalZeroOutcomeConstraint">
155 <checkassignment index="6" condition="numeric=negative"/>
156 <checkassignment index="7" condition="ProRail=penalty"/>
157 </constraint>
158
159
160 </constraints>
161 </rules>
162 </objective>
163</utility_space>
Note: See TracBrowser for help on using the repository browser.