Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
685 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,3 +5,5 @@ build | |
issues | ||
tools/vagrant/packaging.sh | ||
*.mo | ||
.directory | ||
notUsed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
0|2|-1|0 | ||
0|2|4|1 | ||
1|5|8|1 | ||
2|6|9|1 | ||
3|9|16|1 | ||
4|4|3|1 | ||
5|3|-1|0 | ||
0|2|4|1 | ||
1|5|8|1 | ||
2|6|5|1 | ||
3|3|-1|0 | ||
0|2|2|1 | ||
1|3|-1|0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
------------------------------------------------------------------------------------------------------ | ||
------------------------------------------------------------------------------------------------------ | ||
-- PGR_dijkstra V.2.0 | ||
------------------------------------------------------------------------------------------------------ | ||
------------------------------------------------------------------------------------------------------ | ||
|
||
SELECT seq, id1 AS node, id2 AS edge, cost | ||
FROM pgr_dijkstra( | ||
'SELECT id, source, target, cost, reverse_cost FROM edge_table', | ||
2,3, true, false | ||
); | ||
|
||
SELECT seq, id1 AS node, id2 AS edge, cost | ||
FROM pgr_dijkstra( | ||
'SELECT id, source, target, cost, reverse_cost FROM edge_table', | ||
2,3, true, true | ||
); | ||
|
||
SELECT seq, id1 AS node, id2 AS edge, cost | ||
FROM pgr_dijkstra( | ||
'SELECT id, source, target, cost FROM edge_table', | ||
2, 3, false, false | ||
); | ||
|
||
SELECT seq, id1 AS node, id2 AS edge, cost | ||
FROM pgr_dijkstra( | ||
'SELECT id, source, target, cost, reverse_cost FROM edge_table', | ||
2, 3, false, true | ||
); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,178 @@ | ||
0|2|4|1|0 | ||
1|5|8|1|1 | ||
2|6|9|1|2 | ||
3|9|16|1|3 | ||
4|4|3|1|4 | ||
5|3|-1|0|5 | ||
0|2|4|1|0 | ||
1|5|-1|0|1 | ||
0|11|13|1|0 | ||
1|12|15|1|1 | ||
2|9|16|1|2 | ||
3|4|3|1|3 | ||
4|3|-1|0|4 | ||
0|11|13|1|0 | ||
1|12|15|1|1 | ||
2|9|9|1|2 | ||
3|6|8|1|3 | ||
4|5|-1|0|4 | ||
0|2|2|4|1|0 | ||
1|2|5|-1|0|1 | ||
2|11|11|13|1|0 | ||
3|11|12|15|1|1 | ||
4|11|9|9|1|2 | ||
5|11|6|8|1|3 | ||
6|11|5|-1|0|4 | ||
0|3|2|4|1|0 | ||
1|3|5|8|1|1 | ||
2|3|6|9|1|2 | ||
3|3|9|16|1|3 | ||
4|3|4|3|1|4 | ||
5|3|3|-1|0|5 | ||
6|5|2|4|1|0 | ||
7|5|5|-1|0|1 | ||
0|2|3|2|4|1|0 | ||
1|2|3|5|8|1|1 | ||
2|2|3|6|9|1|2 | ||
3|2|3|9|16|1|3 | ||
4|2|3|4|3|1|4 | ||
5|2|3|3|-1|0|5 | ||
6|2|5|2|4|1|0 | ||
7|2|5|5|-1|0|1 | ||
8|11|3|11|13|1|0 | ||
9|11|3|12|15|1|1 | ||
10|11|3|9|16|1|2 | ||
11|11|3|4|3|1|3 | ||
12|11|3|3|-1|0|4 | ||
13|11|5|11|13|1|0 | ||
14|11|5|12|15|1|1 | ||
15|11|5|9|9|1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