Type Alias vrp_core::construction::features::JobReadValueFn
source · pub type JobReadValueFn = Either<SimpleValueFn, ActorValueFn>;
Expand description
Specifies a job value reader as a variant of two functions.
Aliased Type§
enum JobReadValueFn {
Left(Arc<dyn Fn(&Job) -> f64 + Send + Sync>),
Right(Arc<dyn Fn(&Actor, &Job) -> f64 + Send + Sync>),
}