pgr_costResult[] - pgRouting Manual (2.6)
pgr_costResult[]
Description
CREATE TYPE pgr_costResult AS
(
seq integer,
id1 integer,
id2 integer,
cost float8
);
- seq
-
sequential ID indicating the path order
- id1
-
generic name, to be specified by the function, typically the node id
- id2
-
generic name, to be specified by the function, typically the edge id
- cost
-
cost attribute
pgr_costResult3[] - Multiple Path Results with Cost
Description
CREATE TYPE pgr_costResult3 AS
(
seq integer,
id1 integer,
id2 integer,
id3 integer,
cost float8
);
- seq
-
sequential ID indicating the path order
- id1
-
generic name, to be specified by the function, typically the path id
- id2
-
generic name, to be specified by the function, typically the node id
- id3
-
generic name, to be specified by the function, typically the edge id
- cost
-
cost attribute
History
-
New in version 2.0.0
-
Replaces
path_result