//System.out.println(i+": "+a+" "+b);
vertices.addElement(new newPoint(a, b));
}
calc = new SectorEngine();
JabaResults jres = new JabaResults();
saturationSects = calc.Calc2D(vertices, stationNames, classNames);
jres.setSaturationSectors(saturationSects);
v = new Vector<Point2D>();
for (int k = 0; k < stationNames.length; k++) {
v.add(new DPoint(serviceTimes[k][0][0],
serviceTimes[k][1][0], stationNames[k]));
}
convexEngine = new EngineConvex2D(v, saturationSects);
jres.setConvex(convexEngine.getConvex());
jres.setAllConvex(convexEngine.getAllConvex());
jres.setAllDominants(convexEngine.getAllDominants());
jres.setDominants(convexEngine.getDominants());
jres.setFiltDominats(convexEngine.getFiltDominants());
jres.setFiltConvex(convexEngine.getFiltConvex());
jres.setFiltDominates(convexEngine.getFiltDominates());
jres.setPoints(convexEngine.getPoints());
jres.setDominates(convexEngine.getDominates());
jres.setFilteredArea(convexEngine.getFilteredArea());
jres.setAllPoints(convexEngine.getAllPoints());
PerformanceEngine performanceEngine = new PerformanceEngine(serviceTimes, saturationSects, stationNames);
jres.setUtilization(performanceEngine.getUtilization());
//jres.setEquiUtilizationPoint(calc.calcEquiUtilizationPoint(vertices));
/*
// Per la visualizzazione
ViewResults vres = new ViewResults();