Skip to content

Commit f5d7f1b

Browse files
committed
[pgr_astarCost] Arrange comments
1 parent 9e20477 commit f5d7f1b

1 file changed

Lines changed: 49 additions & 49 deletions

File tree

sql/astar/astarCost.sql

Lines changed: 49 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -52,22 +52,6 @@ COST 100
5252
ROWS 1000;
5353

5454

55-
COMMENT ON FUNCTION pgr_aStarCost(TEXT, BIGINT, BIGINT, BOOLEAN, INTEGER, FLOAT, FLOAT)
56-
IS 'pgr_aStarCost(One to One)
57-
- Parameters:
58-
- edges SQL with columns: id, source, target, cost [,reverse_cost], x1, y1, x2, y2
59-
- From vertex identifier
60-
- To vertex identifier
61-
- Optional Parameters:
62-
- directed := true
63-
- heuristic := 5
64-
- factor := 1
65-
- epsilon := 1
66-
- Documentation:
67-
- ${PGROUTING_DOC_LINK}/pgr_astar.html
68-
';
69-
70-
7155

7256
CREATE OR REPLACE FUNCTION pgr_aStarCost(
7357
TEXT, -- edges sql (required)
@@ -93,21 +77,6 @@ COST 100
9377
ROWS 1000;
9478

9579

96-
COMMENT ON FUNCTION pgr_aStarCost(TEXT, BIGINT, ANYARRAY, BOOLEAN, INTEGER, FLOAT, FLOAT)
97-
IS 'pgr_astar(One to Many)
98-
- Parameters:
99-
- edges SQL with columns: id, source, target, cost [,reverse_cost], x1, y1, x2, y2
100-
- From vertex identifier
101-
- To ARRAY[vertices identifiers]
102-
- Optional Parameters:
103-
- directed := true
104-
- heuristic := 5
105-
- factor := 1
106-
- epsilon := 1
107-
- Documentation:
108-
- ${PGROUTING_DOC_LINK}/pgr_astar.html
109-
';
110-
11180

11281
CREATE OR REPLACE FUNCTION pgr_aStarCost(
11382
TEXT, -- edges sql (required)
@@ -132,20 +101,6 @@ LANGUAGE sql VOLATILE STRICT
132101
COST 100
133102
ROWS 1000;
134103

135-
COMMENT ON FUNCTION pgr_aStarCost(TEXT, ANYARRAY, BIGINT, BOOLEAN, INTEGER, FLOAT, FLOAT)
136-
IS 'pgr_astar(Many to One)
137-
- Parameters:
138-
- edges SQL with columns: id, source, target, cost [,reverse_cost], x1, y1, x2, y2
139-
- From ARRAY[vertices identifiers]
140-
- To vertex identifier
141-
- Optional Parameters:
142-
- directed := true
143-
- heuristic := 5
144-
- factor := 1
145-
- epsilon := 1
146-
- Documentation:
147-
- ${PGROUTING_DOC_LINK}/pgr_astar.html
148-
';
149104

150105
CREATE OR REPLACE FUNCTION pgr_aStarCost(
151106
TEXT, -- edges sql (required)
@@ -172,11 +127,29 @@ COST 100
172127
ROWS 1000;
173128

174129

175-
COMMENT ON FUNCTION pgr_aStarCost(TEXT, ANYARRAY, ANYARRAY, BOOLEAN, INTEGER, FLOAT, FLOAT)
176-
IS 'pgr_astar(Many to Many)
130+
-- COMMENTS
131+
132+
COMMENT ON FUNCTION pgr_aStarCost(TEXT, BIGINT, BIGINT, BOOLEAN, INTEGER, FLOAT, FLOAT)
133+
IS 'pgr_aStarCost(One to One)
177134
- Parameters:
178135
- edges SQL with columns: id, source, target, cost [,reverse_cost], x1, y1, x2, y2
179-
- From ARRAY[vertices identifiers]
136+
- From vertex identifier
137+
- To vertex identifier
138+
- Optional Parameters:
139+
- directed := true
140+
- heuristic := 5
141+
- factor := 1
142+
- epsilon := 1
143+
- Documentation:
144+
- ${PGROUTING_DOC_LINK}/pgr_astar.html
145+
';
146+
147+
148+
COMMENT ON FUNCTION pgr_aStarCost(TEXT, BIGINT, ANYARRAY, BOOLEAN, INTEGER, FLOAT, FLOAT)
149+
IS 'pgr_astar(One to Many)
150+
- Parameters:
151+
- edges SQL with columns: id, source, target, cost [,reverse_cost], x1, y1, x2, y2
152+
- From vertex identifier
180153
- To ARRAY[vertices identifiers]
181154
- Optional Parameters:
182155
- directed := true
@@ -188,6 +161,33 @@ IS 'pgr_astar(Many to Many)
188161
';
189162

190163

164+
COMMENT ON FUNCTION pgr_aStarCost(TEXT, ANYARRAY, BIGINT, BOOLEAN, INTEGER, FLOAT, FLOAT)
165+
IS 'pgr_astar(Many to One)
166+
- Parameters:
167+
- edges SQL with columns: id, source, target, cost [,reverse_cost], x1, y1, x2, y2
168+
- From ARRAY[vertices identifiers]
169+
- To vertex identifier
170+
- Optional Parameters:
171+
- directed := true
172+
- heuristic := 5
173+
- factor := 1
174+
- epsilon := 1
175+
- Documentation:
176+
- ${PGROUTING_DOC_LINK}/pgr_astar.html
177+
';
191178

192179

193-
-- COMMENTS
180+
COMMENT ON FUNCTION pgr_aStarCost(TEXT, ANYARRAY, ANYARRAY, BOOLEAN, INTEGER, FLOAT, FLOAT)
181+
IS 'pgr_astar(Many to Many)
182+
- Parameters:
183+
- edges SQL with columns: id, source, target, cost [,reverse_cost], x1, y1, x2, y2
184+
- From ARRAY[vertices identifiers]
185+
- To ARRAY[vertices identifiers]
186+
- Optional Parameters:
187+
- directed := true
188+
- heuristic := 5
189+
- factor := 1
190+
- epsilon := 1
191+
- Documentation:
192+
- ${PGROUTING_DOC_LINK}/pgr_astar.html
193+
';

0 commit comments

Comments
 (0)