Skip to content

Commit 9aa1e33

Browse files
committed
[_pgr_astar] Adding comment
1 parent b2d973a commit 9aa1e33

2 files changed

Lines changed: 14 additions & 3 deletions

File tree

sql/alpha_shape/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
SET(LOCAL_FILES
3-
alpha_shape.sql
3+
alphaShape.sql
44
pointsAsPolygon.sql
55
)
66

sql/astar/_astar.sql

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,19 +27,25 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
2727
2828
********************************************************************PGR-GNU*/
2929

30+
-----------------
31+
-----------------
32+
-- _astar
33+
-----------------
34+
-----------------
35+
3036

3137
CREATE OR REPLACE FUNCTION _pgr_astar(
3238
edges_sql TEXT, -- XY edges sql
3339
start_vids ANYARRAY,
3440
end_vids ANYARRAY,
41+
3542
directed BOOLEAN DEFAULT true,
3643
heuristic INTEGER DEFAULT 5,
3744
factor FLOAT DEFAULT 1.0,
3845
epsilon FLOAT DEFAULT 1.0,
3946
only_cost BOOLEAN DEFAULT false,
47+
normal BOOLEAN DEFAULT true,
4048

41-
-- SET to false on Many to One
42-
normal BOOLEAN DEFAULT TRUE,
4349
OUT seq INTEGER,
4450
OUT path_seq INTEGER,
4551
OUT start_vid BIGINT,
@@ -51,3 +57,8 @@ CREATE OR REPLACE FUNCTION _pgr_astar(
5157
RETURNS SETOF RECORD AS
5258
'MODULE_PATHNAME', 'astarManyToMany'
5359
LANGUAGE c VOLATILE STRICT;
60+
61+
-- COMMENTS
62+
63+
COMMENT ON FUNCTION _pgr_astar(TEXT, ANYARRAY, ANYARRAY, BOOLEAN, INTEGER, FLOAT, FLOAT, BOOLEAN, BOOLEAN)
64+
IS 'pgRouting internal function';

0 commit comments

Comments
 (0)