It’s great that we have been able to extract the Router logic from GraphHopper.java. I just wanted to modify something for a custom project. Unfortunately, it seems that it’s not possible to easily modify the new RouterClass.
With PR #1923, we created a nice option to customize the RoutingTemplates. This doesn’t work anymore with the new Router. (Also the RoutingTemplates got pretty much impossible to extend since everything is static , but that’s a different topic).
One thing that could be nice would be to create 3 protected functions within the Router.java. One for each routing option so to speak:
WDYT? Does this make sense? This could reduce bigger copying efforts .