Uses of Class
rgu.transport.geospatial.Speed
Packages that use Speed
Package
Description
Geospatial data.
Multimodal geospatial data such as public transport networks.
Implementation of OpenStreetMap (OSM) data loading.
Transport modelling utility classes.
-
Uses of Speed in rgu.transport.geospatial
Classes in rgu.transport.geospatial that implement interfaces with type arguments of type SpeedFields in rgu.transport.geospatial declared as SpeedMethods in rgu.transport.geospatial that return SpeedModifier and TypeMethodDescriptionstatic SpeedSpeed.ofKilometersPerHour(double kilometersPerHour) Returns an instance of Speed for the specified kilometers per hour.static SpeedSpeed.ofMetersPerSecond(double metersPerSecond) Returns an instance of Speed for the specified meters per second.static SpeedSpeed.ofMilesPerHour(double milesPerHour) Returns an instance of Speed for the specified miles peer hour.static SpeedSpeed.read(ObjectInputStream in) Reads the speed value from the specified input stream.Methods in rgu.transport.geospatial with parameters of type Speed -
Uses of Speed in rgu.transport.geospatial.multimodal
Fields in rgu.transport.geospatial.multimodal declared as SpeedModifier and TypeFieldDescriptionstatic final SpeedTransitNetwork.DEFAULT_CAR_SPEEDstatic final SpeedTransitNetwork.DEFAULT_WALK_SPEEDMethods in rgu.transport.geospatial.multimodal with parameters of type SpeedModifier and TypeMethodDescriptionstatic TransitNetworkNetworkAndRoadJoiner.join(TransitNetwork transitNetwork, Graph<GeoLocation, RoadEdge> roadGraph, Speed drivingSpeed, Speed walkingSpeed, Distance maxDistanceToNearbyRoad, BiConsumer<GeoLocation, GeoLocation> consumerRoadEdge, BiConsumer<GeoLocation, GeoLocation> consumerTransitEdge, BiConsumer<GeoLocation, GeoLocation> consumerArtificialEdge, ProgressListener progress) Joins a transit network to a road network.voidTransitNetwork.Builder.setCarSpeed(Speed carSpeed) Sets the driving speed.voidTransitNetwork.Builder.setWalkSpeed(Speed walkSpeed) Sets the walking speed.Constructors in rgu.transport.geospatial.multimodal with parameters of type SpeedModifierConstructorDescriptionNetworkJoiner(Graph<GeoLocation, RoadEdge> roadGraph, TwoDTree<GeoLocation> tree, Collection<TransitNetwork> networks, Speed speed, Duration maxTime, Distance maxDistanceToNearbyRoad) Creates a joiner which will connect multiple transit networks to one another. -
Uses of Speed in rgu.transport.geospatial.osm
Fields in rgu.transport.geospatial.osm with type parameters of type SpeedModifier and TypeFieldDescriptionstatic final BiPredicate<Speed, Map<String, String>> NoSpeedOSMBuilder.HAS_SPEEDstatic final BiPredicate<Speed, Map<String, String>> SimpleOSMBuilder.HAS_SPEEDstatic final BiPredicate<Speed, Map<String, String>> NoSpeedOSMBuilder.IS_HIGHWAYstatic final BiPredicate<Speed, Map<String, String>> SimpleOSMBuilder.IS_HIGHWAYstatic final BiPredicate<Speed, Map<String, String>> NoSpeedOSMBuilder.IS_HIGHWAY_AND_HAS_SPEEDstatic final BiPredicate<Speed, Map<String, String>> SimpleOSMBuilder.IS_HIGHWAY_AND_HAS_SPEEDstatic final BiPredicate<Speed, Map<String, String>> NoSpeedOSMBuilder.IS_HIGHWAY_OR_HAS_SPEEDstatic final BiPredicate<Speed, Map<String, String>> SimpleOSMBuilder.IS_HIGHWAY_OR_HAS_SPEEDMethods in rgu.transport.geospatial.osm that return SpeedMethods in rgu.transport.geospatial.osm with parameters of type SpeedModifier and TypeMethodDescriptionstatic Graph<GeoLocation, Duration> DurationAdapter.adapt(Graph<GeoLocation, RoadEdge> graph, Speed speed) Adapts the specified graph using the specified fixed speed.static Function<Graph.Edge<GeoLocation, RoadEdge>, RoadEdge> RoadEdge.speedDefault(Predicate<Graph.Edge<GeoLocation, RoadEdge>> filter, Speed defaultSpeed) A function which applies a default speed to edges with undefined speed.static Function<Graph.Edge<GeoLocation, RoadEdge>, RoadEdge> RoadEdge.speedReplacement(Predicate<Graph.Edge<GeoLocation, RoadEdge>> filter, Speed newSpeed) A function which replaces the speed limit by a given amount.Constructors in rgu.transport.geospatial.osm with parameters of type SpeedModifierConstructorDescriptionSimpleOSMBuilder(Speed maxSpeed, BiPredicate<Speed, Map<String, String>> edgeFilter, Predicate<GeoLocation> vertexFilter) SimpleOSMBuilder(Speed maxSpeed, BiPredicate<Speed, Map<String, String>> edgeFilter, Predicate<GeoLocation> vertexFilter, OSMProgressListener progress) Constructor parameters in rgu.transport.geospatial.osm with type arguments of type SpeedModifierConstructorDescriptionNoSpeedOSMBuilder(BiPredicate<Speed, Map<String, String>> edgeFilter, BiConsumer<GeoLocation, GeoLocation> drawLine) NoSpeedOSMBuilder(BiPredicate<Speed, Map<String, String>> edgeFilter, BiConsumer<GeoLocation, GeoLocation> drawLine, OSMProgressListener progress) NoSpeedOSMBuilder(BiPredicate<Speed, Map<String, String>> edgeFilter, Predicate<GeoLocation> vertexFilter, BiConsumer<GeoLocation, GeoLocation> drawLine) NoSpeedOSMBuilder(BiPredicate<Speed, Map<String, String>> edgeFilter, Predicate<GeoLocation> vertexFilter, BiConsumer<GeoLocation, GeoLocation> drawLine, OSMProgressListener progress) SimpleOSMBuilder(Speed maxSpeed, BiPredicate<Speed, Map<String, String>> edgeFilter, Predicate<GeoLocation> vertexFilter) SimpleOSMBuilder(Speed maxSpeed, BiPredicate<Speed, Map<String, String>> edgeFilter, Predicate<GeoLocation> vertexFilter, OSMProgressListener progress) -
Uses of Speed in rgu.transport.util
Methods in rgu.transport.util with parameters of type SpeedModifier and TypeMethodDescriptionvoidPercentSpeedCap.add(String name, Predicate<GeoLocation> predicate, Speed maximum) Adds a predicate with a speed cap.