Package org.opentripplanner.profile

Examples of org.opentripplanner.profile.ProfileRequest


        makeSampleGrid(spt);
    }

    /** Make a max or min timesurface from propagated times in a ProfileRouter. */
    public TimeSurface (ProfileRouter profileRouter, boolean maxNotMin) {
        ProfileRequest req = profileRouter.request;
        lon = req.from.lon;
        lat = req.from.lat;
        id = makeUniqueId();
        dateTime = req.fromTime; // FIXME
        routerId = profileRouter.graph.routerId;
View Full Code Here


        QueryParameter.checkRangeInclusive(maxCarTime,  1, 480);
        QueryParameter.checkRangeInclusive(minBikeTime, 0, maxBikeTime);
        QueryParameter.checkRangeInclusive(minCarTime,  0, maxCarTime);
        QueryParameter.checkRangeInclusive(suboptimalMinutes, 0, 30);

        ProfileRequest req = new ProfileRequest();
        req.from         = from;
        req.to           = to;
        req.fromTime     = fromTime.toSeconds();
        req.toTime       = toTime.toSeconds();
        req.walkSpeed    = walkSpeed;
View Full Code Here

TOP

Related Classes of org.opentripplanner.profile.ProfileRequest

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.