Menu

Code Commit Log


Commit Date  
[r7436] by vsp_nagel

(1)
// for (Link link : ((NetworkRoute) leg.getRoute()).getLinks()) {
/* I regularly got an exception with the above line:
* Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException: org.matsim.core.population.routes.GenericRouteImpl
* at org.matsim.vis.otfvis.opengl.queries.QuerySpinne.collectLinksFromTrip(QuerySpinne.java:XXX)
* ...
* I assume that it comes from the fact that some routes are not network routes (but, say, pt routes).
* So I included an "instanceof NetworkRoute" before the cast at two places (maybe there are more).

(2) replaced "i%2" by "instanceof Leg/Act" at one place (probably there are more).

(3) replaced "trip only" by "leg only" since that was what it was really doing.

2009-06-16 05:58:04 Tree
[r7435] by grether

added otfvis to comment explaining snapshot formats

2009-06-15 14:49:35 Tree
[r7434] by grether

updated location of KnowledgeTest according to refactoring of knowledge

2009-06-15 14:47:54 Tree
[r7433] by grether

moved knowledge code to knowledges package

2009-06-15 14:42:38 Tree
[r7432] by grether

removed knowledge from person/population:

Knowledge has now an own container called Knowledges in the package org.matsim.knowledge.*. This container class is used to store all Knowledge instances for all persons in a Map. A single Knowledge instance can be retrieved using the Id of the person.
Currently the Knowledges instance is attached to ScenarioImpl but this might change, further cleanup is needed after a discussion in the Wednesday vsp software meeting. Access to the Knowledges instance used in the Controler can currently be retrieved by a call of the deprecated method Controler.getScenarioData() and casting the Scenario to a ScenarioImpl. Don't worry about the deprecation of this method, this will be resolved.

2009-06-15 14:36:52 Tree
[r7431] by mrieser

removed one constructor in TravelTimeCalculator that allowed the specification of the traveltimeBinSize twice with different values (directly as param, and also within the passed configuration object).

2009-06-15 13:35:13 Tree
[r7430] by laemmel

bugfix buffer size

2009-06-15 13:22:46 Tree
[r7429] by skull5

Made the simEngine (QueueSimEngine) in the QueueSimulation protected so it can be used in inheriting classes.

2009-06-15 11:29:07 Tree
[r7428] by balmermi

bug fix

2009-06-15 09:19:41 Tree
[r7427] by laemmel
2009-06-15 09:11:00 Tree
Older >