}
stat.addValue(1 / (sum / werte.size()));
}
ChartEvent event1 = new ChartEvent(chartName, columns[0], stat.getMean());
ChartEvent event2 = new ChartEvent(chartName, columns[1], stat.getMean() + stat.getStandardDeviation());
ChartEvent event3 = new ChartEvent(chartName, columns[2], stat.getMean() - stat.getStandardDeviation());
ChartEvent event4 = new ChartEvent(chartName, columns[3], stat.getMax());
ChartEvent event5 = new ChartEvent(chartName, columns[4], stat.getMin());
event1.setyAxisLabel("Universality");
event1.setLineColor(Color.black);
event1.setLineStroke(new BasicStroke(3));
event2.setLineColor(Color.gray);
event3.setLineColor(Color.gray);
event4.setLineColor(Color.blue);
event5.setLineColor(Color.red);
env.getSimTime().broadcastEvent(event1);
env.getSimTime().broadcastEvent(event2);
env.getSimTime().broadcastEvent(event3);
env.getSimTime().broadcastEvent(event4);
env.getSimTime().broadcastEvent(event5);
if (this.chartDaten.get(chartName) == null) {
this.chartDaten.put(chartName, new LinkedList<String>());
this.chartDaten.get(chartName).add(
columns[0] + ";"
+ columns[1] + ";"
+ columns[2] + ";"
+ columns[3] + ";"
+ columns[4]);
} else {
this.chartDaten.get(chartName).add(
event1.getValue() + ";"
+ event2.getValue() + ";"
+ event3.getValue() + ";"
+ event4.getValue() + ";"
+ event5.getValue());
}
}
}