Uses of Class
rgu.transport.geospatial.multimodal.TransitNetwork
Packages that use TransitNetwork
Package
Description
Multimodal geospatial data such as public transport networks.
Transport modelling utility classes.
-
Uses of TransitNetwork in rgu.transport.geospatial.multimodal
Methods in rgu.transport.geospatial.multimodal that return TransitNetworkModifier and TypeMethodDescriptionTransitNetwork.Builder.build()static 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.static final TransitNetworkTransitNetwork.read(ObjectInputStream in) static final TransitNetworkTransitNetwork.read(ObjectInputStream in, BiConsumer<GeoLocation, GeoLocation> consumer, BiConsumer<GeoLocation, GeoLocation> consumerArtificial) static final TransitNetworkTransitNetwork.read(ObjectInputStream in, Predicate<GeoLocation> spatialFilter, BiConsumer<GeoLocation, GeoLocation> consumer, BiConsumer<GeoLocation, GeoLocation> consumerArtificial) Methods in rgu.transport.geospatial.multimodal with parameters of type TransitNetworkModifier 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.Method parameters in rgu.transport.geospatial.multimodal with type arguments of type TransitNetworkModifier and TypeMethodDescriptionstatic TransitNetwork.BuilderTransitNetwork.copyAll(Collection<TransitNetwork> networks, BiConsumer<GeoLocation, GeoLocation> edgeConsumer) Creates a builder by copying the contents of a collection of transit networks.voidNetworkJoiner.run(BiConsumer<GeoLocation, GeoLocation> consumer, BiConsumer<GeoLocation, GeoLocation> consumerArtificial, ProgressListener progress, Consumer<TransitNetwork> callback) Runs the joiner to produce a joined network.Constructor parameters in rgu.transport.geospatial.multimodal with type arguments of type TransitNetworkModifierConstructorDescriptionNetworkJoiner(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 TransitNetwork in rgu.transport.util
Methods in rgu.transport.util that return TransitNetworkModifier and TypeMethodDescriptionstatic TransitNetworkDataIO.readNetwork(File file) Reads a transit network from the specified file.static TransitNetworkDataIO.readNetwork(File file, BiConsumer<GeoLocation, GeoLocation> edgeConsumer, BiConsumer<GeoLocation, GeoLocation> edgeConsumerArtificial) Reads a transit network from the specified file, with optional consumers for edges.static TransitNetworkDataIO.readNetwork(File file, Predicate<GeoLocation> spatialFilter, BiConsumer<GeoLocation, GeoLocation> edgeConsumer, BiConsumer<GeoLocation, GeoLocation> edgeConsumerArtificial) Reads a transit network from the specified file, with optional consumers for edges and spatial filter.Methods in rgu.transport.util with parameters of type TransitNetworkModifier and TypeMethodDescriptionstatic voidDataIO.writeNetwork(File file, TransitNetwork network) Writes the given network to the specified file.Method parameters in rgu.transport.util with type arguments of type TransitNetworkModifier and TypeMethodDescriptionstatic Set<GeoLocation> GeoLocations.allLocations(Collection<TransitNetwork> networks)