Routify Documentation
Loading...
Searching...
No Matches
ch.routify.routing.operations.BaseWeightsOperation Class Reference
Inheritance diagram for ch.routify.routing.operations.BaseWeightsOperation:
[legend]
Collaboration diagram for ch.routify.routing.operations.BaseWeightsOperation:
[legend]

Public Member Functions

HashMap< CustomEdge, Double > apply (WeightOperationContext context, HashMap< CustomEdge, Double > current)
 

Detailed Description

Initializes the pipeline with a fresh copy of the precomputed base weights.

Member Function Documentation

◆ apply()

HashMap< CustomEdge, Double > ch.routify.routing.operations.BaseWeightsOperation.apply ( WeightOperationContext context,
HashMap< CustomEdge, Double > current )
inline

Applies the operation to the current weight map and returns the updated weights.

Parameters
contextshared input data for the pipeline execution
currentcurrent weight map (null for the first operation)
Returns
updated weights (never null)

Implements ch.routify.routing.operations.WeightOperation.


The documentation for this class was generated from the following file: