pgrouting 2.1.0 ALPHA1已經釋放,有一個新的功能 pgr_dijkstra(text,anyarray,anyarray,boolean,out integer,out bigint,out bigint,out bigint,out bigint,out float,out float) pgr_dijkstra(text,anyarray,bigint,boolean,out integer,out bigint,out bigint,out bigint,out float,out float) pgr_dijkstra(text,bigint,anyarray,boolean,out integer,out bigint,out bigint,out bigint,out float,out float) pgr_dijkstra(text,bigint,bigint,out integer,out bigint,out bigint,out float,out float) pgr_dijkstra(text,bigint,bigint,boolean,out integer,out bigint,out bigint,out float,out float) pgr_dijkstra(text,bigint,bigint,boolean,boolean)
這些函數接受bigints的數組,所以你可以計算一個一對多和多對多許多喜歡pgr_kdijkstra解決方案。