Examples of banTrip()


Examples of org.opentripplanner.routing.core.RoutingRequest.banTrip()

                    // ban the trips in this path
                    // unless is is a non-transit trip (in which case this would cause a useless retry)
                    if ( ! path.getTrips().isEmpty()) {
                        RoutingRequest newOptions = currOptions.clone();
                        for (AgencyAndId trip : path.getTrips()) {
                            newOptions.banTrip(trip);
                        }
                        if (!optionQueue.contains(newOptions)) {
                            optionQueue.add(newOptions);
                        }
                    }          
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.