Skip to content

Commit 1196c0c

Browse files
committed
[components] Comment on pgr_strongComponents and error fix in pgr_connectedComponents
modified: ../sql/components/connectedComponents.sql modified: ../sql/components/strongComponents.sql
1 parent 3257cce commit 1196c0c

2 files changed

Lines changed: 17 additions & 3 deletions

File tree

sql/components/connectedComponents.sql

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
3636
--------------------------
3737
-- pgr_connectedComponents
3838
--------------------------
39+
3940
CREATE OR REPLACE FUNCTION _pgr_connectedComponents(
4041
edges_sql TEXT,
4142

@@ -75,5 +76,5 @@ IS'pgr_connectedComponents
7576
- Parameters:
7677
- Edges SQL with columns: id, source, target, cost [,reverse_cost]
7778
- Documentation:
78-
- ${PGROUTING_DOC_LINK}/pgr_bdDijkstra.html
79+
- ${PGROUTING_DOC_LINK}/pgr_connectedComponents.html
7980
';

sql/components/strongComponents.sql

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
3030
-----------------------
3131
-- pgr_strongComponents
3232
-----------------------
33+
34+
3335
CREATE OR REPLACE FUNCTION _pgr_strongComponents(
3436
edges_sql TEXT,
3537

@@ -57,6 +59,17 @@ $BODY$
5759
LANGUAGE SQL VOLATILE STRICT;
5860

5961
-- COMMENTS
60-
COMMENT ON FUNCTION pgr_strongComponents(TEXT) IS
61-
'pgr_strongComponents(edges_sql(id,source,target,cost[,reverse_cost]) For directed graph';
62+
63+
COMMENT ON FUNCTION _pgr_strongComponents(TEXT)
64+
IS 'pgRouting internal function';
65+
66+
67+
COMMENT ON FUNCTION pgr_strongComponents(TEXT)
68+
IS'pgr_strongComponents
69+
- Directed graph
70+
- Parameters:
71+
- Edges SQL with columns: id, source, target, cost [,reverse_cost]
72+
- Documentation:
73+
- ${PGROUTING_DOC_LINK}/pgr_strongComponents.html
74+
';
6275

0 commit comments

Comments
 (0)