21 package org.matsim.core.mobsim.qsim.qnetsimengine;
23 import java.util.concurrent.Callable;
35 private volatile boolean simulationRunning =
true;
36 private boolean movingNodes;
38 QNetsimEngineRunnerForThreadpool() {
42 public Boolean call() {
43 if (!this.simulationRunning) {
44 Gbl.printCurrentThreadCpuTime();
48 if (this.movingNodes) {
56 public final void afterSim() {
57 this.simulationRunning =
false;
60 public final void setMovingNodes(
boolean movingNodes) {
61 this.movingNodes = movingNodes;