We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66b87bc commit f5e6b09Copy full SHA for f5e6b09
src/dijkstraTRSP/src/dijkstraTRSP_driver.cpp
@@ -57,17 +57,20 @@ static
57
Path
58
pgr_dijkstraTRSP(
59
G &graph,
60
+ const std::vector<Restrict_t>& restrictions_array,
61
int64_t source,
62
int64_t target,
63
bool only_cost = false,
64
bool strict = false) {
- Path path = fn_TRSP.dijkstraTRSP(digraph,
65
+ Pgr_dijkstraTRSP< G > fn_TRSP;
66
+ Path path = fn_TRSP.dijkstraTRSP(graph,
67
restrictions_array,
- start_vid,
- end_vid,
68
+ source,
69
+ target,
70
only_cost,
71
strict);
72
log << fn_TRSP.log.str();
73
+ return path;
74
}
75
#endif
76
0 commit comments