pub(crate) fn cross_cost( from: Option<Direction>, to: Direction, cost_to_cross_east_west: Cost, cost_to_cross_north_south: Cost, ) -> Cost