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

Public Member Functions

 NoiseOperation (Map< String, Object > params)
 
HashMap< CustomEdge, Double > apply (WeightOperationContext context, HashMap< CustomEdge, Double > current)
 

Detailed Description

Penalises edges according to their (normalized) noise level. Both the slider value and the underlying noise data are converted to the [0, 1] range so that penalties stay comparable across datasets.

Constructor & Destructor Documentation

◆ NoiseOperation()

ch.routify.routing.operations.NoiseOperation.NoiseOperation ( Map< String, Object > params)
inline

Member Function Documentation

◆ apply()

HashMap< CustomEdge, Double > ch.routify.routing.operations.NoiseOperation.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: