public class OtpsRouter extends Object
# Get the default router defRouter = otp.getRouter() # Get the router of ID 'paris' parisRouter = otp.getRouter('paris')
Constructor and Description |
---|
OtpsRouter(Router router) |
Modifier and Type | Method and Description |
---|---|
OtpsSPT |
plan(OtpsRoutingRequest req)
Plan a route on the router given the various options.
|
public OtpsRouter(Router router)
public OtpsSPT plan(OtpsRoutingRequest req)
req
- The routing request options (date/time, modes, etc...)Copyright © 2019. All rights reserved.