Skip to main content

SharedValueFn

Type Alias SharedValueFn 

Source
pub(crate) type SharedValueFn<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 SharedValueFn<C> { /* private fields */ }