I'm designing some Android project that will need to set routes based on several informations. So the user should be enabled to choose how does he want his routes to be calculated, for example by traffic speed, quality of air, ... Now I did take a look at Graphhopper, and I noticed that it is possible to set weights on "streets" like weight of edges in Graphhopper MatrixAPI, but some things made me be confused.
If user enters starting point, and end point, how should app select which streets should it include in matrix calculation?
Also, lets say that my informations (air quality, ...) will be updated dynamicly, how can I update matrix?
Not much about Graphhopper API on StackOverflow.
I will appreciate any kind help.