Menu

Commit [r32889]  Maximize  Restore  History

fail if adding twice the same strategy to the same subpopulation

Had some unexpected behavior because of that in Zurich, where one of our
scenarios had some strategies defined twice, to have more complex weight
evolution from the config file. This used to work, as the factory was
called each time, and thus a new instance was passed for each setting.

thibautd 2015-04-29

changed /matsim/trunk/src/main/java/org/matsim/core/replanning/GenericStrategyManager.java
changed /matsim/trunk/src/test/java/org/matsim/core/replanning/StrategyManagerTest.java
/matsim/trunk/src/main/java/org/matsim/core/replanning/GenericStrategyManager.java Diff Switch to side-by-side view
Loading...
/matsim/trunk/src/test/java/org/matsim/core/replanning/StrategyManagerTest.java Diff Switch to side-by-side view
Loading...
MongoDB Logo MongoDB