Skip to main contentModule selector
Source - HoprGraphPathSelector
- A lightweight graph-backed path selector.
- MetricsValueFn ๐
- Wraps an
EdgeValueFn<f64, W> as a ValueFn whose Value type carries
both the cost and per-path quality aggregates. - PathCostWithMetrics ๐
- Accumulated path cost and quality aggregates, folded edge-by-edge during DFS.
- compute_paths ๐
- Compute candidate paths from
src to dest through graph. - opt_min ๐
- Returns the minimum of two
Option<T> values, preferring Some over None. - prune_for_consistency
- Trim the candidate set to lower median latency and minimise variance while
preserving an anonymity floor.