文档首页> 图引擎服务 GES> API参考> 历史API> 业务面API> 算法API> 点集最短路(Shortest Path of Vertex Sets)(1.0.0)
更新时间:2022-09-20 GMT+08:00
分享

点集最短路(Shortest Path of Vertex Sets)(1.0.0)

表1 Parameter参数说明

参数

是否必选

说明

类型

取值范围

默认值

sources

起点ID集合

String

标准csv格式,ID之间以英文逗号分隔,例如:“Alice,Nana”。

个数不大于100000。

-

targets

终点ID集合

String

标准csv格式,ID之间以英文逗号分隔,例如:“Alice,Nana”。

个数不大于100000。

-

directed

是否考虑边的方向

Boolean

true或false

false

表2 response_data参数说明

参数

类型

说明

path

List

最短路径,格式:

[vertexId,...]

其中,

vertexId:string类型

source

String

起点ID

target

String

终点ID

分享:

    相关文档

    相关产品