Menu

Commit [r18485]  Maximize  Restore  History

Intermediate commit in the attempt to pull the agent counters back into the QSim:

Made the "agent abort" logic in the QSim now also throw and AgentStuck event.

This may, in the current version cause double stuck events in some situations.

It also means that TransitDrivers now throw such events ... since they abort in the middle of the simulation and not at its end.

---

Also moved the abort() method from DriverAgent to MobsimAgent. This caused one dummy implementation in gregor's playground.

vsp_nagel 2012-02-18

changed /matsim/trunk/src/main/java/org/matsim/core/mobsim/framework/DriverAgent.java
changed /matsim/trunk/src/main/java/org/matsim/core/mobsim/framework/MobsimAgent.java
changed /matsim/trunk/src/main/java/org/matsim/ptproject/qsim/QSim.java
changed /matsim/trunk/src/test/java/org/matsim/pt/qsim/TransitQueueSimulationTest.java
/matsim/trunk/src/main/java/org/matsim/core/mobsim/framework/DriverAgent.java Diff Switch to side-by-side view
Loading...
/matsim/trunk/src/main/java/org/matsim/core/mobsim/framework/MobsimAgent.java Diff Switch to side-by-side view
Loading...
/matsim/trunk/src/main/java/org/matsim/ptproject/qsim/QSim.java Diff Switch to side-by-side view
Loading...
/matsim/trunk/src/test/java/org/matsim/pt/qsim/TransitQueueSimulationTest.java Diff Switch to side-by-side view
Loading...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.