Menu

Code Commit Log


Commit Date  
[r287] by mrieser

The PlanStrategy now ensures that if an unscored plan is selected whenever the agent has such one.

2007-12-28 15:55:53 Tree
[r286] by mrieser

added method getRandomUnscoredPlan()

2007-12-28 15:54:24 Tree
[r285] by mrieser

moved hasUndefinedScore() and isUndefinedScore() from Plan to BasicPlan, as UNDEFINED_SCORE is defined in BasicPlan.

2007-12-28 15:51:18 Tree
[r284] by mrieser

removed, as it was nowhere used, and does basically the same thing as org.matsim.plans.algorithms.PersonFilterSelectedPlan.

2007-12-27 18:38:19 Tree
[r283] by mrieser

- renamed MGC.Coordinate2Coord() to MGC.coordinate2Coord() to be consistent with the other methods as well as with the Naming Conventions.
- fixed several JavaDoc errors
- simplified MGC.coord2Point()

2007-12-27 10:35:18 Tree
[r282] by mrieser

delete an empty package.

2007-12-26 13:20:39 Tree
[r281] by mrieser

moved org.matsim.filters.* to playground.marcel.filters.*

2007-12-26 13:18:46 Tree
[r280] by mrieser

RoadPricingScoringFunction no longer extends CharyparNagelScoringFunction, but takes another ScoringFunction as Delegate. This allows the RoadPricingScoringFunction to be used with any ScoringFunction, not just the CharyparNagelScoringFunction. This required changes to RoadPricingScoringFunctionFactory and all places, where this class was instantiated.
CharyparNagelScoringFunction no longer writes the score into the plan in finish(), because that would have meant that every ScoringFunction would have to do this... instead, EventsToScore does this now, so that is a general solution that works for any ScoringFunction. Improved JavaDoc in ScoringFunction.java to make this clear.

2007-12-26 12:54:47 Tree
[r279] by mrieser

extended the test cases:
- new test the constructor and getMin/MaxNorthing/Easting.
- new test get(area, collection)
- new test clear()
- new test execute()
- improved test for values(), test if we really get an UnsupportedOperationException on values().iterater().remove().
- improved test for serialization

2007-12-26 12:48:56 Tree
[r278] by mrieser

Changes and Bugfixes to QuadTree:
- clear() now resets size to 0, sets hasChilds to false, increases modCount by 1
- added method get(double minX, double minY, double maxX, double maxY, Collection<T> values) to get all elements within the specified area.
- added methods get{Min,Max}{Easting,Northing}() to get the extend specified in the constructor.
- made QuadTree.Executor a static inner class, which requires thus again the Generic T (--> influence on other classes using the Executor)
- javadoc improvements

2007-12-26 12:45:57 Tree
Older >