Skip to content

Commit aa0e0a0

Browse files
authored
[withPointsDD][doc] Updating v3.6.0 release notes and fixing doc (#2545)
1 parent a044186 commit aa0e0a0

File tree

3 files changed

+119
-70
lines changed

3 files changed

+119
-70
lines changed

NEWS

Lines changed: 28 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ pgRouting 3.6.0 Release Notes
33

44
**Official functions changes**
55

6-
* `2516 <https://github.com/pgRouting/pgrouting/pull/2516>` Standarize output
6+
* [#2516](https://github.com/pgRouting/pgrouting/pull/2516) Standarize output
77
pgr_aStar
88

99
* Standarizing output columns to |short-generic-result|
@@ -12,7 +12,7 @@ pgRouting 3.6.0 Release Notes
1212
* ``pgr_aStar`` (`One to Many`) added ``end_vid`` column.
1313
* ``pgr_aStar`` (`Many to One`) added ``start_vid`` column.
1414

15-
* `2523 <https://github.com/pgRouting/pgrouting/pull/2523>` Standarize output
15+
* [#2523](https://github.com/pgRouting/pgrouting/pull/2523) Standarize output
1616
pgr_bdAstar
1717

1818
* Standarizing output columns to |short-generic-result|
@@ -21,27 +21,46 @@ pgRouting 3.6.0 Release Notes
2121
* ``pgr_bdAstar`` (`One to Many`) added ``end_vid`` column.
2222
* ``pgr_bdAstar`` (`Many to One`) added ``start_vid`` column.
2323

24+
**Proposed functions changes**
25+
26+
* [#2544](https://github.com/pgRouting/pgrouting/pull/2544) Standarize output and modifying signature
27+
pgr_withPointsDD
28+
29+
* New proposed signatures: ``driving side`` parameter changed from optional to compulsory
30+
31+
* ``pgr_withPointsDD`` (`Single vertex`)
32+
* ``pgr_withPointsDD`` (`Multiple vertices`)
33+
34+
* Deprecated signatures:
35+
36+
* ``pgr_withpointsdd(text,text,bigint,double precision,boolean,character,boolean)``
37+
* ``pgr_withpointsdd(text,text,anyarray,double precision,boolean,character,boolean,boolean)``
38+
39+
* Standarizing output columns to |result-bfs|
40+
41+
* ``pgr_withPointsDD`` (`Single vertex`) added ``depth`` and ``start_vid`` column.
42+
* ``pgr_withPointsDD`` (`Multiple vertices`) added ``depth`` column.
2443

2544
**C/C++ code enhancements**
2645

27-
* `2504 <https://github.com/pgRouting/pgrouting/pull/2504>` To C++ pg data get,
46+
* [#2504](https://github.com/pgRouting/pgrouting/pull/2504) To C++ pg data get,
2847
fetch and check.
2948

3049
* Stopping support for compilation with MSVC.
3150

32-
* `2505 <https://github.com/pgRouting/pgrouting/pull/2505>` Using namespace.
33-
* `2512 <https://github.com/pgRouting/pgrouting/pull/2512>` [Dijkstra] Removing
51+
* [#2505](https://github.com/pgRouting/pgrouting/pull/2505) Using namespace.
52+
* [#2512](https://github.com/pgRouting/pgrouting/pull/2512) [Dijkstra] Removing
3453
duplicate code on Dijkstra.
35-
* `2517 <https://github.com/pgRouting/pgrouting/pull/2517>` Astar code
54+
* [#2517](https://github.com/pgRouting/pgrouting/pull/2517) Astar code
3655
simplification.
37-
* `2521 <https://github.com/pgRouting/pgrouting/pull/2521>` Dijkstra code
56+
* [#2521](https://github.com/pgRouting/pgrouting/pull/2521) Dijkstra code
3857
simplification.
39-
* `2522 <https://github.com/pgRouting/pgrouting/pull/2522>` bdAstar code
58+
* [#2522](https://github.com/pgRouting/pgrouting/pull/2522) bdAstar code
4059
simplification.
4160

4261
**Documentation**
4362

44-
* `2490 <https://github.com/pgRouting/pgrouting/pull/2490>` Automatic page
63+
* [#2490](https://github.com/pgRouting/pgrouting/pull/2490) Automatic page
4564
history links.
4665

4766
pgRouting 3.5.1 Release Notes

doc/src/release_notes.rst

Lines changed: 28 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ pgRouting 3.6.0 Release Notes
2424

2525
.. rubric:: Official functions changes
2626

27-
* `2516 <https://github.com/pgRouting/pgrouting/pull/2516>` Standarize output
27+
* `#2516 <https://github.com/pgRouting/pgrouting/pull/2516>`__ Standarize output
2828
pgr_aStar
2929

3030
* Standarizing output columns to |short-generic-result|
@@ -33,7 +33,7 @@ pgRouting 3.6.0 Release Notes
3333
* ``pgr_aStar`` (`One to Many`) added ``end_vid`` column.
3434
* ``pgr_aStar`` (`Many to One`) added ``start_vid`` column.
3535

36-
* `2523 <https://github.com/pgRouting/pgrouting/pull/2523>` Standarize output
36+
* `#2523 <https://github.com/pgRouting/pgrouting/pull/2523>`__ Standarize output
3737
pgr_bdAstar
3838

3939
* Standarizing output columns to |short-generic-result|
@@ -42,27 +42,46 @@ pgRouting 3.6.0 Release Notes
4242
* ``pgr_bdAstar`` (`One to Many`) added ``end_vid`` column.
4343
* ``pgr_bdAstar`` (`Many to One`) added ``start_vid`` column.
4444

45+
.. rubric:: Proposed functions changes
46+
47+
* `#2544 <https://github.com/pgRouting/pgrouting/pull/2544>`__ Standarize output and modifying signature
48+
pgr_withPointsDD
49+
50+
* New proposed signatures: ``driving side`` parameter changed from optional to compulsory
51+
52+
* ``pgr_withPointsDD`` (`Single vertex`)
53+
* ``pgr_withPointsDD`` (`Multiple vertices`)
54+
55+
* Deprecated signatures:
56+
57+
* ``pgr_withpointsdd(text,text,bigint,double precision,boolean,character,boolean)``
58+
* ``pgr_withpointsdd(text,text,anyarray,double precision,boolean,character,boolean,boolean)``
59+
60+
* Standarizing output columns to |result-bfs|
61+
62+
* ``pgr_withPointsDD`` (`Single vertex`) added ``depth`` and ``start_vid`` column.
63+
* ``pgr_withPointsDD`` (`Multiple vertices`) added ``depth`` column.
4564

4665
.. rubric:: C/C++ code enhancements
4766

48-
* `2504 <https://github.com/pgRouting/pgrouting/pull/2504>` To C++ pg data get,
67+
* `#2504 <https://github.com/pgRouting/pgrouting/pull/2504>`__ To C++ pg data get,
4968
fetch and check.
5069

5170
* Stopping support for compilation with MSVC.
5271

53-
* `2505 <https://github.com/pgRouting/pgrouting/pull/2505>` Using namespace.
54-
* `2512 <https://github.com/pgRouting/pgrouting/pull/2512>` [Dijkstra] Removing
72+
* `#2505 <https://github.com/pgRouting/pgrouting/pull/2505>`__ Using namespace.
73+
* `#2512 <https://github.com/pgRouting/pgrouting/pull/2512>`__ [Dijkstra] Removing
5574
duplicate code on Dijkstra.
56-
* `2517 <https://github.com/pgRouting/pgrouting/pull/2517>` Astar code
75+
* `#2517 <https://github.com/pgRouting/pgrouting/pull/2517>`__ Astar code
5776
simplification.
58-
* `2521 <https://github.com/pgRouting/pgrouting/pull/2521>` Dijkstra code
77+
* `#2521 <https://github.com/pgRouting/pgrouting/pull/2521>`__ Dijkstra code
5978
simplification.
60-
* `2522 <https://github.com/pgRouting/pgrouting/pull/2522>` bdAstar code
79+
* `#2522 <https://github.com/pgRouting/pgrouting/pull/2522>`__ bdAstar code
6180
simplification.
6281

6382
.. rubric:: Documentation
6483

65-
* `2490 <https://github.com/pgRouting/pgrouting/pull/2490>` Automatic page
84+
* `#2490 <https://github.com/pgRouting/pgrouting/pull/2490>`__ Automatic page
6685
history links.
6786

6887
pgRouting 3.5.1 Release Notes

doc/withPoints/pgr_withPointsDD.rst

Lines changed: 63 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,24 @@
2626

2727
.. rubric:: Availability
2828

29+
* Version 3.6.0
30+
31+
* New proposed signatures:
32+
33+
* ``pgr_withPointsDD`` (`Single vertex`_)
34+
* ``pgr_withPointsDD`` (`Multiple vertices`_)
35+
36+
* Deprecated signatures:
37+
38+
* ``pgr_withpointsdd(text,text,bigint,double precision,boolean,character,boolean)``
39+
* ``pgr_withpointsdd(text,text,anyarray,double precision,boolean,character,boolean,boolean)``
40+
41+
* Standarizing output columns to |result-bfs|
42+
43+
* ``pgr_withPointsDD`` (`Single vertex`_) added ``depth`` and ``start_vid`` column.
44+
* ``pgr_withPointsDD`` (`Multiple vertices`_) added ``depth`` column.
45+
46+
2947
* Version 2.2.0
3048

3149
* New **proposed** function
@@ -45,12 +63,12 @@ Signatures
4563
.. admonition:: \ \
4664
:class: signatures
4765

48-
| pgr_withPointsDD(`Edges SQL`_, `Points SQL`_, **root vid**, **distance**, [**options A**])
49-
| pgr_withPointsDD(`Edges SQL`_, `Points SQL`_, **root vids**, **distance**, [**options B**])
50-
| **options A:** ``[directed, driving_side, details]``
51-
| **options B:** ``[directed, driving_side, details, equicost]``
66+
| pgr_withPointsDD(`Edges SQL`_, `Points SQL`_, **root vid**, **distance**, **driving side**, [**options A**])
67+
| pgr_withPointsDD(`Edges SQL`_, `Points SQL`_, **root vids**, **distance**, **driving side**, [**options B**])
68+
| **options A:** ``[directed, details]``
69+
| **options B:** ``[directed, details, equicost]``
5270
53-
| RETURNS SET OF |result-generic-no-seq|
71+
| RETURNS SET OF |result-bfs|
5472
| OR EMPTY SET
5573
5674
.. index::
@@ -62,10 +80,10 @@ Single vertex
6280
.. admonition:: \ \
6381
:class: signatures
6482

65-
| pgr_withPointsDD(`Edges SQL`_, `Points SQL`_, **root vid**, **distance**, [**options**])
66-
| **options:** ``[directed, driving_side, details]``
83+
| pgr_withPointsDD(`Edges SQL`_, `Points SQL`_, **root vid**, **distance**, **driving side**, [**options**])
84+
| **options:** ``[directed, details]``
6785
68-
| RETURNS SET OF |result-1-1-no-seq|
86+
| RETURNS SET OF |result-bfs|
6987
| OR EMPTY SET
7088
7189
:Example: Right side driving topology, from point :math:`1` within a distance of
@@ -84,10 +102,10 @@ Multiple vertices
84102
.. admonition:: \ \
85103
:class: signatures
86104

87-
| pgr_withPointsDD(`Edges SQL`_, `Points SQL`_, **root vids**, **distance**, [**options**])
88-
| **options:** ``[directed, driving_side, details, equicost]``
105+
| pgr_withPointsDD(`Edges SQL`_, `Points SQL`_, **root vids**, **distance**, **driving side**, [**options**])
106+
| **options:** ``[directed, details, equicost]``
89107
90-
| RETURNS SET OF |result-m-1-no-seq|
108+
| RETURNS SET OF |result-bfs|
91109
| OR EMPTY SET
92110
93111
:Example: From point :math:`1` and vertex :math:`16` within a distance of
@@ -123,13 +141,28 @@ Parameters
123141
- ``ARRAY`` [**ANY-INTEGER**]
124142
- Array of identifiers of the root vertices.
125143

126-
127144
- Negative values represent a point
128145
- :math:`0` values are ignored
129146
- For optimization purposes, any duplicated value is ignored.
130147
* - **distance**
131148
- ``FLOAT``
132149
- Upper limit for the inclusion of a node in the result.
150+
* - **driving side**
151+
- ``CHAR``
152+
- - Value in [``r``, ``R``, ``l``, ``L``, ``b``, ``B``] indicating if the driving side is:
153+
154+
- ``r``, ``R`` for right driving side,
155+
- ``l``, ``L`` for left driving side.
156+
- ``b``, ``B`` for both.
157+
158+
- Valid values differ for directed and undirected graphs:
159+
160+
- In directed graphs: [``r``, ``R``, ``l``, ``L``].
161+
- In undirected graphs: [``b``, ``B``].
162+
163+
Where:
164+
165+
:ANY-INTEGER: SMALLINT, INTEGER, BIGINT
133166

134167
Optional parameters
135168
...............................................................................
@@ -141,9 +174,21 @@ Optional parameters
141174
With points optional parameters
142175
...............................................................................
143176

144-
.. include:: withPoints-family.rst
145-
:start-after: withPoints_optionals_start
146-
:end-before: withPoints_optionals_end
177+
.. list-table::
178+
:width: 81
179+
:widths: 14 7 7 60
180+
:header-rows: 1
181+
182+
* - Parameter
183+
- Type
184+
- Default
185+
- Description
186+
* - ``details``
187+
- ``BOOLEAN``
188+
- ``false``
189+
- - When ``true`` the results will include the points that are in the path.
190+
- When ``false`` the results will not include the points that are in the
191+
path.
147192

148193
Driving distance optional parameters
149194
...............................................................................
@@ -172,43 +217,9 @@ Points SQL
172217
Result Columns
173218
-------------------------------------------------------------------------------
174219

175-
RETURNS SET OF |result-generic-no-seq|
176-
177-
.. list-table::
178-
:width: 81
179-
:widths: auto
180-
:header-rows: 1
181-
182-
* - Parameter
183-
- Type
184-
- Description
185-
* - ``seq``
186-
- ``BIGINT``
187-
- Sequential value starting from :math:`1`.
188-
* - ``[start_vid]``
189-
- ``BIGINT``
190-
- Identifier of the root vertex.
191-
192-
* - ``node``
193-
- ``BIGINT``
194-
- Identifier of ``node`` within the limits from ``from_v``.
195-
* - ``edge``
196-
- ``BIGINT``
197-
- Identifier of the ``edge`` used to arrive to ``node``.
198-
199-
- :math:`0` when ``node`` = ``from_v``.
200-
201-
* - ``cost``
202-
- ``FLOAT``
203-
- Cost to traverse ``edge``.
204-
* - ``agg_cost``
205-
- ``FLOAT``
206-
- Aggregate cost from ``from_v`` to ``node``.
207-
208-
Where:
209-
210-
:ANY-INTEGER: SMALLINT, INTEGER, BIGINT
211-
:ANY-NUMERIC: SMALLINT, INTEGER, BIGINT, REAL, FLOAT, NUMERIC
220+
.. include:: BFS-category.rst
221+
:start-after: mst-bfs-dfs-dd-result-columns-start
222+
:end-before: mst-bfs-dfs-dd-result-columns-end
212223

213224
Additional Examples
214225
-------------------------------------------------------------------------------

0 commit comments

Comments
 (0)