.withResolution(m.getClientArea().width, m.getClientArea().height) .withDisplay(display);
.withResolution(m.getClientArea().width, m.getClientArea().height) .withDisplay(display);
.with(RoutePanel.builder().withPositionLeft()) .with(StatsPanel.builder()) .withResolution((int) RESOLUTION.x, (int) RESOLUTION.y) .withAutoPlay() .withAutoClose()
.with(RoutePanel.builder().withPositionLeft()) .with(StatsPanel.builder()) .withResolution((int) RESOLUTION.x, (int) RESOLUTION.y) .withAutoPlay() .withAutoClose()
view = view.withMonitor(m) .withSpeedUp(SPEED_UP) .withResolution(m.getClientArea().width, m.getClientArea().height) .withDisplay(display) .withCallback(list)
view = view.withMonitor(m) .withSpeedUp(SPEED_UP) .withResolution(m.getClientArea().width, m.getClientArea().height) .withDisplay(display) .withCallback(list)
static StatisticsDTO simulate(Scenario scenario) { final ExperimentResults results = Experiment.builder() .addScenario(scenario) .addConfiguration(Central.solverConfiguration( StochasticSuppliers.constant(TestSolvers.lazyInsertion()))) .withThreads(1) .usePostProcessor(PostProcessors.statisticsPostProcessor(OBJ_FUNC)) .showGui(View.builder() .withAutoPlay() // .withAutoClose() .withSpeedUp(4) // .withFullScreen() .withTitleAppendix("AAMAS 2016 Experiment") .with(RoadUserRenderer.builder() .withToStringLabel()) .with(PDPModelRenderer.builder()) .with(RouteRenderer.builder()) .with(PlaneRoadModelRenderer.builder()) .with(TimeLinePanel.builder()) .withResolution(1280, 1024)) .showGui(false) .perform(); final SimulationResult res = results.getResults().iterator().next(); final StatisticsDTO stats = (StatisticsDTO) res.getResultObject(); return stats; }