Create a route optimizer demo app that uses the JavaScript route stop optimization library
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 25/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- javascript
调研方向
先从 JavaScript 停靠点顺序优化库和 issue 中描述的 route/distances/betweenPairs endpoint 入手,然后确定浏览器演示应放在 repository 的什么位置。完成的标准是:用户可以添加和删除停靠点,距离会通过所需的请求进行更新,库会对停靠点排序,并且路线规划器会显示该顺序。
由索引模型根据 Issue 内容生成。
描述
-
Use betweenPairs to get distances between stops in the route. Use same points in To and From parameters.
-
Call the route stop optimization library to solve TSP in the browser. This keeps it interactive instead of batch on the server.
-
To get a displayable route, request a route from the route planner for stops in the order given by the route stop optimization library.
Allow user to add/remove stops, using betweenPairs to get any new distances required. This will require two requests to route/distances/betweenPairs, one for forward distances (1 x N, N x 1). For example, given an initial route of from = {1,2,3,4} and to={1,2,3,4}, to add stop 5, make the following two betweenPairs request:
from={1,2,3,4}, to={5}
from={5}, to={1,2,3,4}
- 主要语言
- 没有语言数据
- 星标
- 7
- 派生
- 6
- 平均合并
- 12 天 20 小时
- 30 天内合并 PR
- 1
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
bcgov/ols-devkit 的其他 Issue
-
It's Been a While Since This Repository has Been Updated可能重新可做 @cmhodgson 于 1184 天前认领,目前没有进行中的 PR。 未关闭
bcgov/ols-devkit#217 · 已指派 2 人 ·
-
address list editor
难度 3/5 1-2 天 新手友好度 35/100
bcgov/ols-devkit#203 ·
-
enhancement location services demo app
难度 2/5 1-3 小时 新手友好度 25/100
bcgov/ols-devkit#200 ·
-
In demo app, route tab, add a way to grab and drag any turning point along a displayed route可能重新可做 @mraross 于 1974 天前认领,目前没有进行中的 PR。 未关闭enhancement location services demo app rpng
bcgov/ols-devkit#196 · 已指派 1 人 ·
-
In location services in action, add a Basemap Comparison tab可能重新可做 @mraross 于 1980 天前认领,目前没有进行中的 PR。 未关闭enhancement
bcgov/ols-devkit#195 · 已指派 1 人 ·
相似的 Issue
-
DB-plane provider_chat_options.* is accepted by config set but never merged into the loaded config未关闭
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
kind/bug
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
status: team-only type: dependency-upgrade
难度 2/5 1-3 小时 新手友好度 65/100
spring-projects/spring-boot#52099 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 69/100
PrestaShop/PrestaShop#43140 ·
维护者通常 1 天内回复
-
Round video messages start gray and blocky with libx264: encoder is configured for 1,000,000 fps未关闭
难度 2/5 1-3 小时 新手友好度 78/100
telegramdesktop/tdesktop#31422 ·
维护者通常 9 天内回复