Skip to main content

SharedCostFn

Type Alias SharedCostFn 

Source
pub(crate) type SharedCostFn<C> = Arc<dyn Fn(C, &Observations, usize) -> C + Send + Sync>;
Expand description

A shared cost function that computes a cumulative cost from edge observations.

Aliased Typeยง

pub(crate) struct SharedCostFn<C> { /* private fields */ }