Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
The container registry cleanup task is now completed and the registry can be used normally.
Open sidebar
vadere
vadere
Commits
b8f80c58
Commit
b8f80c58
authored
Sep 06, 2018
by
Stefan Schuhbaeck
Browse files
add maxOverlap to SimResult dialog
parent
9b0377c2
Pipeline
#68012
passed with stages
in 58 minutes and 52 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
VadereGui/src/org/vadere/gui/projectview/view/ProjectRunResultDialog.java
View file @
b8f80c58
...
...
@@ -64,6 +64,7 @@ public class ProjectRunResultDialog implements ProjectFinishedListener {
private
final
String
[]
columnNames
=
{
"Scenario_Name"
,
"Runtime"
,
"Overlaps"
,
"MaxOverlap"
,
"State"
};
Button
btnOk
,
btnCsv
;
private
JTable
table
;
...
...
@@ -108,7 +109,7 @@ public class ProjectRunResultDialog implements ProjectFinishedListener {
public
Object
[][]
getData
(
LinkedList
<
SimulationResult
>
data
)
{
Object
[][]
res
=
new
Object
[
data
.
size
()][
4
];
Object
[][]
res
=
new
Object
[
data
.
size
()][
5
];
int
rowIdx
=
0
;
for
(
SimulationResult
d
:
data
)
{
res
[
rowIdx
]
=
d
.
getAsTableRow
();
...
...
VadereSimulator/src/org/vadere/simulator/projects/SimulationResult.java
View file @
b8f80c58
...
...
@@ -74,7 +74,7 @@ public class SimulationResult {
ret
[
0
]
=
scenarioName
;
ret
[
1
]
=
runTime
.
toString
();
ret
[
2
]
=
Integer
.
toString
(
totalOverlaps
);
ret
[
3
]
=
Double
.
toString
(
maxOverlap
);
ret
[
3
]
=
String
.
format
(
"%.5f"
,
maxOverlap
);
ret
[
4
]
=
state
;
return
ret
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment