Skip to content

Commit aa789c9

Browse files
prakashupescvvergara
authored andcommitted
[MRT] changed signature
1 parent 8c22cff commit aa789c9

4 files changed

Lines changed: 14 additions & 14 deletions

File tree

sql/sigs/pgrouting--3.0.0.sig

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -141,13 +141,13 @@ pgr_kruskal(text)
141141
_pgr_kruskal(text,anyarray,text,bigint,double precision)
142142
_pgr_ksp(text,bigint,bigint,integer,boolean,boolean)
143143
pgr_ksp(text,bigint,bigint,integer,boolean,boolean)
144+
_pgr_lengauer_tarjan_dominator_tree(text,bigint)
145+
pgr_lengauer_tarjan_dominator_tree(text,bigint)
144146
_pgr_lib_version()
145147
_pgr_linegraphfull(text)
146148
pgr_linegraphfull(text)
147149
_pgr_linegraph(text,boolean)
148150
pgr_linegraph(text,boolean)
149-
_pgr_ltdtree(text,bigint)
150-
pgr_ltdtree(text,bigint)
151151
_pgr_maxcardinalitymatch(text,boolean)
152152
pgr_maxcardinalitymatch(text,boolean)
153153
pgr_maxflowmincost_cost(text,anyarray,anyarray)
@@ -164,8 +164,6 @@ _pgr_maxflow(text,anyarray,anyarray,integer,boolean)
164164
pgr_maxflow(text,anyarray,bigint)
165165
pgr_maxflow(text,bigint,anyarray)
166166
pgr_maxflow(text,bigint,bigint)
167-
_pgr_mrt(text,text,boolean)
168-
pgr_mrt(text,text,boolean)
169167
_pgr_msg(integer,text,text)
170168
pgr_nodenetwork(text,double precision,text,text,text,text,boolean)
171169
_pgr_onerror(boolean,integer,text,text,text,text)
@@ -217,6 +215,8 @@ _pgr_tsp(text,bigint,bigint,double precision,integer,integer,integer,double prec
217215
pgr_tsp(text,bigint,bigint,double precision,integer,integer,integer,double precision,double precision,double precision,boolean)
218216
_pgr_turnrestrictedpath(text,text,bigint,bigint,integer,boolean,boolean,boolean,boolean)
219217
pgr_turnrestrictedpath(text,text,bigint,bigint,integer,boolean,boolean,boolean,boolean)
218+
_pgr_two_graphs_common_spanning_trees(text,text,boolean)
219+
pgr_two_graphs_common_spanning_trees(text,text,boolean)
220220
pgr_version()
221221
_pgr_versionless(text,text)
222222
_pgr_vrponedepot(text,text,text,integer)

sql/spanningTree/_mrt.sql

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
2727
2828
********************************************************************PGR-GNU*/
2929
---------------
30-
-- _pgr_mrt
30+
-- _pgr_two_graphs_common_spanning_trees
3131
---------------
3232

33-
CREATE OR REPLACE FUNCTION _pgr_mrt(
33+
CREATE OR REPLACE FUNCTION _pgr_two_graphs_common_spanning_trees(
3434
edges_sql1 TEXT, -- edges_sql1 (required)
3535
edges_sql2 TEXT, -- edges_sql2 (required)
3636
directed BOOLEAN DEFAULT true,
@@ -46,6 +46,6 @@ LANGUAGE c VOLATILE STRICT;
4646
-- COMMENTS
4747

4848

49-
COMMENT ON FUNCTION _pgr_mrt(TEXT,TEXT,BOOLEAN)
49+
COMMENT ON FUNCTION _pgr_two_graphs_common_spanning_trees(TEXT,TEXT,BOOLEAN)
5050
IS 'pgRouting internal function';
5151

sql/spanningTree/mrt.sql

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
2727
2828
********************************************************************PGR-GNU*/
2929
---------------
30-
-- pgr_mrt
30+
-- pgr_two_graphs_common_spanning_trees
3131
---------------
32-
CREATE OR REPLACE FUNCTION pgr_mrt(
32+
CREATE OR REPLACE FUNCTION pgr_two_graphs_common_spanning_trees(
3333
edges_sql1 TEXT, -- edges_sql1 (required)
3434
edges_sql2 TEXT, -- edges_sql2 (required)
3535
directed BOOLEAN DEFAULT true,
@@ -43,7 +43,7 @@ BEGIN
4343

4444
RETURN QUERY
4545
SELECT *
46-
FROM _pgr_mrt(_pgr_get_statement($1),_pgr_get_statement($2),$3);
46+
FROM _pgr_two_graphs_common_spanning_trees(_pgr_get_statement($1),_pgr_get_statement($2),$3);
4747
END;
4848
$BODY$
4949
LANGUAGE plpgsql VOLATILE STRICT;
@@ -52,7 +52,7 @@ LANGUAGE plpgsql VOLATILE STRICT;
5252
-- COMMENTS
5353

5454

55-
COMMENT ON FUNCTION pgr_mrt(TEXT,TEXT,BOOLEAN)
55+
COMMENT ON FUNCTION pgr_two_graphs_common_spanning_trees(TEXT,TEXT,BOOLEAN)
5656
IS 'pgr_mrt
5757
- EXPERIMENTAL
5858
- Directed graph

src/spanningTree/mrt.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
5151

5252
#include "drivers/spanningTree/mrt_driver.h"
5353
#include "c_types/pgr_mrt_rt.h"
54-
PGDLLEXPORT Datum _pgr_mrt(PG_FUNCTION_ARGS);
55-
PG_FUNCTION_INFO_V1(_pgr_mrt);
54+
PGDLLEXPORT Datum _pgr_two_graphs_common_spanning_trees(PG_FUNCTION_ARGS);
55+
PG_FUNCTION_INFO_V1(_pgr_two_graphs_common_spanning_trees);
5656

5757

5858
static
@@ -114,7 +114,7 @@ process(char* edges_sql_1,
114114
}
115115

116116
PGDLLEXPORT Datum
117-
_pgr_mrt(PG_FUNCTION_ARGS) {
117+
_pgr_two_graphs_common_spanning_trees(PG_FUNCTION_ARGS) {
118118
FuncCallContext *funcctx;
119119
TupleDesc tuple_desc;
120120

0 commit comments

Comments
 (0)