Trait vrp_core::models::problem::ActivityCost [−][src]
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]
Returns cost to perform activity.
fn duration(
&self,
_actor: &Actor,
activity: &Activity,
_arrival: Timestamp
) -> Cost[src]
&self,
_actor: &Actor,
activity: &Activity,
_arrival: Timestamp
) -> Cost
Returns operation time spent to perform activity.