Menu

Commit [r27562]  Maximize  Restore  History

Comment in AgentFilter Interface to clarify that the outcome of applyAgentFilter(...) should only depend on a single agent and not on the number of agents handled before (e.g. if random numbers are drawn, the random number generator should be re-initialized for each agent).

Fixed ProbabilityFilter to fulfill this requirement.

skull5 2014-01-23

changed /matsim/trunk/src/main/java/org/matsim/withinday/replanning/identifiers/filter/ProbabilityFilter.java
changed /matsim/trunk/src/main/java/org/matsim/withinday/replanning/identifiers/interfaces/AgentFilter.java
/matsim/trunk/src/main/java/org/matsim/withinday/replanning/identifiers/filter/ProbabilityFilter.java Diff Switch to side-by-side view
Loading...
/matsim/trunk/src/main/java/org/matsim/withinday/replanning/identifiers/interfaces/AgentFilter.java Diff Switch to side-by-side view
Loading...
MongoDB Logo MongoDB