版本

# neighbour

用于存储图中指定起点的邻居结构。

【可被接口直接返回】


参数列表 类型 描述 是否可空 默认值 示例 备注
message string 消息 "" "OK."
status i32 状态码 0 0 状态码说明
cost_time double 耗时 0 0.01
neighbours vector<vector<int32_t>> 节点ID列表 [] [[0]] 该结构为二维数组,外维数组代表邻居层,内维数组代表对应邻居层次的所有节点ID。
nodes map<int32_t,node> 所有节点 {} key是节点ID,value是node
relations vector<edge> 所有边 [] edge
最近一次更新时间: 5/31/2022, 2:36:57 AM