ShortestPathDijkstra #57
Unanswered
shivarajmulimani
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Infinite cost means that the goal isn't reachable. For your second question (and maybe the first as well), would you like to share the data in your relation? Panic means something wrong in the implementation, but without the data we cannot determine the problem. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I tried running the graph algorithms like below
Q1. for below script I am getting cost as infinite and path as [], what does it mean?
Q2. I tried running the below algorithm
?[starting, goal, cost, path] <~ KShortestPathYen(*realtions[startnode, endnode, weight], starting[], goal[], k:9)
and encountered below error, how to avoid it?
hread '<unnamed>' panicked at 'index out of bounds: the len is 0 but the index is 0', cozo-core/src/fixed_rule/algos/yen.rs:149:29 PanicException: index out of bounds: the len is 0 but the index is 0
Beta Was this translation helpful? Give feedback.
All reactions