It's important what type of graph you create / use.
With contraction hierarchies on or off and what vehicles you have put in it.
If graph is with contraction hierarchies then you cannot change those
settings on demand.
If graph is without contraction hierarchies, then you can use:
GHRequest.setWeighting "fastest" or "shortest"
GHRequest.setVehicle(EncodingManager)
--
Emux
Cruiser <http://wiki.openstreetmap.org/wiki/Cruiser> - Atlas
<http://wiki.openstreetmap.org/wiki/Atlas_%28navigation_application%29>
_______________________________________________
GraphHopper mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/graphhopper