Skip to content

faq 109164209

Billy Charlton edited this page Sep 5, 2018 · 2 revisions

When to use TimeAllocationMutator_ReRoute

by Sashi Gurram on 2017-04-30 15:40:35


I saw that there is a strategy named TimeAllocationMutator_ReRoute in addition to TimeAllocationMutator and ReRoute. What does this do different compared to the 2 individual strategies. Can you please describe the cases where it might be better to use this combined strategy in place of either or both of the individual strategies?


Comments: 1


Re: When to use TimeAllocationMutator_ReRoute

by Dominik Ziemke on 2017-04-30 18:32:29

When you use the strategy TimeAllocationMutator_ReRoute, an agent who is selected to apply it changes departure time and re-routes "in one go", i.e. he always has to select a new route when he adapts his activity end times. Using the two individual strategies TimeAllocationMutator and ReRoute, by contrast, the agent can only use them in different iterations, i.e. only select either a new route or adjust activty end times in any given iteration.

In particular, it makes sense to use the combined strategy TimeAllocationMutator_ReRoute in a public transport context, where a previously selected route/connection would not be available at all after changing the departure time. If you force the agent to re-route always at the same time, you avoid that situation.

Clone this wiki locally