|
Routify Documentation
|
Public Member Functions | |
| HashMap< CustomEdge, Double > | apply (WeightOperationContext context, HashMap< CustomEdge, Double > current) |
Contract for all weight operations that can be composed to build routing weight pipelines.
| HashMap< CustomEdge, Double > ch.routify.routing.operations.WeightOperation.apply | ( | WeightOperationContext | context, |
| HashMap< CustomEdge, Double > | current ) |
Applies the operation to the current weight map and returns the updated weights.
| context | shared input data for the pipeline execution |
| current | current weight map (null for the first operation) |
Implemented in ch.routify.routing.operations.AirOperation, ch.routify.routing.operations.BaseWeightsOperation, ch.routify.routing.operations.FilterDisallowedOperation, ch.routify.routing.operations.GreenIndexOperation, ch.routify.routing.operations.NoiseOperation, and ch.routify.routing.operations.SlopeOperation.