Function vrp_core::models::problem::create_matrix_transport_cost

source ยท
pub fn create_matrix_transport_cost(
    costs: Vec<MatrixData>,
) -> Result<Arc<dyn TransportCost + Send + Sync>, GenericError>
Expand description

Creates time agnostic or time aware routing costs based on matrix data passed. Panics at runtime if given route path is not present in matrix data.