Examples of HopSpeedFast


Examples of org.opentripplanner.graph_builder.annotation.HopSpeedFast

//                st1.clearDepartureTime();
                st1bogus = true;
            } else if (hopSpeed > 45) {
                // 45 m/sec ~= 100 miles/hr
                // elapsed time of 0 will give speed of +inf
                LOG.trace(graph.addBuilderAnnotation(new HopSpeedFast((float) hopSpeed,
                        (float) hopDistance, st0.getTrip(), st0.getStopSequence())));
            } else if (hopSpeed < 0.1) {
                // 0.1 m/sec ~= 0.2 miles/hr
                LOG.trace(graph.addBuilderAnnotation(new HopSpeedSlow((float) hopSpeed,
                        (float) hopDistance, st0.getTrip(), st0.getStopSequence())));
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.