Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Vehicle Specific Cost and Duration Factors

Đang mở
#18 0 bình luận 1 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
38/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
cpp, node.js
Lĩnh vực
backend-api-design

Hướng nghiên cứu

Issue không nêu tên tệp hay test nào. Hãy bắt đầu bằng cách lần theo API public vehicle-routing nhận các ma trận chi phí và thời lượng, sau đó xem xét issue Heterogeneous Fleets liên quan (#11). Hoàn thành có nghĩa là nhiều xe có thể nhận các costFactors và durationFactors riêng biệt để scale các ma trận tương ứng, với coverage cho ví dụ ba xe.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

At the moment we expose a single cost and duration matrix per vehicle. What we should allow for in the context of multiple vehicles is cost and duration factors on a per vehicle basis to scale the cost and duration matrix the user passes us, think

numVehicles: 3
costFactors: [1.0, 0.7, 1.5]
durationFactors: [1.0, 0.7, 1.5]

which would scale both the cost as well as the duration matrices depending on the factors for each vehicle. We need to separate cost and duration factors because users could specify e.g. distance as cost in which case costFactors would be [1.0 1.0 1.0] and durationFactors would account for slower and faster vehicles.

Related: Heterogeneous Fleets https://github.com/mapbox/node-or-tools/issues/11

cc @karenzshea

Ngôn ngữ chính
C++
Star
155
Fork
47
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của mapbox/node-or-tools

Tất cả issue của mapbox/node-or-tools

Issue tương tự

Thêm issue về C++

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.