Package org.opentripplanner.routing.edgetype

Examples of org.opentripplanner.routing.edgetype.StreetBikeRentalLink


        LinkRequest request = new LinkRequest(this);
        request.connectVertexToStreets(v, new TraverseModeSet(TraverseMode.WALK,
                TraverseMode.BICYCLE), new LinkRequest.StreetLinkFactory<BikeRentalStationVertex>() {
            @Override
            public Collection<? extends Edge> connect(StreetVertex sv, BikeRentalStationVertex v) {
                return Arrays.asList(new StreetBikeRentalLink(sv, v), new StreetBikeRentalLink(v,
                        sv));
            }
        });
        return request;
    }
View Full Code Here

TOP

Related Classes of org.opentripplanner.routing.edgetype.StreetBikeRentalLink

Copyright © 2018 www.massapicom. 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.