Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MOTIS: Implement support for mode filtering #46

Closed
jbruechert opened this issue Feb 26, 2024 · 6 comments
Closed

MOTIS: Implement support for mode filtering #46

jbruechert opened this issue Feb 26, 2024 · 6 comments
Labels
enhancement New feature or request motis changes to the MOTIS routing engine are necessary

Comments

@jbruechert
Copy link
Collaborator

The Norway dataset contains flights, which make it impossible to find train connections there because they are always faster.

We need to be able to filter those out.

@derhuerst
Copy link
Member

Personally, I wouldn't necessarily want to filter those out, but rather expand the set of Pareto criteria so that they appear alongside train/bus connections, with all their trade-offs.

@jbruechert
Copy link
Collaborator Author

Depending on what is more realistic, that is of course fine as well.
But I think having filtering is good nevertheless, for use cases like local tickets, interrail etc.

@felixguendling
Copy link
Contributor

My guess: performance is better if you just start two separate searches, one with flights allowed, one with flights not allowed and then merge them to become one Pareto-set. Different approach, same results, better performance for the user (and no significant changes to the actual routing algorithm).

@felixguendling
Copy link
Contributor

Implemented here:

motis-project/motis#453
https://github.com/motis-project/motis/releases/tag/v0.11.21

My guess is that you can produce long running queries by enabling only local bus usage and routing through Europe.

@jbruechert
Copy link
Collaborator Author

Thank you, that was really fast!

@derhuerst derhuerst added enhancement New feature or request motis changes to the MOTIS routing engine are necessary labels Mar 19, 2024
@felixguendling
Copy link
Contributor

I guess this can be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request motis changes to the MOTIS routing engine are necessary
Development

No branches or pull requests

3 participants