[−][src]Trait vrp_core::models::problem::ActivityCost
Provides the way to get cost information for specific activities done by specific actor.
Provided methods
pub fn cost(
&self,
actor: &Actor,
activity: &Activity,
arrival: Timestamp
) -> Cost[src]
&self,
actor: &Actor,
activity: &Activity,
arrival: Timestamp
) -> Cost
Returns cost to perform activity.
pub 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.