You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the MainRunCarrierScheduler, the tour is constructed manually.
Currently, it is only a one Way trip from the previous Hub (Depot) to the next one.
This is okay for long distance, but probably wrong for urban contexts.
See also the comment in the code, where the last leg is created (manually)
The implemented approach does not work to 100% as it should.
switch works
Vehicle returns to the start location - if this option is set -> link enter/leave events are there :)
BUT:
Logging of unloading (and handling in the hub) are now too late :(
Reason: This is executed by an FreightTourEnds event. Unfortunately this is thrown when the vehicle has returned to its origin and not, when leaving after unloading all goods.
Solution tried: Adding another sequence of Start / Leg / End to the tour. But this does not work, because each tour must have exactly one start and one end activity. And this here is violating that rule.
In the
MainRunCarrierScheduler
, the tour is constructed manually.Currently, it is only a one Way trip from the previous Hub (Depot) to the next one.
This is okay for long distance, but probably wrong for urban contexts.
See also the comment in the code, where the last leg is created (manually)
logistics/src/main/java/lsp/usecase/MainRunCarrierScheduler.java
Lines 137 to 142 in f5073f0
The text was updated successfully, but these errors were encountered: