Revision 198:e32f98444af6

View differences:

misc/eclipse/GenerateInstance.launch
8 8
</listAttribute>
9 9
<stringAttribute key="org.eclipse.jdt.launching.CLASSPATH_PROVIDER" value="org.eclipse.m2e.launchconfig.classpathProvider"/>
10 10
<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="tt.jointeuclid2ni.probleminstance.generator.GenerateInstance"/>
11
<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="-env src/main/resources/d-environments/101.xml  -nagents 4 -radius 10 -seed 1005 -outfile src/main/resources/problems/101.xml -sgavoiding -onecluster -showvis -verbose"/>
11
<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="-env src/main/resources/d-environments/101.xml  -nagents 12 -radius 10 -seed 1005 -outfile src/main/resources/problems/101.xml -sgavoiding -onecluster -showvis -verbose"/>
12 12
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="deconflictiontools"/>
13 13
<stringAttribute key="org.eclipse.jdt.launching.SOURCE_PATH_PROVIDER" value="org.eclipse.m2e.launchconfig.sourcepathProvider"/>
14 14
</launchConfiguration>
src/main/java/tt/jointeuclid2ni/probleminstance/VisUtil.java
143 143

  
144 144
    }
145 145

  
146
    public static void visualizeSingleTrajectory(Trajectory trajectory, int bodyRadius, int maxTime) {
146
    private static void visualizeSingleTrajectory(Trajectory trajectory, int bodyRadius, int maxTime) {
147 147
        final Trajectory[] trajInArr = {trajectory};
148 148
        final int[] radInArr = {bodyRadius};
149 149
        final int color = SINGLE_TRAJECTORY_COLOR_SHIFT + singleTrajectoryColorCounter++;
src/main/resources/problems/101.xml
15 15
<agent>
16 16
<start>
17 17
<point>
18
<x>438</x>
19
<y>322</y>
18
<x>1051</x>
19
<y>169</y>
20 20
</point>
21 21
</start>
22 22
<target>
23 23
<point>
24
<x>634</x>
25
<y>391</y>
24
<x>502</x>
25
<y>205</y>
26 26
</point>
27 27
</target>
28 28
<radius>10</radius>
......
31 31
<agent>
32 32
<start>
33 33
<point>
34
<x>559</x>
35
<y>342</y>
34
<x>783</x>
35
<y>171</y>
36 36
</point>
37 37
</start>
38 38
<target>
39 39
<point>
40
<x>116</x>
41
<y>341</y>
40
<x>783</x>
41
<y>171</y>
42 42
</point>
43 43
</target>
44 44
<radius>10</radius>
......
47 47
<agent>
48 48
<start>
49 49
<point>
50
<x>457</x>
51
<y>337</y>
50
<x>833</x>
51
<y>154</y>
52 52
</point>
53 53
</start>
54 54
<target>
55 55
<point>
56
<x>686</x>
57
<y>377</y>
56
<x>546</x>
57
<y>204</y>
58 58
</point>
59 59
</target>
60 60
<radius>10</radius>
......
63 63
<agent>
64 64
<start>
65 65
<point>
66
<x>94</x>
67
<y>334</y>
66
<x>1035</x>
67
<y>154</y>
68 68
</point>
69 69
</start>
70 70
<target>
71 71
<point>
72
<x>751</x>
73
<y>323</y>
72
<x>1009</x>
73
<y>357</y>
74
</point>
75
</target>
76
<radius>10</radius>
77
<maxspeed>1</maxspeed>
78
</agent>
79
<agent>
80
<start>
81
<point>
82
<x>1065</x>
83
<y>203</y>
84
</point>
85
</start>
86
<target>
87
<point>
88
<x>311</x>
89
<y>235</y>
90
</point>
91
</target>
92
<radius>10</radius>
93
<maxspeed>1</maxspeed>
94
</agent>
95
<agent>
96
<start>
97
<point>
98
<x>711</x>
99
<y>182</y>
100
</point>
101
</start>
102
<target>
103
<point>
104
<x>1063</x>
105
<y>231</y>
106
</point>
107
</target>
108
<radius>10</radius>
109
<maxspeed>1</maxspeed>
110
</agent>
111
<agent>
112
<start>
113
<point>
114
<x>733</x>
115
<y>179</y>
116
</point>
117
</start>
118
<target>
119
<point>
120
<x>617</x>
121
<y>194</y>
122
</point>
123
</target>
124
<radius>10</radius>
125
<maxspeed>1</maxspeed>
126
</agent>
127
<agent>
128
<start>
129
<point>
130
<x>374</x>
131
<y>228</y>
132
</point>
133
</start>
134
<target>
135
<point>
136
<x>759</x>
137
<y>178</y>
138
</point>
139
</target>
140
<radius>10</radius>
141
<maxspeed>1</maxspeed>
142
</agent>
143
<agent>
144
<start>
145
<point>
146
<x>687</x>
147
<y>184</y>
148
</point>
149
</start>
150
<target>
151
<point>
152
<x>344</x>
153
<y>334</y>
154
</point>
155
</target>
156
<radius>10</radius>
157
<maxspeed>1</maxspeed>
158
</agent>
159
<agent>
160
<start>
161
<point>
162
<x>600</x>
163
<y>210</y>
164
</point>
165
</start>
166
<target>
167
<point>
168
<x>963</x>
169
<y>356</y>
170
</point>
171
</target>
172
<radius>10</radius>
173
<maxspeed>1</maxspeed>
174
</agent>
175
<agent>
176
<start>
177
<point>
178
<x>985</x>
179
<y>357</y>
180
</point>
181
</start>
182
<target>
183
<point>
184
<x>94</x>
185
<y>334</y>
186
</point>
187
</target>
188
<radius>10</radius>
189
<maxspeed>1</maxspeed>
190
</agent>
191
<agent>
192
<start>
193
<point>
194
<x>773</x>
195
<y>326</y>
196
</point>
197
</start>
198
<target>
199
<point>
200
<x>524</x>
201
<y>208</y>
74 202
</point>
75 203
</target>
76 204
<radius>10</radius>

Also available in: Unified diff