Skip to content

Commit 8943b81

Browse files
committed
[pgr_astarCost(One to Many)] Adding comment
1 parent 992fedc commit 8943b81

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

sql/astar/astarCost.sql

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,22 @@ COST 100
9393
ROWS 1000;
9494

9595

96+
COMMENT ON FUNCTION pgr_astar(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+
111+
96112
CREATE OR REPLACE FUNCTION pgr_aStarCost(
97113
TEXT, -- edges sql (required)
98114
ANYARRAY, -- from_vids (required)

0 commit comments

Comments
 (0)