Skip to content

Passing multiple costing modes to the /centroid endpoint #4621

Discussion options

You must be logged in to vote

interesting question. sadly no, that feature currently doesnt exist and implementing it is unfortunately non trivial. the reason for that is two fold:

  1. the way the expansion is done search paths can and do collapse into a single path to be expanded in the queue. the problem with different costing models is that the algorithm could no longer work this way because different costings will create different sort costs and thus need their own queues. the queues only really work if the things in them are measured in the same "units". anyway we could have a different queue for each costing model but this would be both mega inefficient and horrible to maintain
  2. different costings, as i mentioned ab…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by LennartKoepper
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants