diff --git a/.github/workflows/check-files.yml b/.github/workflows/check-files.yml index ecd6527dc2f..c30d5e0e688 100644 --- a/.github/workflows/check-files.yml +++ b/.github/workflows/check-files.yml @@ -66,9 +66,10 @@ jobs: - name: Install Requirements uses: actions/checkout@v3 with: - repository: 'google/styleguide' - ref: "gh-pages" - path: "code_linter/styleguide" + repository: 'cpplint/cpplint' + ref: "develop" + path: "code_linter/cpplint" - name: Run linter run: | + ls code_linter bash ./tools/scripts/code_checker.sh diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index 0571448d82c..a10a01cbbc3 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -18,7 +18,7 @@ jobs: strategy: fail-fast: false matrix: - old_pgr: [3.4.0, 3.3.5, 3.3.4, 3.3.3, 3.3.2, 3.3.1, 3.3.0, 3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.0.4, 3.0.6, 3.1.0, 3.1.1, 3.1.2, 3.1.3, 3.2.0, 3.2.1, 3.2.2] + old_pgr: [3.4.1, 3.4.0, 3.3.5, 3.3.4, 3.3.3, 3.3.2, 3.3.1, 3.3.0, 3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.0.4, 3.0.6, 3.1.0, 3.1.1, 3.1.2, 3.1.3, 3.2.0, 3.2.1, 3.2.2] steps: - uses: actions/checkout@v3 @@ -113,7 +113,7 @@ jobs: pushd "${DIR}/tools/testers" > /dev/null || exit 1 sudo -u postgres bash setup_db.sh 5432 ___pgr___test___ postgres "${{ matrix.old_pgr }}" sudo -u postgres psql -p 5432 -d ___pgr___test___ -c "SELECT * FROM pgr_full_version();" - sudo -u postgres psql -p 5432 -d ___pgr___test___ -c "ALTER EXTENSION pgrouting UPDATE TO '3.4.1';" + sudo -u postgres psql -p 5432 -d ___pgr___test___ -c "ALTER EXTENSION pgrouting UPDATE TO '3.4.2';" sudo -u postgres psql -p 5432 -d ___pgr___test___ -c "SELECT * FROM pgr_full_version();" sudo -u postgres pg_prove -Q -f --normalize --directives --recurse -d ___pgr___test___ "../../pgtap" diff --git a/CMakeLists.txt b/CMakeLists.txt index 02563932d3d..bc4e5e913cd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -18,7 +18,7 @@ include(pgr/BuildType) #--------------------------------------------- #--------------------------------------------- -project(PGROUTING VERSION 3.4.1 +project(PGROUTING VERSION 3.4.2 LANGUAGES C CXX ) set(PROJECT_VERSION_DEV "") string(TOLOWER "${PROJECT_NAME}" PROJECT_NAME_LOWER) @@ -33,6 +33,7 @@ string(TIMESTAMP COMPILATION_DATE "%Y/%m/%d" UTC) set(MINORS 3.4 3.3 3.2 3.1 3.0 2.6) set(OLD_SIGNATURES + 3.4.1 3.4.0 3.3.5 3.3.4 3.3.3 3.3.2 3.3.1 3.3.0 3.2.2 3.2.1 3.2.0 diff --git a/NEWS b/NEWS index ca6390e2b69..a1c6cfb2901 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,8 @@ +pgRouting 3.4.2 Release Notes +------------------------------------------------------------------------------- + +No Changes Yet + pgRouting 3.4.1 Release Notes ------------------------------------------------------------------------------- diff --git a/ci/bessie/regress.sh b/ci/bessie/regress.sh index fe07607a329..e9b2c16d46c 100644 --- a/ci/bessie/regress.sh +++ b/ci/bessie/regress.sh @@ -21,15 +21,14 @@ #-- # # export BRANCH=develop -export PGROUTING_VER=$BRANCH #------------------------- # File used in Jenkins setup #------------------------- -export PATH=${PATH}:/usr/local::/usr/local/lib::/usr/local/bin +export PATH="${PATH}":/usr/local::/usr/local/lib::/usr/local/bin echo "$PATH" export PGUSER=postgres -export PGROUTING_VER=$BRANCH +export PGROUTING_VER="${BRANCH}" rm -rf "${WORKSPACE}/build${BRANCH}" mkdir "${WORKSPACE}/build${BRANCH}" diff --git a/ci/bessie32/regress.sh b/ci/bessie32/regress.sh index fe07607a329..e9b2c16d46c 100644 --- a/ci/bessie32/regress.sh +++ b/ci/bessie32/regress.sh @@ -21,15 +21,14 @@ #-- # # export BRANCH=develop -export PGROUTING_VER=$BRANCH #------------------------- # File used in Jenkins setup #------------------------- -export PATH=${PATH}:/usr/local::/usr/local/lib::/usr/local/bin +export PATH="${PATH}":/usr/local::/usr/local/lib::/usr/local/bin echo "$PATH" export PGUSER=postgres -export PGROUTING_VER=$BRANCH +export PGROUTING_VER="${BRANCH}" rm -rf "${WORKSPACE}/build${BRANCH}" mkdir "${WORKSPACE}/build${BRANCH}" diff --git a/doc/src/release_notes.rst b/doc/src/release_notes.rst index 6b08d2f990c..623339e040f 100644 --- a/doc/src/release_notes.rst +++ b/doc/src/release_notes.rst @@ -36,6 +36,12 @@ To see the full list of changes check the list of `Git commits + +pgRouting 3.4.2 Release Notes +------------------------------------------------------------------------------- + +No Changes Yet + pgRouting 3.4.1 Release Notes ------------------------------------------------------------------------------- diff --git a/docqueries/allpairs/doc-floydWarshall.test.sql b/docqueries/allpairs/doc-floydWarshall.test.sql index b74bde07f8a..4c80eecb5e6 100644 --- a/docqueries/allpairs/doc-floydWarshall.test.sql +++ b/docqueries/allpairs/doc-floydWarshall.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ /* -- q1 */ SELECT * FROM pgr_floydWarshall( diff --git a/docqueries/allpairs/doc-johnson.test.sql b/docqueries/allpairs/doc-johnson.test.sql index 3c8a1bd0183..08cf2a0ca87 100644 --- a/docqueries/allpairs/doc-johnson.test.sql +++ b/docqueries/allpairs/doc-johnson.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ /* -- q1 */ SELECT * FROM pgr_johnson( diff --git a/docqueries/alpha_shape/doc-pgr_alphashape.test.sql b/docqueries/alpha_shape/doc-pgr_alphashape.test.sql index d0919fa0217..144308ca07c 100644 --- a/docqueries/alpha_shape/doc-pgr_alphashape.test.sql +++ b/docqueries/alpha_shape/doc-pgr_alphashape.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ /* -- q1 */ SELECT ST_Area(pgr_alphaShape((SELECT ST_Collect(geom) diff --git a/docqueries/astar/doc-aStarCost.test.sql b/docqueries/astar/doc-aStarCost.test.sql index 22d731490ac..215e3a8bc35 100644 --- a/docqueries/astar/doc-aStarCost.test.sql +++ b/docqueries/astar/doc-aStarCost.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ /* -- q2 */ SELECT * FROM pgr_aStarCost( diff --git a/docqueries/astar/doc-aStarCostMatrix.test.sql b/docqueries/astar/doc-aStarCostMatrix.test.sql index eaf1a9cbf02..4cb02e604cb 100644 --- a/docqueries/astar/doc-aStarCostMatrix.test.sql +++ b/docqueries/astar/doc-aStarCostMatrix.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ /* -- q2 */ SELECT * FROM pgr_aStarCostMatrix( diff --git a/docqueries/astar/doc-astar.test.sql b/docqueries/astar/doc-astar.test.sql index 76cf13c145e..06155bdab43 100644 --- a/docqueries/astar/doc-astar.test.sql +++ b/docqueries/astar/doc-astar.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ /* -- q2 */ SELECT * FROM pgr_aStar( diff --git a/docqueries/bdAstar/doc-pgr_bdAstar.test.sql b/docqueries/bdAstar/doc-pgr_bdAstar.test.sql index 0150082d34a..4ee40adfe6c 100644 --- a/docqueries/bdAstar/doc-pgr_bdAstar.test.sql +++ b/docqueries/bdAstar/doc-pgr_bdAstar.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ /* -- q2 */ SELECT * FROM pgr_bdAstar( diff --git a/docqueries/bdAstar/doc-pgr_bdAstarCost.test.sql b/docqueries/bdAstar/doc-pgr_bdAstarCost.test.sql index 15e55119c37..50ef305199b 100644 --- a/docqueries/bdAstar/doc-pgr_bdAstarCost.test.sql +++ b/docqueries/bdAstar/doc-pgr_bdAstarCost.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ /* -- q2 */ SELECT * FROM pgr_bdAstarCost( diff --git a/docqueries/bdAstar/doc-pgr_bdAstarCostMatrix.test.sql b/docqueries/bdAstar/doc-pgr_bdAstarCostMatrix.test.sql index e10c22cc752..6658fb1a174 100644 --- a/docqueries/bdAstar/doc-pgr_bdAstarCostMatrix.test.sql +++ b/docqueries/bdAstar/doc-pgr_bdAstarCostMatrix.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ /* -- q2 */ SELECT * FROM pgr_bdAstarCostMatrix( diff --git a/docqueries/bdDijkstra/bdDijkstra-large.test.sql b/docqueries/bdDijkstra/bdDijkstra-large.test.sql index e3bfd72c807..4c2c22e075f 100644 --- a/docqueries/bdDijkstra/bdDijkstra-large.test.sql +++ b/docqueries/bdDijkstra/bdDijkstra-large.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ /*PGR-GNU***************************************************************** diff --git a/docqueries/bdDijkstra/doc-pgr_bdDijkstra.test.sql b/docqueries/bdDijkstra/doc-pgr_bdDijkstra.test.sql index a361a72bf6c..89f4e441810 100644 --- a/docqueries/bdDijkstra/doc-pgr_bdDijkstra.test.sql +++ b/docqueries/bdDijkstra/doc-pgr_bdDijkstra.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ /* -- q2 */ SELECT * FROM pgr_bdDijkstra( diff --git a/docqueries/bdDijkstra/doc-pgr_bdDijkstraCost.test.sql b/docqueries/bdDijkstra/doc-pgr_bdDijkstraCost.test.sql index 6395c27690a..49f0e339fb3 100644 --- a/docqueries/bdDijkstra/doc-pgr_bdDijkstraCost.test.sql +++ b/docqueries/bdDijkstra/doc-pgr_bdDijkstraCost.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ /* -- q2 */ SELECT * FROM pgr_bdDijkstraCost( diff --git a/docqueries/bdDijkstra/doc-pgr_bdDijkstraCostMatrix.test.sql b/docqueries/bdDijkstra/doc-pgr_bdDijkstraCostMatrix.test.sql index c812c9b7afa..428ca4a1d24 100644 --- a/docqueries/bdDijkstra/doc-pgr_bdDijkstraCostMatrix.test.sql +++ b/docqueries/bdDijkstra/doc-pgr_bdDijkstraCostMatrix.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ /* -- q2 */ SELECT * FROM pgr_bdDijkstraCostMatrix( diff --git a/docqueries/bdDijkstra/large.data b/docqueries/bdDijkstra/large.data index 2f320cd764b..3ae2e8f2176 100644 --- a/docqueries/bdDijkstra/large.data +++ b/docqueries/bdDijkstra/large.data @@ -1,3 +1,5 @@ +-- CopyRight(c) pgRouting developers +-- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ drop table if exists bdd_ways cascade; create table bdd_ways ( diff --git a/docqueries/bellman_ford/doc-pgr_bellmanFord.test.sql b/docqueries/bellman_ford/doc-pgr_bellmanFord.test.sql index 1c2e5fd2ff2..04840023296 100644 --- a/docqueries/bellman_ford/doc-pgr_bellmanFord.test.sql +++ b/docqueries/bellman_ford/doc-pgr_bellmanFord.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ /* -- q2 */ SELECT * FROM pgr_bellmanFord( diff --git a/docqueries/bellman_ford/doc-pgr_edwardMoore.test.sql b/docqueries/bellman_ford/doc-pgr_edwardMoore.test.sql index 632ebdd4d64..6d6b3296d69 100644 --- a/docqueries/bellman_ford/doc-pgr_edwardMoore.test.sql +++ b/docqueries/bellman_ford/doc-pgr_edwardMoore.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ /* -- q2 */ SELECT * FROM pgr_edwardMoore( diff --git a/docqueries/breadthFirstSearch/doc-pgr_binaryBreadthFirstSearch.test.sql b/docqueries/breadthFirstSearch/doc-pgr_binaryBreadthFirstSearch.test.sql index 6e69fde8733..5e0cad271c1 100644 --- a/docqueries/breadthFirstSearch/doc-pgr_binaryBreadthFirstSearch.test.sql +++ b/docqueries/breadthFirstSearch/doc-pgr_binaryBreadthFirstSearch.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ /* -- q1 */ SELECT * FROM pgr_binaryBreadthFirstSearch( diff --git a/docqueries/breadthFirstSearch/doc-pgr_breadthFirstSearch.test.sql b/docqueries/breadthFirstSearch/doc-pgr_breadthFirstSearch.test.sql index ded7f9b9531..4947c41386a 100644 --- a/docqueries/breadthFirstSearch/doc-pgr_breadthFirstSearch.test.sql +++ b/docqueries/breadthFirstSearch/doc-pgr_breadthFirstSearch.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ /* -- q1 */ SELECT * FROM pgr_breadthFirstSearch( diff --git a/docqueries/chinese/doc-pgr_chinesePostman.test.sql b/docqueries/chinese/doc-pgr_chinesePostman.test.sql index bb1c5a05ff5..3aa8c77f3da 100644 --- a/docqueries/chinese/doc-pgr_chinesePostman.test.sql +++ b/docqueries/chinese/doc-pgr_chinesePostman.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ /* -- q1 */ diff --git a/docqueries/chinese/doc-pgr_chinesePostmanCost.test.sql b/docqueries/chinese/doc-pgr_chinesePostmanCost.test.sql index b933c9e9d36..44523f1fbd0 100644 --- a/docqueries/chinese/doc-pgr_chinesePostmanCost.test.sql +++ b/docqueries/chinese/doc-pgr_chinesePostmanCost.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ /* -- q1 */ diff --git a/docqueries/circuits/hawickCircuits.test.sql b/docqueries/circuits/hawickCircuits.test.sql index b2c2d9fdf73..e722ca1d7e8 100755 --- a/docqueries/circuits/hawickCircuits.test.sql +++ b/docqueries/circuits/hawickCircuits.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ /* -- q1 */ SELECT * FROM pgr_hawickCircuits( diff --git a/docqueries/coloring/doc-bipartite.test.sql b/docqueries/coloring/doc-bipartite.test.sql index e635637d509..bf5a8bb8427 100644 --- a/docqueries/coloring/doc-bipartite.test.sql +++ b/docqueries/coloring/doc-bipartite.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ /* --q1 */ SELECT * FROM pgr_bipartite( diff --git a/docqueries/coloring/doc-edgeColoring.test.sql b/docqueries/coloring/doc-edgeColoring.test.sql index 7d0316b20b6..05eab075a46 100644 --- a/docqueries/coloring/doc-edgeColoring.test.sql +++ b/docqueries/coloring/doc-edgeColoring.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ /* -- q1 */ SELECT * FROM pgr_edgeColoring( diff --git a/docqueries/coloring/doc-pgr_sequentialVertexColoring.test.sql b/docqueries/coloring/doc-pgr_sequentialVertexColoring.test.sql index 37cdc3145ea..b0c11816066 100644 --- a/docqueries/coloring/doc-pgr_sequentialVertexColoring.test.sql +++ b/docqueries/coloring/doc-pgr_sequentialVertexColoring.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ /* -- q1 */ SELECT * FROM pgr_sequentialVertexColoring( diff --git a/docqueries/common/versionless-any-01.test.sql b/docqueries/common/versionless-any-01.test.sql index 9874850eaad..9932f5bfafa 100644 --- a/docqueries/common/versionless-any-01.test.sql +++ b/docqueries/common/versionless-any-01.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ /*PGR-GNU***************************************************************** diff --git a/docqueries/components/doc-pgr_articulationPoints.test.sql b/docqueries/components/doc-pgr_articulationPoints.test.sql index 0f67612d850..2efb9825476 100644 --- a/docqueries/components/doc-pgr_articulationPoints.test.sql +++ b/docqueries/components/doc-pgr_articulationPoints.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ /* -- q1 */ SELECT * FROM pgr_articulationPoints( diff --git a/docqueries/components/doc-pgr_biconnectedComponents.test.sql b/docqueries/components/doc-pgr_biconnectedComponents.test.sql index 140b1651aba..18df346f77a 100644 --- a/docqueries/components/doc-pgr_biconnectedComponents.test.sql +++ b/docqueries/components/doc-pgr_biconnectedComponents.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ /* -- q1 */ SELECT * FROM pgr_biconnectedComponents( diff --git a/docqueries/components/doc-pgr_bridges.test.sql b/docqueries/components/doc-pgr_bridges.test.sql index 7052762a61c..a5da01f67c1 100644 --- a/docqueries/components/doc-pgr_bridges.test.sql +++ b/docqueries/components/doc-pgr_bridges.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ /* -- q1 */ SELECT * FROM pgr_bridges( diff --git a/docqueries/components/doc-pgr_connectedComponents.test.sql b/docqueries/components/doc-pgr_connectedComponents.test.sql index c45e2471175..f7e8298565b 100644 --- a/docqueries/components/doc-pgr_connectedComponents.test.sql +++ b/docqueries/components/doc-pgr_connectedComponents.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ /* -- q1 */ SELECT * FROM pgr_connectedComponents( diff --git a/docqueries/components/doc-pgr_makeConnected.test.sql b/docqueries/components/doc-pgr_makeConnected.test.sql index c8dfde901bc..479a0875505 100644 --- a/docqueries/components/doc-pgr_makeConnected.test.sql +++ b/docqueries/components/doc-pgr_makeConnected.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ /* -- q1 */ SELECT * FROM pgr_makeConnected( diff --git a/docqueries/components/doc-pgr_strongComponents.test.sql b/docqueries/components/doc-pgr_strongComponents.test.sql index 8a4aa68fe97..e05597540e3 100644 --- a/docqueries/components/doc-pgr_strongComponents.test.sql +++ b/docqueries/components/doc-pgr_strongComponents.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ /* -- q1 */ SELECT * FROM pgr_strongComponents( diff --git a/docqueries/components/pgtap/connectedComponentsV-typesCheck.sql b/docqueries/components/pgtap/connectedComponentsV-typesCheck.sql index 45e31b0a865..565ed2a1184 100644 --- a/docqueries/components/pgtap/connectedComponentsV-typesCheck.sql +++ b/docqueries/components/pgtap/connectedComponentsV-typesCheck.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ SELECT plan(4); diff --git a/docqueries/contraction/doc-contraction-family.test.sql b/docqueries/contraction/doc-contraction-family.test.sql index 75357f74ae3..5a29e6f2662 100644 --- a/docqueries/contraction/doc-contraction-family.test.sql +++ b/docqueries/contraction/doc-contraction-family.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ /* -- q00 */ diff --git a/docqueries/contraction/doc-pgr_contraction.test.sql b/docqueries/contraction/doc-pgr_contraction.test.sql index 6a8962b7771..bbda07d9c67 100644 --- a/docqueries/contraction/doc-pgr_contraction.test.sql +++ b/docqueries/contraction/doc-pgr_contraction.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ /* -- q1 */ SELECT * FROM pgr_contraction( diff --git a/docqueries/dagShortestPath/doc-pgr_dagShortestPath.test.sql b/docqueries/dagShortestPath/doc-pgr_dagShortestPath.test.sql index 16cf8743e23..a40179c1b4d 100644 --- a/docqueries/dagShortestPath/doc-pgr_dagShortestPath.test.sql +++ b/docqueries/dagShortestPath/doc-pgr_dagShortestPath.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ /* -- q2 */ SELECT * FROM pgr_dagShortestPath( diff --git a/docqueries/dijkstra/doc-pgr_dijkstra.test.sql b/docqueries/dijkstra/doc-pgr_dijkstra.test.sql index a95fb582ba5..139bcd357b2 100644 --- a/docqueries/dijkstra/doc-pgr_dijkstra.test.sql +++ b/docqueries/dijkstra/doc-pgr_dijkstra.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ /* -- q2 */ SELECT * FROM pgr_Dijkstra( diff --git a/docqueries/dijkstra/doc-pgr_dijkstraCost.test.sql b/docqueries/dijkstra/doc-pgr_dijkstraCost.test.sql index e0cd9c3301f..1cefc148aad 100644 --- a/docqueries/dijkstra/doc-pgr_dijkstraCost.test.sql +++ b/docqueries/dijkstra/doc-pgr_dijkstraCost.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ /* -- q2 */ SELECT * FROM pgr_dijkstraCost( diff --git a/docqueries/dijkstra/doc-pgr_dijkstraCostMatrix.test.sql b/docqueries/dijkstra/doc-pgr_dijkstraCostMatrix.test.sql index 3eae76d074e..ac8e368b200 100644 --- a/docqueries/dijkstra/doc-pgr_dijkstraCostMatrix.test.sql +++ b/docqueries/dijkstra/doc-pgr_dijkstraCostMatrix.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ /* -- q1 */ SELECT * FROM pgr_dijkstraCostMatrix( diff --git a/docqueries/dijkstra/doc-pgr_dijkstraNear.test.sql b/docqueries/dijkstra/doc-pgr_dijkstraNear.test.sql index fdd8bf7b295..ff4ae9e1663 100644 --- a/docqueries/dijkstra/doc-pgr_dijkstraNear.test.sql +++ b/docqueries/dijkstra/doc-pgr_dijkstraNear.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ /* -- q1 */ SELECT * FROM pgr_dijkstraNear( diff --git a/docqueries/dijkstra/doc-pgr_dijkstraNearCost.test.sql b/docqueries/dijkstra/doc-pgr_dijkstraNearCost.test.sql index e39d379da48..a4cdda1052f 100644 --- a/docqueries/dijkstra/doc-pgr_dijkstraNearCost.test.sql +++ b/docqueries/dijkstra/doc-pgr_dijkstraNearCost.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ /* -- q1 */ SELECT * FROM pgr_dijkstraNearCost( diff --git a/docqueries/dijkstra/doc-pgr_dijkstraVia.test.sql b/docqueries/dijkstra/doc-pgr_dijkstraVia.test.sql index c092aec5fcf..937210328e0 100644 --- a/docqueries/dijkstra/doc-pgr_dijkstraVia.test.sql +++ b/docqueries/dijkstra/doc-pgr_dijkstraVia.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ /* -- q01 */ SELECT * FROM pgr_dijkstraVia( diff --git a/docqueries/dominator/doc-lengauerTarjanDominatorTree.test.sql b/docqueries/dominator/doc-lengauerTarjanDominatorTree.test.sql index 2cfcea8e7b3..20d331f3755 100644 --- a/docqueries/dominator/doc-lengauerTarjanDominatorTree.test.sql +++ b/docqueries/dominator/doc-lengauerTarjanDominatorTree.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ /* --q1 */ SELECT * FROM pgr_lengauertarjandominatortree( diff --git a/docqueries/driving_distance/dijksraDD-issue729.test.sql b/docqueries/driving_distance/dijksraDD-issue729.test.sql index f6113ac485d..03bd46167c2 100644 --- a/docqueries/driving_distance/dijksraDD-issue729.test.sql +++ b/docqueries/driving_distance/dijksraDD-issue729.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ -- TODO move to pgtap diff --git a/docqueries/driving_distance/doc-pgr_drivingDistance.test.sql b/docqueries/driving_distance/doc-pgr_drivingDistance.test.sql index 250ca6deb24..c5edda4786b 100644 --- a/docqueries/driving_distance/doc-pgr_drivingDistance.test.sql +++ b/docqueries/driving_distance/doc-pgr_drivingDistance.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ /* --q5 */ SELECT * FROM pgr_drivingDistance( diff --git a/docqueries/ksp/doc-ksp.test.sql b/docqueries/ksp/doc-ksp.test.sql index 86393e7545c..070d6328442 100644 --- a/docqueries/ksp/doc-ksp.test.sql +++ b/docqueries/ksp/doc-ksp.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ /* --q1 */ SELECT * FROM pgr_KSP( diff --git a/docqueries/ksp/doc-pgr_turnRestrictedPath.test.sql b/docqueries/ksp/doc-pgr_turnRestrictedPath.test.sql index f34e876ee69..0b2e0d59184 100644 --- a/docqueries/ksp/doc-pgr_turnRestrictedPath.test.sql +++ b/docqueries/ksp/doc-pgr_turnRestrictedPath.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ /* -- q1 */ SELECT * FROM pgr_turnRestrictedPath( diff --git a/docqueries/lineGraph/doc-pgr_lineGraph.test.sql b/docqueries/lineGraph/doc-pgr_lineGraph.test.sql index e413d05decc..c18e68cfe35 100644 --- a/docqueries/lineGraph/doc-pgr_lineGraph.test.sql +++ b/docqueries/lineGraph/doc-pgr_lineGraph.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ /* -- q1 */ SELECT * FROM pgr_lineGraph( diff --git a/docqueries/lineGraph/doc-pgr_lineGraphFull.test.sql b/docqueries/lineGraph/doc-pgr_lineGraphFull.test.sql index a76c2e87423..13e3b1d1aef 100644 --- a/docqueries/lineGraph/doc-pgr_lineGraphFull.test.sql +++ b/docqueries/lineGraph/doc-pgr_lineGraphFull.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ DROP TABLE IF EXISTS linegraph_edges; DROP TABLE IF EXISTS vertex_map; diff --git a/docqueries/lineGraph/pgtap_design.test.sql b/docqueries/lineGraph/pgtap_design.test.sql index ba474faa4db..923163d590d 100644 --- a/docqueries/lineGraph/pgtap_design.test.sql +++ b/docqueries/lineGraph/pgtap_design.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ -- TODO move to pgtap diff --git a/docqueries/lineGraph/pgtap_design_lineGraphFull.test.sql b/docqueries/lineGraph/pgtap_design_lineGraphFull.test.sql index a040399d2e7..79e2e7bf69a 100644 --- a/docqueries/lineGraph/pgtap_design_lineGraphFull.test.sql +++ b/docqueries/lineGraph/pgtap_design_lineGraphFull.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ UPDATE edges SET id = id * 100, source = 1000 * source, target = 1000 * target; UPDATE vertices SET id = id * 1000; diff --git a/docqueries/lineGraph/proofOfConcept1.test.sql b/docqueries/lineGraph/proofOfConcept1.test.sql index 0f7d6e2dac4..2005b3e888a 100644 --- a/docqueries/lineGraph/proofOfConcept1.test.sql +++ b/docqueries/lineGraph/proofOfConcept1.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ -- TODO move to pgtap diff --git a/docqueries/lineGraph/proofOfConcept2.test.sql b/docqueries/lineGraph/proofOfConcept2.test.sql index 6e49a927e9d..7233cc168cf 100644 --- a/docqueries/lineGraph/proofOfConcept2.test.sql +++ b/docqueries/lineGraph/proofOfConcept2.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ -- TODO move to pgtap diff --git a/docqueries/max_flow/doc-pgr_boykovKolmogorov.test.sql b/docqueries/max_flow/doc-pgr_boykovKolmogorov.test.sql index 1e5fdfcb036..4790cc59827 100644 --- a/docqueries/max_flow/doc-pgr_boykovKolmogorov.test.sql +++ b/docqueries/max_flow/doc-pgr_boykovKolmogorov.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ /* -- q1 */ SELECT * FROM pgr_boykovKolmogorov( diff --git a/docqueries/max_flow/doc-pgr_edgeDisjointPaths.test.sql b/docqueries/max_flow/doc-pgr_edgeDisjointPaths.test.sql index 74eb2d07bd3..2f73c99f35b 100644 --- a/docqueries/max_flow/doc-pgr_edgeDisjointPaths.test.sql +++ b/docqueries/max_flow/doc-pgr_edgeDisjointPaths.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ /* -- q1 */ SELECT * FROM pgr_edgeDisjointPaths( diff --git a/docqueries/max_flow/doc-pgr_edmondsKarp.test.sql b/docqueries/max_flow/doc-pgr_edmondsKarp.test.sql index b9272776172..57c45eab175 100644 --- a/docqueries/max_flow/doc-pgr_edmondsKarp.test.sql +++ b/docqueries/max_flow/doc-pgr_edmondsKarp.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ /* -- q1 */ SELECT * FROM pgr_edmondsKarp( diff --git a/docqueries/max_flow/doc-pgr_maxCardinalityMatch.test.sql b/docqueries/max_flow/doc-pgr_maxCardinalityMatch.test.sql index d039564e3ed..f9a3f3fa58a 100644 --- a/docqueries/max_flow/doc-pgr_maxCardinalityMatch.test.sql +++ b/docqueries/max_flow/doc-pgr_maxCardinalityMatch.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ /* -- q2 */ SELECT * FROM pgr_maxCardinalityMatch( diff --git a/docqueries/max_flow/doc-pgr_maxFlow.test.sql b/docqueries/max_flow/doc-pgr_maxFlow.test.sql index bd18951bba4..699a0299ac2 100644 --- a/docqueries/max_flow/doc-pgr_maxFlow.test.sql +++ b/docqueries/max_flow/doc-pgr_maxFlow.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ /* -- q1 */ SELECT * FROM pgr_maxFlow( diff --git a/docqueries/max_flow/doc-pgr_maxFlowMinCost.test.sql b/docqueries/max_flow/doc-pgr_maxFlowMinCost.test.sql index d967b14c053..a2fafe5f906 100644 --- a/docqueries/max_flow/doc-pgr_maxFlowMinCost.test.sql +++ b/docqueries/max_flow/doc-pgr_maxFlowMinCost.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ /* -- q1 */ SELECT * FROM pgr_maxFlowMinCost( diff --git a/docqueries/max_flow/doc-pgr_maxFlowMinCost_Cost.test.sql b/docqueries/max_flow/doc-pgr_maxFlowMinCost_Cost.test.sql index d2fd096e08d..9e6007708aa 100644 --- a/docqueries/max_flow/doc-pgr_maxFlowMinCost_Cost.test.sql +++ b/docqueries/max_flow/doc-pgr_maxFlowMinCost_Cost.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ /* -- q1 */ SELECT * FROM pgr_maxFlowMinCost_Cost( diff --git a/docqueries/max_flow/doc-pgr_pushRelabel.test.sql b/docqueries/max_flow/doc-pgr_pushRelabel.test.sql index b81d1559a8d..7c312854595 100644 --- a/docqueries/max_flow/doc-pgr_pushRelabel.test.sql +++ b/docqueries/max_flow/doc-pgr_pushRelabel.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ /* -- q1 */ SELECT * FROM pgr_pushRelabel( diff --git a/docqueries/mincut/doc-stoerWagner.test.sql b/docqueries/mincut/doc-stoerWagner.test.sql index 2fd67a15f83..732ed82eaf3 100644 --- a/docqueries/mincut/doc-stoerWagner.test.sql +++ b/docqueries/mincut/doc-stoerWagner.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ /* -- q1 */ SELECT * FROM pgr_stoerWagner( diff --git a/docqueries/ordering/cuthillMckeeOrdering.test.sql b/docqueries/ordering/cuthillMckeeOrdering.test.sql index 5ce6368a792..dc98627ad44 100644 --- a/docqueries/ordering/cuthillMckeeOrdering.test.sql +++ b/docqueries/ordering/cuthillMckeeOrdering.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ /* -- q1 */ SELECT * FROM pgr_cuthillMckeeOrdering( diff --git a/docqueries/pickDeliver/doc-pickDeliver.test.sql b/docqueries/pickDeliver/doc-pickDeliver.test.sql index f1bf65240fc..3031d05910e 100644 --- a/docqueries/pickDeliver/doc-pickDeliver.test.sql +++ b/docqueries/pickDeliver/doc-pickDeliver.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ SET extra_float_digits=-3; /* -- q1 */ diff --git a/docqueries/pickDeliver/doc-pickDeliverEuclidean.test.sql b/docqueries/pickDeliver/doc-pickDeliverEuclidean.test.sql index 8a8e15ecfeb..f749015cd49 100644 --- a/docqueries/pickDeliver/doc-pickDeliverEuclidean.test.sql +++ b/docqueries/pickDeliver/doc-pickDeliverEuclidean.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ SET extra_float_digits=-3; /* -- q1 */ diff --git a/docqueries/planar/doc-pgr_boyerMyrvold.test.sql b/docqueries/planar/doc-pgr_boyerMyrvold.test.sql index 67d6baefca5..38cfc4c94a2 100644 --- a/docqueries/planar/doc-pgr_boyerMyrvold.test.sql +++ b/docqueries/planar/doc-pgr_boyerMyrvold.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ /* -- q1 */ SELECT * FROM pgr_boyerMyrvold( diff --git a/docqueries/planar/doc-pgr_isPlanar.test.sql b/docqueries/planar/doc-pgr_isPlanar.test.sql index b6bfe65d723..d991980fb51 100644 --- a/docqueries/planar/doc-pgr_isPlanar.test.sql +++ b/docqueries/planar/doc-pgr_isPlanar.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ /* -- q1 */ SELECT * FROM pgr_isPlanar( diff --git a/docqueries/spanningTree/doc-pgr_kruskal.test.sql b/docqueries/spanningTree/doc-pgr_kruskal.test.sql index 053b425f753..4aaca83577c 100644 --- a/docqueries/spanningTree/doc-pgr_kruskal.test.sql +++ b/docqueries/spanningTree/doc-pgr_kruskal.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ /* -- q1 */ SELECT * FROM pgr_kruskal( diff --git a/docqueries/spanningTree/doc-pgr_kruskalBFS.test.sql b/docqueries/spanningTree/doc-pgr_kruskalBFS.test.sql index 9d9294cecbb..00b0701a5d3 100644 --- a/docqueries/spanningTree/doc-pgr_kruskalBFS.test.sql +++ b/docqueries/spanningTree/doc-pgr_kruskalBFS.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ /* -- q1 */ SELECT * FROM pgr_kruskalBFS( diff --git a/docqueries/spanningTree/doc-pgr_kruskalDD.test.sql b/docqueries/spanningTree/doc-pgr_kruskalDD.test.sql index 00b5e85f49b..e530b0680b3 100644 --- a/docqueries/spanningTree/doc-pgr_kruskalDD.test.sql +++ b/docqueries/spanningTree/doc-pgr_kruskalDD.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ /* -- q1 */ SELECT * FROM pgr_kruskalDD( diff --git a/docqueries/spanningTree/doc-pgr_kruskalDFS.test.sql b/docqueries/spanningTree/doc-pgr_kruskalDFS.test.sql index 8ac551e5ddd..ad5d1f5add7 100644 --- a/docqueries/spanningTree/doc-pgr_kruskalDFS.test.sql +++ b/docqueries/spanningTree/doc-pgr_kruskalDFS.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ /* -- q1 */ SELECT * FROM pgr_kruskalDFS( diff --git a/docqueries/spanningTree/doc-pgr_prim.test.sql b/docqueries/spanningTree/doc-pgr_prim.test.sql index b4f964b5cb6..d414b8f9763 100644 --- a/docqueries/spanningTree/doc-pgr_prim.test.sql +++ b/docqueries/spanningTree/doc-pgr_prim.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ /* -- q1 */ SELECT edge, cost FROM pgr_prim( diff --git a/docqueries/spanningTree/doc-pgr_primBFS.test.sql b/docqueries/spanningTree/doc-pgr_primBFS.test.sql index 39f1fd8140c..94d6cc50e5e 100644 --- a/docqueries/spanningTree/doc-pgr_primBFS.test.sql +++ b/docqueries/spanningTree/doc-pgr_primBFS.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ /* -- q1 */ SELECT * FROM pgr_primBFS( diff --git a/docqueries/spanningTree/doc-pgr_primDD.test.sql b/docqueries/spanningTree/doc-pgr_primDD.test.sql index 00204db0f63..0a1a8f11714 100644 --- a/docqueries/spanningTree/doc-pgr_primDD.test.sql +++ b/docqueries/spanningTree/doc-pgr_primDD.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ /* -- q1 */ SELECT * FROM pgr_primDD( diff --git a/docqueries/spanningTree/doc-pgr_primDFS.test.sql b/docqueries/spanningTree/doc-pgr_primDFS.test.sql index 3916adb86c6..aebc2aa80a9 100644 --- a/docqueries/spanningTree/doc-pgr_primDFS.test.sql +++ b/docqueries/spanningTree/doc-pgr_primDFS.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ /* -- q1 */ SELECT * FROM pgr_primDFS( diff --git a/docqueries/spanningTree/doc-pgr_randomSpanTree.test.sql b/docqueries/spanningTree/doc-pgr_randomSpanTree.test.sql index ede99300ec6..6681bb1435a 100644 --- a/docqueries/spanningTree/doc-pgr_randomSpanTree.test.sql +++ b/docqueries/spanningTree/doc-pgr_randomSpanTree.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ /* -- q1 */ SELECT * FROM pgr_randomSpanTree( diff --git a/docqueries/src/concepts.test.sql b/docqueries/src/concepts.test.sql index 7946691a304..dafe3802b8a 100644 --- a/docqueries/src/concepts.test.sql +++ b/docqueries/src/concepts.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ /* -- g1 */ SELECT * diff --git a/docqueries/src/migration.test.sql b/docqueries/src/migration.test.sql index 08fbf1b22a5..010f6e0afd0 100644 --- a/docqueries/src/migration.test.sql +++ b/docqueries/src/migration.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ \set VERBOSITY terse SET extra_float_digits=-3; diff --git a/docqueries/src/withPoints-category.test.sql b/docqueries/src/withPoints-category.test.sql index 8877905f818..d0d349f56ef 100644 --- a/docqueries/src/withPoints-category.test.sql +++ b/docqueries/src/withPoints-category.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ /* --q1 */ SELECT pid, edge_id, fraction, side FROM pointsOfInterest; diff --git a/docqueries/topologicalSort/doc-topologicalSort.test.sql b/docqueries/topologicalSort/doc-topologicalSort.test.sql index 3b93b154c52..6309d3ccd02 100644 --- a/docqueries/topologicalSort/doc-topologicalSort.test.sql +++ b/docqueries/topologicalSort/doc-topologicalSort.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ /* -- q1 */ SELECT * FROM pgr_topologicalsort( diff --git a/docqueries/topology/createVertTab-any.test.sql b/docqueries/topology/createVertTab-any.test.sql index 066201d05db..b4547dab579 100644 --- a/docqueries/topology/createVertTab-any.test.sql +++ b/docqueries/topology/createVertTab-any.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ ------------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------------ diff --git a/docqueries/topology/degree.test.sql b/docqueries/topology/degree.test.sql index ea12c62c887..52f0a7d677b 100644 --- a/docqueries/topology/degree.test.sql +++ b/docqueries/topology/degree.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ /* -- q1 */ SELECT * FROM pgr_degree( diff --git a/docqueries/topology/doc-pgr_analyzeGraph.test.sql b/docqueries/topology/doc-pgr_analyzeGraph.test.sql index 191d4444f68..102d4fa5dea 100644 --- a/docqueries/topology/doc-pgr_analyzeGraph.test.sql +++ b/docqueries/topology/doc-pgr_analyzeGraph.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ ------------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------------ diff --git a/docqueries/topology/doc-pgr_analyzeOneWay.test.sql b/docqueries/topology/doc-pgr_analyzeOneWay.test.sql index a50aff8d27c..010c058cb91 100644 --- a/docqueries/topology/doc-pgr_analyzeOneWay.test.sql +++ b/docqueries/topology/doc-pgr_analyzeOneWay.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ /* --q1 */ ALTER TABLE edges ADD COLUMN dir TEXT; diff --git a/docqueries/topology/doc-pgr_createTopology.test.sql b/docqueries/topology/doc-pgr_createTopology.test.sql index f0cd78c12b7..74fd01e9b0c 100644 --- a/docqueries/topology/doc-pgr_createTopology.test.sql +++ b/docqueries/topology/doc-pgr_createTopology.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ ------------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------------ diff --git a/docqueries/topology/doc-pgr_createVerticesTable.test.sql b/docqueries/topology/doc-pgr_createVerticesTable.test.sql index e78f8b5afe8..1352f7f83f9 100644 --- a/docqueries/topology/doc-pgr_createVerticesTable.test.sql +++ b/docqueries/topology/doc-pgr_createVerticesTable.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ diff --git a/docqueries/topology/doc-pgr_extractVertices.test.sql b/docqueries/topology/doc-pgr_extractVertices.test.sql index ae7b504bebf..8993cdbeb97 100644 --- a/docqueries/topology/doc-pgr_extractVertices.test.sql +++ b/docqueries/topology/doc-pgr_extractVertices.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ /* --q1 */ SELECT * FROM pgr_extractVertices( diff --git a/docqueries/topology/doc-pgr_nodeNetwork.test.sql b/docqueries/topology/doc-pgr_nodeNetwork.test.sql index cbc5afd38e8..41910e743f3 100644 --- a/docqueries/topology/doc-pgr_nodeNetwork.test.sql +++ b/docqueries/topology/doc-pgr_nodeNetwork.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ -- pgr_nodeNetwork -------------------------------------------------------------------------------- diff --git a/docqueries/topology/issue900.test.sql b/docqueries/topology/issue900.test.sql index 65f536eeabd..104d1b73bd7 100644 --- a/docqueries/topology/issue900.test.sql +++ b/docqueries/topology/issue900.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ ALTER TABLE edges RENAME TO mbta_arc; diff --git a/docqueries/transitiveClosure/doc-transitiveClosure.test.sql b/docqueries/transitiveClosure/doc-transitiveClosure.test.sql index b7b59d7ddd2..a2503eb6661 100644 --- a/docqueries/transitiveClosure/doc-transitiveClosure.test.sql +++ b/docqueries/transitiveClosure/doc-transitiveClosure.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ /* -- q1 */ SELECT * FROM pgr_transitiveclosure( diff --git a/docqueries/traversal/doc-pgr_depthFirstSearch.test.sql b/docqueries/traversal/doc-pgr_depthFirstSearch.test.sql index 667d517ac7e..134b285b9f9 100644 --- a/docqueries/traversal/doc-pgr_depthFirstSearch.test.sql +++ b/docqueries/traversal/doc-pgr_depthFirstSearch.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ /* -- q1 */ SELECT * FROM pgr_depthFirstSearch( diff --git a/docqueries/trsp/doc-trsp.test.sql b/docqueries/trsp/doc-trsp.test.sql index ffe589956ac..e175a1d61f1 100644 --- a/docqueries/trsp/doc-trsp.test.sql +++ b/docqueries/trsp/doc-trsp.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ /* -- q2 */ SELECT * FROM pgr_trsp( diff --git a/docqueries/trsp/four_edges.test.sql b/docqueries/trsp/four_edges.test.sql index 84014005f1c..34f647337ed 100644 --- a/docqueries/trsp/four_edges.test.sql +++ b/docqueries/trsp/four_edges.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ SET extra_float_digits=-3; CREATE TABLE four_edges ( diff --git a/docqueries/trsp/issue693.test.sql b/docqueries/trsp/issue693.test.sql index 6e7d5b1886c..0a5521a19eb 100644 --- a/docqueries/trsp/issue693.test.sql +++ b/docqueries/trsp/issue693.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ diff --git a/docqueries/trsp/issue704.test.sql b/docqueries/trsp/issue704.test.sql index fafe4eefaa2..5ed37d9584b 100644 --- a/docqueries/trsp/issue704.test.sql +++ b/docqueries/trsp/issue704.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ diff --git a/docqueries/trsp/issue717.test.sql b/docqueries/trsp/issue717.test.sql index b9e8d0b1c10..399ded0e6d1 100644 --- a/docqueries/trsp/issue717.test.sql +++ b/docqueries/trsp/issue717.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ /*PGR-GNU***************************************************************** diff --git a/docqueries/trsp/trsp-any-02.test.sql b/docqueries/trsp/trsp-any-02.test.sql index a5a6a9164d5..769d7c03a30 100644 --- a/docqueries/trsp/trsp-any-02.test.sql +++ b/docqueries/trsp/trsp-any-02.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ SET extra_float_digits=-3; diff --git a/docqueries/trsp/trsp-renumber.test.sql b/docqueries/trsp/trsp-renumber.test.sql index 1f5a4f3e7ef..3002b64ca89 100644 --- a/docqueries/trsp/trsp-renumber.test.sql +++ b/docqueries/trsp/trsp-renumber.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ diff --git a/docqueries/trsp/trspVia.test.sql b/docqueries/trsp/trspVia.test.sql index 62b32ad9dbe..4e15de3a94e 100644 --- a/docqueries/trsp/trspVia.test.sql +++ b/docqueries/trsp/trspVia.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ -- documentation queries /* -- q0 */ diff --git a/docqueries/trsp/trspVia_withPoints.test.sql b/docqueries/trsp/trspVia_withPoints.test.sql index 4f2cbfe7e79..1ca7943e3f7 100644 --- a/docqueries/trsp/trspVia_withPoints.test.sql +++ b/docqueries/trsp/trspVia_withPoints.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ SET extra_float_digits=-3; /* -- q0 */ diff --git a/docqueries/trsp/trsp_vias-any-04.test.sql b/docqueries/trsp/trsp_vias-any-04.test.sql index 56fe634e098..d2654202dac 100644 --- a/docqueries/trsp/trsp_vias-any-04.test.sql +++ b/docqueries/trsp/trsp_vias-any-04.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ /*PGR-GNU***************************************************************** diff --git a/docqueries/trsp/trsp_withPoints.test.sql b/docqueries/trsp/trsp_withPoints.test.sql index d8ac03e12d4..fbbc170e111 100644 --- a/docqueries/trsp/trsp_withPoints.test.sql +++ b/docqueries/trsp/trsp_withPoints.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ SET extra_float_digits=-3; diff --git a/docqueries/tsp/doc-pgr_TSP.test.sql b/docqueries/tsp/doc-pgr_TSP.test.sql index 67a2970cf11..3b24b6b5025 100644 --- a/docqueries/tsp/doc-pgr_TSP.test.sql +++ b/docqueries/tsp/doc-pgr_TSP.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ SET extra_float_digits=-3; SET client_min_messages TO WARNING; diff --git a/docqueries/tsp/doc-pgr_TSPeuclidean.test.sql b/docqueries/tsp/doc-pgr_TSPeuclidean.test.sql index 7f67e6412e0..cef40acd392 100644 --- a/docqueries/tsp/doc-pgr_TSPeuclidean.test.sql +++ b/docqueries/tsp/doc-pgr_TSPeuclidean.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ SET log_min_duration_statement=-1; SET extra_float_digits=-3; diff --git a/docqueries/tsp/wi29.sql b/docqueries/tsp/wi29.sql index 4c406cc323d..0d01177c824 100644 --- a/docqueries/tsp/wi29.sql +++ b/docqueries/tsp/wi29.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ -- NAME : wi29 -- COMMENT : 29 locations in Western Sahara diff --git a/docqueries/utilities/findCloseEdges.test.sql b/docqueries/utilities/findCloseEdges.test.sql index da97f0ef39b..17dc38e9a56 100644 --- a/docqueries/utilities/findCloseEdges.test.sql +++ b/docqueries/utilities/findCloseEdges.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ /* -- q1 */ SELECT * diff --git a/docqueries/version/doc-full_version.result b/docqueries/version/doc-full_version.result index 1425195fe37..f9930536f47 100644 --- a/docqueries/version/doc-full_version.result +++ b/docqueries/version/doc-full_version.result @@ -6,7 +6,7 @@ SET SELECT version, library FROM pgr_full_version(); version | library ---------+----------------- - 3.4.1 | pgrouting-3.4.1 + 3.4.2 | pgrouting-3.4.2 (1 row) /* -- q2 */ diff --git a/docqueries/version/doc-full_version.test.sql b/docqueries/version/doc-full_version.test.sql index 127b7231ce4..c3c7612a460 100644 --- a/docqueries/version/doc-full_version.test.sql +++ b/docqueries/version/doc-full_version.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ -------------------------------------------------------------------------------- diff --git a/docqueries/version/doc-version.result b/docqueries/version/doc-version.result index 6166184aab0..db75ad04c88 100644 --- a/docqueries/version/doc-version.result +++ b/docqueries/version/doc-version.result @@ -6,7 +6,7 @@ SET SELECT pgr_version(); pgr_version ------------- - 3.4.1 + 3.4.2 (1 row) /* -- q2 */ diff --git a/docqueries/version/doc-version.test.sql b/docqueries/version/doc-version.test.sql index a215535596d..27f39973f74 100644 --- a/docqueries/version/doc-version.test.sql +++ b/docqueries/version/doc-version.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ -------------------------------------------------------------------------------- diff --git a/docqueries/vrp_basic/doc-pgr_vrpOneDepot.test.sql b/docqueries/vrp_basic/doc-pgr_vrpOneDepot.test.sql index c7e7256c07a..44256eaf84d 100644 --- a/docqueries/vrp_basic/doc-pgr_vrpOneDepot.test.sql +++ b/docqueries/vrp_basic/doc-pgr_vrpOneDepot.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ SELECT * FROM pgr_vrpOneDepot( diff --git a/docqueries/vrp_basic/oneDepotWrapper.test.sql b/docqueries/vrp_basic/oneDepotWrapper.test.sql index b04d8b56b7c..9bfd03776ef 100644 --- a/docqueries/vrp_basic/oneDepotWrapper.test.sql +++ b/docqueries/vrp_basic/oneDepotWrapper.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ SET extra_float_digits=-3; diff --git a/docqueries/withPoints/doc-pgr_withPoints.test.sql b/docqueries/withPoints/doc-pgr_withPoints.test.sql index 03584746f47..2e68cac5565 100644 --- a/docqueries/withPoints/doc-pgr_withPoints.test.sql +++ b/docqueries/withPoints/doc-pgr_withPoints.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ SET extra_float_digits=-3; /* -- q1 */ diff --git a/docqueries/withPoints/doc-pgr_withPointsCost.test.sql b/docqueries/withPoints/doc-pgr_withPointsCost.test.sql index 969ecab1a6e..1a625cd941a 100644 --- a/docqueries/withPoints/doc-pgr_withPointsCost.test.sql +++ b/docqueries/withPoints/doc-pgr_withPointsCost.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ SET extra_float_digits=-3; /* -- q1 */ diff --git a/docqueries/withPoints/doc-pgr_withPointsCostMatrix.test.sql b/docqueries/withPoints/doc-pgr_withPointsCostMatrix.test.sql index eb84fa896ea..aa28062d911 100644 --- a/docqueries/withPoints/doc-pgr_withPointsCostMatrix.test.sql +++ b/docqueries/withPoints/doc-pgr_withPointsCostMatrix.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ SET extra_float_digits=-3; /* -- q1 */ diff --git a/docqueries/withPoints/doc-pgr_withPointsDD.test.sql b/docqueries/withPoints/doc-pgr_withPointsDD.test.sql index a9bec8931cf..f0e234d9c43 100644 --- a/docqueries/withPoints/doc-pgr_withPointsDD.test.sql +++ b/docqueries/withPoints/doc-pgr_withPointsDD.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ SET extra_float_digits=-3; /* -- q2 */ diff --git a/docqueries/withPoints/doc-pgr_withPointsKSP.test.sql b/docqueries/withPoints/doc-pgr_withPointsKSP.test.sql index bcfc47bfbb6..89ed7818ae8 100644 --- a/docqueries/withPoints/doc-pgr_withPointsKSP.test.sql +++ b/docqueries/withPoints/doc-pgr_withPointsKSP.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ SET extra_float_digits=-3; /* --q1 */ diff --git a/docqueries/withPoints/withPointsVia.test.sql b/docqueries/withPoints/withPointsVia.test.sql index b01412ae9ca..fdd6613df17 100644 --- a/docqueries/withPoints/withPointsVia.test.sql +++ b/docqueries/withPoints/withPointsVia.test.sql @@ -1,3 +1,4 @@ +-- CopyRight(c) pgRouting developers -- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ SET extra_float_digits=-3; /* -- q0 */ diff --git a/include/allpairs/pgr_allpairs.hpp b/include/allpairs/pgr_allpairs.hpp index 1543cff30d0..d648bd0c129 100644 --- a/include/allpairs/pgr_allpairs.hpp +++ b/include/allpairs/pgr_allpairs.hpp @@ -28,6 +28,10 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. #define INCLUDE_ALLPAIRS_PGR_ALLPAIRS_HPP_ #pragma once +#include +#include +#include +#include #include #include @@ -35,13 +39,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. #include #include - -#include -#include -#include -#include - - #include "c_types/iid_t_rt.h" #include "cpp_common/basePath_SSEC.hpp" #include "cpp_common/pgr_base_graph.hpp" diff --git a/include/astar/pgr_astar.hpp b/include/astar/pgr_astar.hpp index d8f4b321f32..2e49e5db7f2 100644 --- a/include/astar/pgr_astar.hpp +++ b/include/astar/pgr_astar.hpp @@ -28,11 +28,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. #define INCLUDE_ASTAR_PGR_ASTAR_HPP_ #pragma once -#include -#include -#include -#include - #include #include #include @@ -41,6 +36,11 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. #include #include +#include +#include +#include +#include + #include "cpp_common/basePath_SSEC.hpp" #include "cpp_common/pgr_base_graph.hpp" #include "cpp_common/interruption.h" diff --git a/include/bellman_ford/pgr_bellman_ford.hpp b/include/bellman_ford/pgr_bellman_ford.hpp index 71369e21670..6dadd981d2c 100644 --- a/include/bellman_ford/pgr_bellman_ford.hpp +++ b/include/bellman_ford/pgr_bellman_ford.hpp @@ -28,9 +28,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. #define INCLUDE_BELLMAN_FORD_PGR_BELLMAN_FORD_HPP_ #pragma once -#include -#include -#include #include #include #include @@ -40,6 +37,9 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. #include #include #include +#include +#include +#include #include "cpp_common/pgr_messages.h" #include "cpp_common/basePath_SSEC.hpp" #include "cpp_common/pgr_base_graph.hpp" diff --git a/include/breadthFirstSearch/pgr_breadthFirstSearch.hpp b/include/breadthFirstSearch/pgr_breadthFirstSearch.hpp index 1719aea17e9..a45ac502ad3 100644 --- a/include/breadthFirstSearch/pgr_breadthFirstSearch.hpp +++ b/include/breadthFirstSearch/pgr_breadthFirstSearch.hpp @@ -25,12 +25,11 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. #define INCLUDE_BREADTHFIRSTSEARCH_PGR_BREADTHFIRSTSEARCH_HPP_ #pragma once +#include #include #include -#include - #include "cpp_common/pgr_base_graph.hpp" #include "cpp_common/interruption.h" #include "c_types/mst_rt.h" diff --git a/include/circuits/hawickcircuits.hpp b/include/circuits/hawickcircuits.hpp index e1f745db56e..1814d58760d 100644 --- a/include/circuits/hawickcircuits.hpp +++ b/include/circuits/hawickcircuits.hpp @@ -28,14 +28,14 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. #define INCLUDE_CIRCUITS_HAWICKCIRCUITS_HPP_ #pragma once -#include -#include -#include - #include #include #include +#include +#include +#include + #include "cpp_common/basePath_SSEC.hpp" #include "cpp_common/pgr_base_graph.hpp" #include "cpp_common/interruption.h" diff --git a/include/coloring/pgr_bipartite_driver.hpp b/include/coloring/pgr_bipartite_driver.hpp index c57774ffed7..84abe2e0cd7 100644 --- a/include/coloring/pgr_bipartite_driver.hpp +++ b/include/coloring/pgr_bipartite_driver.hpp @@ -32,15 +32,15 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. #define INCLUDE_COLORING_PGR_BIPARTITE_DRIVER_HPP_ #pragma once +#include +#include +#include + #include #include #include #include -#include -#include -#include - #include "cpp_common/pgr_base_graph.hpp" #include "cpp_common/pgr_messages.h" #include "cpp_common/interruption.h" diff --git a/include/coloring/pgr_edgeColoring.hpp b/include/coloring/pgr_edgeColoring.hpp index de98eaa4f1c..b1eaa637173 100644 --- a/include/coloring/pgr_edgeColoring.hpp +++ b/include/coloring/pgr_edgeColoring.hpp @@ -27,13 +27,13 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. #define INCLUDE_COLORING_PGR_EDGECOLORING_HPP_ #pragma once -#include -#include - #include #include #include +#include +#include + #include "c_types/edge_t.h" #include "c_types/ii_t_rt.h" #include "cpp_common/pgr_assert.h" diff --git a/include/coloring/pgr_sequentialVertexColoring.hpp b/include/coloring/pgr_sequentialVertexColoring.hpp index 6f5d6ea6b39..0fc5e611c0a 100644 --- a/include/coloring/pgr_sequentialVertexColoring.hpp +++ b/include/coloring/pgr_sequentialVertexColoring.hpp @@ -25,6 +25,9 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. #define INCLUDE_COLORING_PGR_SEQUENTIALVERTEXCOLORING_HPP_ #pragma once +#include +#include +#include #include #include @@ -33,10 +36,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. #include #include -#include -#include -#include - #include "cpp_common/pgr_base_graph.hpp" #include "cpp_common/interruption.h" diff --git a/include/components/pgr_components.hpp b/include/components/pgr_components.hpp index 732f9297dad..8167b976651 100644 --- a/include/components/pgr_components.hpp +++ b/include/components/pgr_components.hpp @@ -28,17 +28,17 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. #define INCLUDE_COMPONENTS_PGR_COMPONENTS_HPP_ #pragma once +#include +#include +#include +#include + #include #include #include #include #include -#include -#include -#include -#include - #include "cpp_common/pgr_base_graph.hpp" #include "cpp_common/identifiers.hpp" #include "components/componentsResult.h" diff --git a/include/components/pgr_makeConnected.hpp b/include/components/pgr_makeConnected.hpp index e8dc68603b1..1b3661f5b6e 100644 --- a/include/components/pgr_makeConnected.hpp +++ b/include/components/pgr_makeConnected.hpp @@ -25,6 +25,10 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. #define INCLUDE_COMPONENTS_PGR_MAKECONNECTED_HPP_ #pragma once +#include +#include +#include + #include #include #include @@ -33,10 +37,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. #include #include -#include -#include -#include - #include "c_types/ii_t_rt.h" #include "cpp_common/pgr_messages.h" #include "cpp_common/pgr_base_graph.hpp" diff --git a/include/contraction/pgr_contractionGraph.hpp b/include/contraction/pgr_contractionGraph.hpp index a9059003916..9880507b3b9 100644 --- a/include/contraction/pgr_contractionGraph.hpp +++ b/include/contraction/pgr_contractionGraph.hpp @@ -31,14 +31,14 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. #define INCLUDE_CONTRACTION_PGR_CONTRACTIONGRAPH_HPP_ #pragma once -#include - #include #include #include #include #include +#include + #include "cpp_common/pgr_base_graph.hpp" #include "cpp_common/ch_vertex.h" #include "cpp_common/ch_edge.h" diff --git a/include/contraction/pgr_linearContraction.hpp b/include/contraction/pgr_linearContraction.hpp index 50ee54aaeba..7c1d1fc3c55 100644 --- a/include/contraction/pgr_linearContraction.hpp +++ b/include/contraction/pgr_linearContraction.hpp @@ -32,13 +32,13 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. #pragma once -#include -#include - #include #include #include +#include +#include + #include "cpp_common/identifiers.hpp" diff --git a/include/cpp_common/basePath_SSEC.hpp b/include/cpp_common/basePath_SSEC.hpp index e7dd41b3071..ce039d9e091 100644 --- a/include/cpp_common/basePath_SSEC.hpp +++ b/include/cpp_common/basePath_SSEC.hpp @@ -28,17 +28,15 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. #define INCLUDE_CPP_COMMON_BASEPATH_SSEC_HPP_ #pragma once - -#include -#include - - #include #include #include #include #include +#include +#include + #include "c_types/path_rt.h" #include "cpp_common/path_t.h" #include "cpp_common/pgr_base_graph.hpp" diff --git a/include/cpp_common/pgr_base_graph.hpp b/include/cpp_common/pgr_base_graph.hpp index 776c08f816b..280b8c0fe72 100644 --- a/include/cpp_common/pgr_base_graph.hpp +++ b/include/cpp_common/pgr_base_graph.hpp @@ -26,17 +26,17 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. #define INCLUDE_CPP_COMMON_PGR_BASE_GRAPH_HPP_ #pragma once -#include -#include -#include -#include - #include #include #include #include #include +#include +#include +#include +#include + #include "c_types/graph_enum.h" #include "cpp_common/basic_vertex.h" diff --git a/include/cpp_common/pgr_bidirectional.hpp b/include/cpp_common/pgr_bidirectional.hpp index f8f40fda487..00c60aa8fae 100644 --- a/include/cpp_common/pgr_bidirectional.hpp +++ b/include/cpp_common/pgr_bidirectional.hpp @@ -34,11 +34,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. #pragma once -#include - -#include -#include - #include #include #include @@ -47,6 +42,9 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. #include #include +#include +#include +#include #include "cpp_common/pgr_assert.h" diff --git a/include/dagShortestPath/pgr_dagShortestPath.hpp b/include/dagShortestPath/pgr_dagShortestPath.hpp index 76c8094e89b..f74e9bad2f4 100644 --- a/include/dagShortestPath/pgr_dagShortestPath.hpp +++ b/include/dagShortestPath/pgr_dagShortestPath.hpp @@ -28,10 +28,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. #define INCLUDE_DAGSHORTESTPATH_PGR_DAGSHORTESTPATH_HPP_ #pragma once -#include -#include -#include -#include #include #include #include @@ -41,6 +37,11 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. #include #include +#include +#include +#include +#include + #include "cpp_common/basePath_SSEC.hpp" #include "cpp_common/pgr_base_graph.hpp" #include "cpp_common/interruption.h" diff --git a/include/dijkstra/pgr_dijkstra.hpp b/include/dijkstra/pgr_dijkstra.hpp index 51ddf632883..f9ec0666aff 100644 --- a/include/dijkstra/pgr_dijkstra.hpp +++ b/include/dijkstra/pgr_dijkstra.hpp @@ -36,10 +36,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. #define INCLUDE_DIJKSTRA_PGR_DIJKSTRA_HPP_ #pragma once -#include -#include -#include - #include #include #include @@ -50,6 +46,10 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. #include #include +#include +#include +#include + #include "c_types/ii_t_rt.h" #include "cpp_common/basePath_SSEC.hpp" #include "cpp_common/pgr_base_graph.hpp" diff --git a/include/dominator/pgr_lengauerTarjanDominatorTree_driver.hpp b/include/dominator/pgr_lengauerTarjanDominatorTree_driver.hpp index fd7765eef8d..25e350a192d 100644 --- a/include/dominator/pgr_lengauerTarjanDominatorTree_driver.hpp +++ b/include/dominator/pgr_lengauerTarjanDominatorTree_driver.hpp @@ -32,6 +32,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. #define INCLUDE_DOMINATOR_PGR_LENGAUERTARJANDOMINATORTREE_DRIVER_HPP_ #pragma once +#include +#include #include #include @@ -39,8 +41,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. #include #include -#include -#include #include "cpp_common/interruption.h" #include "cpp_common/pgr_messages.h" #include "cpp_common/pgr_base_graph.hpp" diff --git a/include/max_flow/pgr_maxflow.hpp b/include/max_flow/pgr_maxflow.hpp index 05140425fe5..49d21ebd6da 100644 --- a/include/max_flow/pgr_maxflow.hpp +++ b/include/max_flow/pgr_maxflow.hpp @@ -28,13 +28,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. #define INCLUDE_MAX_FLOW_PGR_MAXFLOW_HPP_ #pragma once - -#include "pgr_flowgraph.hpp" -#include -#include -#include - - #include #include #include @@ -42,6 +35,11 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. #include #include +#include "max_flow/pgr_flowgraph.hpp" +#include +#include +#include + #include "c_types/flow_t.h" #include "c_types/edge_t.h" #include "c_types/path_rt.h" diff --git a/include/max_flow/pgr_maximumcardinalitymatching.hpp b/include/max_flow/pgr_maximumcardinalitymatching.hpp index 5869e9e6850..1c0022cc263 100644 --- a/include/max_flow/pgr_maximumcardinalitymatching.hpp +++ b/include/max_flow/pgr_maximumcardinalitymatching.hpp @@ -33,18 +33,16 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. #define INCLUDE_MAX_FLOW_PGR_MAXIMUMCARDINALITYMATCHING_HPP_ #pragma once - -#include -#include -#include - - #include #include #include #include #include +#include +#include +#include + #include "c_types/edge_bool_t_rt.h" diff --git a/include/max_flow/pgr_minCostMaxFlow.hpp b/include/max_flow/pgr_minCostMaxFlow.hpp index cb6f684a734..7d5320da438 100644 --- a/include/max_flow/pgr_minCostMaxFlow.hpp +++ b/include/max_flow/pgr_minCostMaxFlow.hpp @@ -28,9 +28,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. #define INCLUDE_MAX_FLOW_PGR_MINCOSTMAXFLOW_HPP_ #pragma once -#include -#include - #include #include #include @@ -38,6 +35,9 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. #include #include +#include +#include + #include "c_types/flow_t.h" #include "c_types/costFlow_t.h" #include "max_flow/pgr_costFlowGraph.hpp" diff --git a/include/mincut/pgr_stoerWagner.hpp b/include/mincut/pgr_stoerWagner.hpp index 975b6b93a31..fb5a7741e89 100644 --- a/include/mincut/pgr_stoerWagner.hpp +++ b/include/mincut/pgr_stoerWagner.hpp @@ -29,14 +29,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. #define INCLUDE_MINCUT_PGR_STOERWAGNER_HPP_ #pragma once -#include -#include -#include -#include -#include -#include -#include - #include #include #include @@ -45,6 +37,14 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. #include #include "cpp_common/basePath_SSEC.hpp" +#include +#include +#include +#include +#include +#include +#include + #include "cpp_common/pgr_base_graph.hpp" #include "c_types/stoerWagner_t.h" diff --git a/include/ordering/cuthillMckeeOrdering.hpp b/include/ordering/cuthillMckeeOrdering.hpp index 29920cd66b7..26767e3ed2c 100644 --- a/include/ordering/cuthillMckeeOrdering.hpp +++ b/include/ordering/cuthillMckeeOrdering.hpp @@ -31,6 +31,9 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. #define INCLUDE_ORDERING_CUTHILLMCKEEORDERING_HPP_ #pragma once +#include +#include +#include #include #include @@ -39,10 +42,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. #include #include -#include -#include -#include - #include "cpp_common/pgr_base_graph.hpp" #include "cpp_common/interruption.h" #include "cpp_common/pgr_messages.h" diff --git a/include/planar/pgr_boyerMyrvold.hpp b/include/planar/pgr_boyerMyrvold.hpp index a521b1dae88..3134e767ab0 100644 --- a/include/planar/pgr_boyerMyrvold.hpp +++ b/include/planar/pgr_boyerMyrvold.hpp @@ -25,6 +25,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. #define INCLUDE_PLANAR_PGR_BOYERMYRVOLD_HPP_ #pragma once +#include + #include #include #include @@ -33,8 +35,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. #include #include -#include - #include "cpp_common/pgr_messages.h" #include "cpp_common/pgr_base_graph.hpp" #include "cpp_common/interruption.h" diff --git a/include/spanningTree/pgr_kruskal.hpp b/include/spanningTree/pgr_kruskal.hpp index 908327de5f9..53955242e51 100644 --- a/include/spanningTree/pgr_kruskal.hpp +++ b/include/spanningTree/pgr_kruskal.hpp @@ -29,8 +29,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. #define INCLUDE_SPANNINGTREE_PGR_KRUSKAL_HPP_ #pragma once -#include #include +#include #include "spanningTree/pgr_mst.hpp" #include "cpp_common/interruption.h" diff --git a/include/spanningTree/pgr_mst.hpp b/include/spanningTree/pgr_mst.hpp index 49331459850..c9d1719b7f6 100644 --- a/include/spanningTree/pgr_mst.hpp +++ b/include/spanningTree/pgr_mst.hpp @@ -26,17 +26,17 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. #define INCLUDE_SPANNINGTREE_PGR_MST_HPP_ #pragma once +#include +#include +#include +#include + #include #include #include #include #include -#include -#include -#include -#include - #include "cpp_common/pgr_base_graph.hpp" #include "cpp_common/interruption.h" #include "spanningTree/details.hpp" diff --git a/include/spanningTree/pgr_prim.hpp b/include/spanningTree/pgr_prim.hpp index d3334ec870c..00b7c52fdda 100644 --- a/include/spanningTree/pgr_prim.hpp +++ b/include/spanningTree/pgr_prim.hpp @@ -29,12 +29,12 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. #define INCLUDE_SPANNINGTREE_PGR_PRIM_HPP_ #pragma once -#include -#include - #include #include +#include +#include + #include "spanningTree/pgr_mst.hpp" #include "cpp_common/interruption.h" diff --git a/include/spanningTree/pgr_randomSpanningTree.hpp b/include/spanningTree/pgr_randomSpanningTree.hpp index 0358c326103..fad84cd6f05 100644 --- a/include/spanningTree/pgr_randomSpanningTree.hpp +++ b/include/spanningTree/pgr_randomSpanningTree.hpp @@ -29,17 +29,17 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. #define INCLUDE_SPANNINGTREE_PGR_RANDOMSPANNINGTREE_HPP_ #pragma once +#include +#include +#include +#include + #include #include #include #include #include -#include -#include -#include -#include - #include "cpp_common/basePath_SSEC.hpp" #include "cpp_common/pgr_base_graph.hpp" #include "cpp_common/interruption.h" diff --git a/include/topologicalSort/pgr_topologicalSort.hpp b/include/topologicalSort/pgr_topologicalSort.hpp index 2f72d88fbf9..b45dd639f78 100644 --- a/include/topologicalSort/pgr_topologicalSort.hpp +++ b/include/topologicalSort/pgr_topologicalSort.hpp @@ -26,12 +26,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. #define INCLUDE_TOPOLOGICALSORT_PGR_TOPOLOGICALSORT_HPP_ #pragma once -#include -#include -#include -#include -#include - #include #include @@ -41,6 +35,12 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. #include #include +#include +#include +#include +#include +#include + #include "cpp_common/basePath_SSEC.hpp" #include "cpp_common/pgr_base_graph.hpp" #include "cpp_common/interruption.h" diff --git a/include/transitiveClosure/pgr_transitiveClosure.hpp b/include/transitiveClosure/pgr_transitiveClosure.hpp index 187327ed8bf..0a88925bf1f 100644 --- a/include/transitiveClosure/pgr_transitiveClosure.hpp +++ b/include/transitiveClosure/pgr_transitiveClosure.hpp @@ -31,12 +31,12 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. #define INCLUDE_TRANSITIVECLOSURE_PGR_TRANSITIVECLOSURE_HPP_ #pragma once -#include #include #include #include +#include #include "cpp_common/pgr_assert.h" diff --git a/include/traversal/pgr_depthFirstSearch.hpp b/include/traversal/pgr_depthFirstSearch.hpp index 5fbd404e773..74c645235bc 100644 --- a/include/traversal/pgr_depthFirstSearch.hpp +++ b/include/traversal/pgr_depthFirstSearch.hpp @@ -25,14 +25,13 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. #define INCLUDE_TRAVERSAL_PGR_DEPTHFIRSTSEARCH_HPP_ #pragma once +#include +#include #include #include #include -#include -#include - #include "cpp_common/pgr_base_graph.hpp" #include "cpp_common/interruption.h" #include "c_types/mst_rt.h" diff --git a/include/tsp/tsp.hpp b/include/tsp/tsp.hpp index 7a5db1e1152..830fb78c0d5 100644 --- a/include/tsp/tsp.hpp +++ b/include/tsp/tsp.hpp @@ -29,15 +29,15 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. #pragma once -#include -#include - #include #include #include #include #include +#include +#include + #include "c_types/iid_t_rt.h" #include "c_types/coordinate_t.h" #include "cpp_common/pgr_messages.h" diff --git a/include/visitors/dfs_visitor.hpp b/include/visitors/dfs_visitor.hpp index 82756f5f5d1..9b1de951f6b 100644 --- a/include/visitors/dfs_visitor.hpp +++ b/include/visitors/dfs_visitor.hpp @@ -29,13 +29,13 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. #define INCLUDE_VISITORS_DFS_VISITOR_HPP_ #pragma once -#include - #include #include #include #include +#include + #include "visitors/found_goals.hpp" namespace pgrouting { diff --git a/include/visitors/dfs_visitor_with_root.hpp b/include/visitors/dfs_visitor_with_root.hpp index c8cca81ab71..26d10a4f9f5 100644 --- a/include/visitors/dfs_visitor_with_root.hpp +++ b/include/visitors/dfs_visitor_with_root.hpp @@ -29,10 +29,10 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. #define INCLUDE_VISITORS_DFS_VISITOR_WITH_ROOT_HPP_ #pragma once -#include - #include +#include + #include "visitors/found_goals.hpp" namespace pgrouting { diff --git a/include/visitors/edges_order_bfs_visitor.hpp b/include/visitors/edges_order_bfs_visitor.hpp index 1b1d961aa70..d779e8761e5 100644 --- a/include/visitors/edges_order_bfs_visitor.hpp +++ b/include/visitors/edges_order_bfs_visitor.hpp @@ -30,8 +30,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. #define INCLUDE_VISITORS_EDGES_ORDER_BFS_VISITOR_HPP_ #pragma once -#include #include +#include namespace pgrouting { diff --git a/include/visitors/edges_order_dfs_visitor.hpp b/include/visitors/edges_order_dfs_visitor.hpp index 453339abdc6..42859b0f484 100644 --- a/include/visitors/edges_order_dfs_visitor.hpp +++ b/include/visitors/edges_order_dfs_visitor.hpp @@ -30,8 +30,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. #define INCLUDE_VISITORS_EDGES_ORDER_DFS_VISITOR_HPP_ #pragma once -#include #include +#include #include "visitors/found_goals.hpp" namespace pgrouting { diff --git a/include/visitors/prim_dijkstra_visitor.hpp b/include/visitors/prim_dijkstra_visitor.hpp index f31d7724904..0ad1e7b59a9 100644 --- a/include/visitors/prim_dijkstra_visitor.hpp +++ b/include/visitors/prim_dijkstra_visitor.hpp @@ -30,8 +30,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. #define INCLUDE_VISITORS_PRIM_DIJKSTRA_VISITOR_HPP_ #pragma once -#include #include +#include namespace pgrouting { diff --git a/locale/en/LC_MESSAGES/pgrouting_doc_strings.po b/locale/en/LC_MESSAGES/pgrouting_doc_strings.po index 1875c014562..297d8dda4cf 100644 --- a/locale/en/LC_MESSAGES/pgrouting_doc_strings.po +++ b/locale/en/LC_MESSAGES/pgrouting_doc_strings.po @@ -8,14 +8,14 @@ msgid "" msgstr "" "Project-Id-Version: pgRouting v3.4.0-dev\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-10-10 17:48+0000\n" +"POT-Creation-Date: 2022-11-23 18:30+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.10.3\n" +"Generated-By: Babel 2.11.0\n" msgid "" "**Supported versions:** `Latest `_ on Github." msgstr "" +msgid "pgRouting 3.4.2 Release Notes" +msgstr "" + +msgid "No Changes Yet" +msgstr "" + msgid "pgRouting 3.4.1 Release Notes" msgstr "" diff --git a/locale/pot/pgrouting_doc_strings.pot b/locale/pot/pgrouting_doc_strings.pot index bcceb4f8b98..a653a23714c 100644 --- a/locale/pot/pgrouting_doc_strings.pot +++ b/locale/pot/pgrouting_doc_strings.pot @@ -1,14 +1,14 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) pgRouting Contributors - Version v3.4.1 +# Copyright (C) pgRouting Contributors - Version v3.4.2 # This file is distributed under the same license as the pgRouting package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: pgRouting v3.4.1\n" +"Project-Id-Version: pgRouting v3.4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-10-10 17:48+0000\n" +"POT-Creation-Date: 2022-11-23 18:30+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -5752,7 +5752,7 @@ msgstr "" msgid "Upgrading the database" msgstr "" -msgid "To upgrade pgRouting in the database to version 3.4.1 use the following command:" +msgid "To upgrade pgRouting in the database to version 3.4.2 use the following command:" msgstr "" msgid "More information can be found in https://www.postgresql.org/docs/current/sql-createextension.html" @@ -12985,6 +12985,12 @@ msgstr "" msgid "To see the full list of changes check the list of `Git commits `_ on Github." msgstr "" +msgid "pgRouting 3.4.2 Release Notes" +msgstr "" + +msgid "No Changes Yet" +msgstr "" + msgid "pgRouting 3.4.1 Release Notes" msgstr "" diff --git a/src/alpha_shape/alphaShape_driver.cpp b/src/alpha_shape/alphaShape_driver.cpp index e66aa4e76a6..ae6504f3b95 100644 --- a/src/alpha_shape/alphaShape_driver.cpp +++ b/src/alpha_shape/alphaShape_driver.cpp @@ -26,7 +26,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * this file is not compiled with boost 1.53 or less */ #include "drivers/alpha_shape/alphaShape_driver.h" -#include #include #include @@ -34,6 +33,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. #include #include +#include + #include "c_types/geom_text_rt.h" #include "cpp_common/pgr_assert.h" #include "alphaShape/pgr_alphaShape.h" diff --git a/src/alpha_shape/pgr_alphaShape.cpp b/src/alpha_shape/pgr_alphaShape.cpp index e87e6a357e5..13c811172d9 100644 --- a/src/alpha_shape/pgr_alphaShape.cpp +++ b/src/alpha_shape/pgr_alphaShape.cpp @@ -27,6 +27,13 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. #include "alphaShape/pgr_alphaShape.h" +#include +#include +#include +#include +#include +#include + #include #include #include @@ -43,12 +50,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. #include -#include -#include -#include -#include -#include -#include #include "cpp_common/interruption.h" namespace bg = boost::geometry; diff --git a/src/coloring/pgr_edgeColoring.cpp b/src/coloring/pgr_edgeColoring.cpp index 26d31c5e122..17ef2764a5b 100644 --- a/src/coloring/pgr_edgeColoring.cpp +++ b/src/coloring/pgr_edgeColoring.cpp @@ -27,14 +27,15 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. ********************************************************************PGR-GNU*/ #include "coloring/pgr_edgeColoring.hpp" -#include -#include #include #include #include #include "cpp_common/identifiers.hpp" +#include +#include + #include "cpp_common/pgr_assert.h" #include "cpp_common/interruption.h" diff --git a/src/common/xy_vertex.cpp b/src/common/xy_vertex.cpp index 1ca59c76e79..4b3f59215e0 100644 --- a/src/common/xy_vertex.cpp +++ b/src/common/xy_vertex.cpp @@ -23,12 +23,12 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. ********************************************************************PGR-GNU*/ #include "cpp_common/xy_vertex.h" -#include #include #include #include +#include #include "cpp_common/pgr_assert.h" namespace { diff --git a/src/components/pgr_components.cpp b/src/components/pgr_components.cpp index 56692cdd69d..a90fa71ddd6 100644 --- a/src/components/pgr_components.cpp +++ b/src/components/pgr_components.cpp @@ -26,17 +26,17 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. #include "components/pgr_components.hpp" +#include +#include +#include +#include + #include #include #include #include #include -#include -#include -#include -#include - #include "cpp_common/identifiers.hpp" #include "cpp_common/interruption.h" diff --git a/src/tsp/tsp.cpp b/src/tsp/tsp.cpp index f2a0e002c4b..5ae112aefdf 100644 --- a/src/tsp/tsp.cpp +++ b/src/tsp/tsp.cpp @@ -25,11 +25,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. ********************************************************************PGR-GNU*/ #include "tsp/tsp.hpp" -#include -#include -#include -#include - #include #include @@ -37,6 +32,11 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. #include #include +#include +#include +#include +#include + #include "cpp_common/identifiers.hpp" #include "cpp_common/pgr_messages.h" #include "cpp_common/pgr_assert.h" diff --git a/tools/scripts/code_checker.sh b/tools/scripts/code_checker.sh index afb68e2e0f0..def08ebbad1 100755 --- a/tools/scripts/code_checker.sh +++ b/tools/scripts/code_checker.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # -*- coding: utf-8 -*- ############################################################################### # @@ -32,11 +32,13 @@ set -e if ! test -d code_linter; then # Get our fork of codespell that adds --words-white-list and full filename support for -S option mkdir code_linter - cd code_linter || exit 1 - git clone https://github.com/google/styleguide - cd styleguide || exit 1 - git checkout gh-pages - cd ../.. || exit 1 + pushd code_linter || exit 1 + git clone --branch develop https://github.com/cpplint/cpplint + # cd styleguide || exit 1 + # git checkout gh-pages + popd || exit 1 + ls code_linter + ls code_linter/cpplint echo code_linter installed fi @@ -46,15 +48,15 @@ if test -z "$DIRECTORY"; then echo "--------------------" echo "------ *.c ------" echo "--------------------" - python2 code_linter/styleguide/cpplint/cpplint.py --extensions=c --linelength=120 --filter=-readability/casting src/*/*.c + code_linter/cpplint/cpplint.py --extensions=c --linelength=120 --filter=-readability/casting src/*/*.c echo "--------------------" echo "------ *.cpp ------" echo "--------------------" - python2 code_linter/styleguide/cpplint/cpplint.py --filter=-runtime/references --linelength=120 src/*/*.cpp + code_linter/cpplint/cpplint.py --filter=-runtime/references --linelength=120 src/*/*.cpp echo "--------------------" echo "------ HEADERS ------" echo "--------------------" - python2 code_linter/styleguide/cpplint/cpplint.py --extensions=hpp,h --headers=hpp,h --linelength=120 --filter=-runtime/references \ + code_linter/cpplint/cpplint.py --extensions=hpp,h --headers=hpp,h --linelength=120 --filter=-runtime/references \ include/*/*.h* \ include/*/*/*.h* @@ -64,7 +66,7 @@ else echo "--------------------" echo "------ IN PLACE HEADERS ------" echo "--------------------" - python2 code_linter/styleguide/cpplint/cpplint.py --extensions=hpp,h --headers=hpp,h --linelength=120 --filter=-runtime/references \ + code_linter/cpplint/cpplint.py --extensions=hpp,h --headers=hpp,h --linelength=120 --filter=-runtime/references \ include/*/*.h* \ include/*/*/*.h* @@ -72,26 +74,26 @@ else echo "--------------------" echo "------ *.c ------" echo "--------------------" - python2 code_linter/styleguide/cpplint/cpplint.py --extensions=c --linelength=120 --filter=-readability/casting src/"$DIRECTORY"/*.c + code_linter/cpplint/cpplint.py --extensions=c --linelength=120 --filter=-readability/casting src/"$DIRECTORY"/*.c echo "--------------------" echo "------ *.cpp ------" echo "--------------------" - python2 code_linter/styleguide/cpplint/cpplint.py --linelength=120 --filter=-runtime/references src/"$DIRECTORY"/*.cpp + code_linter/cpplint/cpplint.py --linelength=120 --filter=-runtime/references src/"$DIRECTORY"/*.cpp echo "--------------------" echo "------ C HEADER ------" echo "--------------------" - python2 code_linter/styleguide/cpplint/cpplint.py \ + code_linter/cpplint/cpplint.py \ include/drivers/"$DIRECTORY"/*.h \ include/c_types/"$DIRECTORY"/*.h echo "--------------------" echo "------ C++ HEADER ------" echo "--------------------" - python2 code_linter/styleguide/cpplint/cpplint.py --extensions=hpp,h --headers=hpp --linelength=120 --filter=-runtime/references include/"$DIRECTORY"/*.h* + code_linter/cpplint/cpplint.py --extensions=hpp,h --headers=hpp --linelength=120 --filter=-runtime/references include/"$DIRECTORY"/*.h* echo "--------------------" echo "------ this shouild fail ------" echo "--------------------" - python2 code_linter/styleguide/cpplint/cpplint.py src/"$DIRECTORY"/src/*.h* + code_linter/cpplint/cpplint.py src/"$DIRECTORY"/src/*.h* fi fi diff --git a/tools/scripts/test_license.sh b/tools/scripts/test_license.sh index 2ac79d43b1d..d0b8e9b13bf 100755 --- a/tools/scripts/test_license.sh +++ b/tools/scripts/test_license.sh @@ -18,7 +18,7 @@ # ********************************************************************PGR-GNU*/ # This test checks that all source files correctly have license headers -EXCLUDE_LIST="txt|sig|png|jpeg|_static|md|control|html|cfg" +EXCLUDE_LIST="txt|sig|png|jpeg|_static|md|control|html|cfg|gif|result|conf" mylicensecheck() { licensecheck -r --copyright -l 30 --tail 0 -i "$EXCLUDE_LIST" "$1" @@ -27,9 +27,11 @@ mylicensecheck() { DIR=$(git rev-parse --show-toplevel) pushd "${DIR}" > /dev/null || exit -missing=$(! { mylicensecheck src & mylicensecheck sql & mylicensecheck include;} | grep "No copyright\|UNKNOWN") -missing1=$(mylicensecheck doc | grep "No copyright") +missing=$(! { mylicensecheck src & mylicensecheck sql & mylicensecheck include & mylicensecheck pgtap;} | grep "No copyright\|UNKNOWN") +missing1=$(mylicensecheck doc | grep "No copyright") missing2=$(grep --files-without-match 'Creative Commons' doc/*/*.rst) +missing3=$(mylicensecheck docqueries | grep "No copyright") +missing4=$(grep --files-without-match 'Creative Commons' "$(git ls-files docqueries | grep '.sql')") popd > /dev/null || exit #mylicensecheck doc @@ -57,5 +59,23 @@ if [[ $missing2 ]]; then echo "$missing2" error=1 fi + +if [[ $missing3 ]]; then + echo " ****************************************************" + echo " *** Found docqueries files without copyright" + echo " ****************************************************" + echo "$missing3" + error=1 +fi + +if [[ $missing4 ]]; then + echo " ****************************************************" + echo " *** Found docqueries files without copyright" + echo " ****************************************************" + echo "$missing4" + error=1 +fi + + exit $error diff --git a/tools/scripts/test_shell.sh b/tools/scripts/test_shell.sh index 54b9090d755..fa590828ade 100755 --- a/tools/scripts/test_shell.sh +++ b/tools/scripts/test_shell.sh @@ -21,7 +21,7 @@ DIR=$(git rev-parse --show-toplevel) -pushd "${DIR}" > /dev/null || exit +pushd "${DIR}" > /dev/null || exit 1 code="0" for f in $(git ls-files | grep '\.sh') @@ -29,7 +29,7 @@ do if [ "${f}" = "tools/developer/addNewVersionLink.sh" ] ; then result=$(shellcheck --exclude=SC2046,SC2016 "${f}") else - result=$(shellcheck "${f}") + result=$(shellcheck --exclude=SC2141 "${f}") fi if [[ $result ]]; then diff --git a/tools/testers/pg_prove_tests.sh b/tools/testers/pg_prove_tests.sh index 8aec1f7c7a8..2f2627719b0 100755 --- a/tools/testers/pg_prove_tests.sh +++ b/tools/testers/pg_prove_tests.sh @@ -37,7 +37,7 @@ echo "$PGPORT" pushd ./tools/testers/ || exit 1 -bash setup_db.sh "${PGPORT}" "${PGDATABASE}" "${PGUSER}" "3.4.1" +bash setup_db.sh "${PGPORT}" "${PGDATABASE}" "${PGUSER}" "3.4.2" pg_prove --failures --Q --recurse \ --S client_min_messages=WARNING \ diff --git a/tools/testers/sampledata.sql b/tools/testers/sampledata.sql index 2fad8de9811..05b6fbcd91b 100644 --- a/tools/testers/sampledata.sql +++ b/tools/testers/sampledata.sql @@ -3,6 +3,8 @@ -- SAMPLE DATA ------------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------------ +-- CopyRight(c) pgRouting developers +-- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ DROP TABLE IF EXISTS edges; DROP TABLE IF EXISTS vertices; diff --git a/tools/testers/vrppdtw_data.sql b/tools/testers/vrppdtw_data.sql index 2f56a77d9fd..fdc43d3f27d 100644 --- a/tools/testers/vrppdtw_data.sql +++ b/tools/testers/vrppdtw_data.sql @@ -1,3 +1,5 @@ +-- CopyRight(c) pgRouting developers +-- Creative Commons Attribution-Share Alike 3.0 License : https://creativecommons.org/licenses/by-sa/3.0/ DROP TABLE IF EXISTS lc101_c CASCADE; DROP TABLE IF EXISTS c_lc101 CASCADE;