Uses of Record Class
rgu.transport.algorithms.collections.Graph.Edge
Packages that use Graph.Edge
Package
Description
Contains data structures used by algorithms.
Implementation of OpenStreetMap (OSM) data loading.
-
Uses of Graph.Edge in rgu.transport.algorithms.collections
Methods in rgu.transport.algorithms.collections that return types with arguments of type Graph.EdgeModifier and TypeMethodDescriptiondefault List<Graph.Edge<V, E>> Graph.structuralAsymmetries()Returns a list of edges which do no make corresponding reverse edges.Method parameters in rgu.transport.algorithms.collections with type arguments of type Graph.EdgeModifier and TypeMethodDescriptionGraph.applyToEdges(Function<Graph.Edge<V, E>, E> edgeMap) Returns a graph which is equal to this graph but with the specified transformation applied to all edges.HashGraph.applyToEdges(Function<Graph.Edge<V, E>, E> edgeMap) Returns a graph which is equal to this graph but with the specified transformation applied to all edges.Graph.deleteEdges(Predicate<Graph.Edge<V, E>> delete) Returns a graph which is equal to this graph but without the edges matching the specified predicate.default voidGraph.forEachEdge(Consumer<Graph.Edge<V, E>> consumer) Iterates over edges, calling the given callback function for each edge in the graph.voidHashGraph.forEachEdge(Consumer<Graph.Edge<V, E>> consumer) Iterates over edges, calling the given callback function for each edge in the graph.Graph.preserveEdges(Predicate<Graph.Edge<V, E>> preserve) Returns a graph which is equal to this graph but with only the edges matching the specified predicate.Graph.toSymmetricStructure(Function<Graph.Edge<V, E>, E> edgeMap) Returns a graph which is equal to this graph but symmetric.HashGraph.toSymmetricStructure(Function<Graph.Edge<V, E>, E> edgeMap) Returns a graph which is equal to this graph but symmetric. -
Uses of Graph.Edge in rgu.transport.geospatial.osm
Methods in rgu.transport.geospatial.osm that return types with arguments of type Graph.EdgeModifier and TypeMethodDescriptionstatic Predicate<Graph.Edge<GeoLocation, RoadEdge>> RoadEdge.containsBothEndPoints(Predicate<GeoLocation> filter) A predicate which is true if both end points of a graph edge match the given predicate.static Predicate<Graph.Edge<GeoLocation, RoadEdge>> RoadEdge.containsEitherEndPoint(Predicate<GeoLocation> filter) A predicate which is true if either end point of a graph edge matches the given predicate.static Predicate<Graph.Edge<GeoLocation, RoadEdge>> RoadEdge.hasDefinedSpeed()A predicate which is true if the edge has a defined speed, whether positive or zero.static Predicate<Graph.Edge<GeoLocation, RoadEdge>> RoadEdge.hasUndefinedSpeed()A predicate which is true if the edge has a undefined speed.static Predicate<Graph.Edge<GeoLocation, RoadEdge>> RoadEdge.hasZeroSpeed()A predicate which is true if the edge has a defined speed, and the speed value is 0 m/s.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.speedMultiplier(Predicate<Graph.Edge<GeoLocation, RoadEdge>> filter, double multiplicationFactor) A function which multiplies the speed limit by a given amount.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.Method parameters in rgu.transport.geospatial.osm with type arguments of type Graph.EdgeModifier and TypeMethodDescriptionstatic 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.speedMultiplier(Predicate<Graph.Edge<GeoLocation, RoadEdge>> filter, double multiplicationFactor) A function which multiplies the speed limit by a given amount.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.