Menu

Code Commit Log


Commit Date  
[r12293] by vsp_nagel

I tried to make the "PositionInfo" mechanics configurable ...

... since I wanted to be able to switch on/off an adaptive way to compute the orthogonal offset (for driving "on the right"). (*)

I did this by pulling apart the pure data class, and the construction mechanism which converts graph coordinates (link,distance) to Euclidean coordinates (x,y).  The construction mechanism is now called "AgentSnapshotInfoFactory"; "PositionInfo" is now the default implementation of "AgentSnapshotInfo".  The factory has static methods that do the past (non-configurable) behavior; and it is meant to also be instantiable (and thus configurable in a non-static way).

In the end, I ended up making (*) the non-configurable default behavior, so I did not go to the end with making the AgentSnapshotInfoFactory configurable.  But the mechanics is now there. Since I think it is useful, I leave it in place.

===

In the process, I made Gregors PositionInfo a separate implementation of AgentSnapshotInfo rather than something inherited. It essentially already was a separate implementation anyways.

===

I also exchanged the sequence of the otfvis tests, since the QSim_MVI test depended on the LiveVis test.

Also made those tests use the "queue" instead of the "equiDist" method, since I think it gives more information.

2010-08-09 20:42:15 Tree
[r12292] by vsp_nagel

did not compile so I commented out the offending line

2010-08-09 20:21:55 Tree
[r12291] by michaz

Removed double mvi mode (sorry). Cleaned up repainting in swing mode.

2010-08-09 16:26:10 Tree
[r12290] by tnicolai79

- Small modifications on MATSim4UrbanSim regarding OPUS_HOME path. Adjusted Constants class.

2010-08-09 16:06:14 Tree
[r12289] by rashid_waraich
2010-08-09 15:56:23 Tree
[r12288] by michaz

Removed double mvi mode (sorry). Cleaned up repainting in swing mode.

2010-08-09 15:52:47 Tree
[r12287] by komeiste

Moved several score comparisons to precision of MatsimtestCase.EPSILON, as there seem to be differences in double precision calculations between different Java versions (compare r8400).

2010-08-09 15:36:34 Tree
[r12286] by vsp_neumann

rev1

2010-08-09 14:55:42 Tree
[r12285] by rashid_waraich
2010-08-09 14:28:45 Tree
[r12284] by michaz

More OSM conversion.

2010-08-09 13:55:53 Tree
Older >
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.