Trait vrp_core::models::problem::ActivityCost [−][src]
pub trait ActivityCost {
fn cost(
&self,
actor: &Actor,
activity: &Activity,
arrival: Timestamp
) -> Cost { ... }
}Expand description
Provides the way to get cost information for specific activities done by specific actor.
Provided methods
fn cost(&self, actor: &Actor, activity: &Activity, arrival: Timestamp) -> Cost[src]
Expand description
Returns cost to perform activity.