图引擎服务 GES-时序路径分析(Temporal Paths):参数说明

时间:2024-09-04 15:52:24

参数说明

表1 Temporal Paths参数说明

参数

是否必选

说明

类型

取值范围

默认值

source

起点id

String

-

-

targets

终点id集合

String

csv格式,ID之间以英文逗号分隔,例如:“Alice,Nana”,个数不大于100000。

1000

directed

是否考虑边的方向

Boolean

true 或false,布尔型。

false

k

最大深度

Integer

1-100,包括1和100

3

strategy

运行的算法策略

String

取值范围:shortest,foremost,fastest。

(注:fastest暂不支持)

  • shortest:运行shortest temporal paths算法,返回距离最短的时序路径
  • foremost:运行foremost temporal paths算法,返回尽可能早的到达目标节点的时序路径
  • fastest:运行fastest temporal paths算法,返回耗费时间最短的时序路径

shortest

表2 动态时间范围设置(dynamicRange)说明

参数

是否必选

说明

类型

取值范围

默认值

start

动态分析起始时间

Date/ Integer

-

-

end

动态分析终止时间

Date/ Integer

-

-

time_props

动态分析的时间属性定义

Object

-

-

表3 动态分析的时间属性(time_props)说明

参数

是否必选

说明

类型

取值范围

默认值

stime

开始时间属性名称

String

-

-

etime

结束时间属性名称

String

-

-

support.huaweicloud.com/usermanual-ges/ges_01_0159.html