Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#1 Filter out duplicate routes and pick the cheapest one. #2

Closed
todo bot opened this issue Nov 2, 2021 · 0 comments
Closed

#1 Filter out duplicate routes and pick the cheapest one. #2

todo bot opened this issue Nov 2, 2021 · 0 comments
Assignees

Comments

@todo
Copy link

todo bot commented Nov 2, 2021

Upland-Travel-Bot/travel.js

Lines 112 to 117 in ecc73da

// TODO: #1 Filter out duplicate routes and pick the cheapest one.
foundPath.forEach((Node) => {
nextNode = Node.id;
links = Node.links.unique();
links.unique().forEach((Link) => {
if (Link.toId == nextNode && (Link.fromId == previousNode || '')) {


This issue was generated by todo based on a TODO comment in ecc73da. It's been assigned to @VIKTORVAV99 because they committed the code.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant