Skip to contents

Dual edge weights are two sets of edge weights, one (the actual weight) to determine the shortest path, and the other (the reported weight) to report the cost of that path.

Usage

dual_weights(reported, actual)

Arguments

reported

The edge weights to be reported. Evaluated by evaluate_weight_spec.

actual

The actual edge weights to be used to determine shortest paths. Evaluated by evaluate_weight_spec.

Value

An object of class dual_weights.

Details

Dual edge weights enable dual-weighted routing. This is supported by the dodgr routing backend.