1/*PGR-GNU*****************************************************************
2File: _dijkstraVia.sql
3
4Generated with Template by:
5Copyright (c) 2015 pgRouting developers
6
7Function's developer:
8Copyright (c) 2015 Celia Virginia Vergara Castillo
9
10------
11
12This program is free software; you can redistribute it and/or modify
13it under the terms of the GNU General Public License as published by
14the Free Software Foundation; either version 2 of the License, or
15(at your option) any later version.
16
17This program is distributed in the hope that it will be useful,
18but WITHOUT ANY WARRANTY; without even the implied warranty of
19MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20GNU General Public License for more details.
21
22You should have received a copy of the GNU General Public License
23along with this program; if not, write to the Free Software
24Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
25
26 ********************************************************************PGR-GNU*/
27
28------------------
29-- pgr_dijkstraVia
30------------------
31
32--v3.0
33CREATE FUNCTION _pgr_dijkstraVia(
34    edges_sql TEXT,
35    via_vids ANYARRAY,
36    directed BOOLEAN,
37    strict BOOLEAN,
38    U_turn_on_edge BOOLEAN,
39
40
41    OUT seq INTEGER,
42    OUT path_id INTEGER,
43    OUT path_seq INTEGER,
44    OUT start_vid BIGINT,
45    OUT end_vid BIGINT,
46    OUT node BIGINT,
47    OUT edge BIGINT,
48    OUT cost FLOAT,
49    OUT agg_cost FLOAT,
50    OUT route_agg_cost FLOAT)
51RETURNS SETOF RECORD AS
52'MODULE_PATHNAME'
53LANGUAGE c VOLATILE STRICT;
54
55-- COMMENTS
56
57COMMENT ON FUNCTION _pgr_dijkstraVia(TEXT, ANYARRAY, BOOLEAN, BOOLEAN, BOOLEAN)
58IS 'pgRouting internal function';
59