.setOptimizedDateConfidenceInterval(null);
}
private void createCostInterval() {
// System.out.println("Creating cost interval");
ConfidenceIntervalSum sum = new ConfidenceIntervalSum();
sum.setAcceptableError(5 * 60);
Iterator i = schedule.subSchedules.iterator();
while (i.hasNext()) {
EVSchedule s = (EVSchedule) i.next();
sum.addInterval(s.getMetrics().getCostConfidenceInterval());
}
sum.intervalsComplete();
// System.out.println("created " + sum.samples.size() + " cost samples");
// sum.debugPrint(5);
schedule.getMetrics().setCostConfidenceInterval(sum);
schedule.getMetrics().setTimeErrConfidenceInterval(null);
schedule.getMetrics().setDateConfidenceInterval(null);