检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
带过滤全最短路径(filtered_all_shortest_paths)(2.2.17) 参数说明 表1 parameters参数说明 参数 是否必选 说明 类型 取值范围 默认值 source 是 起点ID String - - - target 是 终点ID String -
索引操作 代码样例文件路径 样例方法名 对应的API com.huawei.ges.graph.sdk.v1.examples.persistence testListIndices 查询索引 testCreateIndex 新建索引 testDeleteIndex 删除索引 父主题:
点集共同邻居(common_neighbors_of_vertex_sets) 功能介绍 根据输入参数,执行点集共同邻居算法。 点集共同邻居(Common Neighbors of Vertex Sets)可以得到两个点集合(群体集合)所共有的邻居(即两个群体临域的交集),直观的发现与两个群体共同联系的对象,
全对最短路径(all_pairs_shortest_paths) 功能介绍 根据输入参数,执行全对最短路径算法。 全对最短路径(all_pairs_shortest_paths)是寻找图中任意两点之间满足条件的最短路径。 URI POST /ges/v1.0/{project_i
点集最短路(shortest_path_of_vertex_sets) 功能介绍 根据输入参数,执行点集最短路算法。 点集最短路(shortest_path_of_vertex_sets)用于发现两个点集之间的最短路径。 URI POST /ges/v1.0/{project_i
连通分量(connected_component)(1.0.0) 当前该算法不需要输入parameters参数就可以运行。 表1 response_data参数说明 参数 类型 说明 Max_WCC_size Integer 最大连通分量中节点的个数 Max_WCC_id String
OD中介中心度(od_betweenness)(2.2.4) 表1 parameters参数说明 参数 是否必选 说明 类型 取值范围 默认值 directed 否 是否考虑边的方向 Boolean true或者false true weight 否 边上权重 String 空或字符串
k跳算法(k_hop) 功能介绍 根据输入参数,执行k跳算法。 k跳算法从起点出发,通过宽度优先搜索(BFS),找出k层与之关联的所有节点。找到的子图称为起点的“ego-net”。k跳算法会返回ego-net中节点及其个数。 URI POST /ges/v1.0/{project
最短路径(shortest_path) 表1 parameters参数说明 参数 是否必选 类型 说明 source 是 String 输入路径的起点ID。 target 是 String 输入路径的终点ID。 directed 否 Boolean 是否考虑边的方向,取值为true。
边操作 代码样例文件路径 样例方法名 对应的API com.huawei.ges.graph.sdk.v1.examples.persistence testQueryEdgeDetails 边详情查询 testBatchEdgesQuery 批量边查询 testBatchAddEdges
Job管理 代码样例文件路径 样例方法名 对应的API com.huawei.ges.graph.sdk.v1.examples.persistence waitJob 查询Job状态 testListJobs 查询Job列表 父主题: 持久化版样例
点操作 代码样例文件路径 样例方法名 对应的API com.huawei.ges.graph.sdk.v1.examples.persistence testQueryVertexsDetails 点详情查询 testBatchVertexsQuery 批量点查询 testBatchAddVertexs
点操作 代码样例文件路径 样例方法名 对应的API com.huawei.ges.graph.sdk.v1.examples.persistence testQueryVertexsDetails 点详情查询 testBatchVertexsQuery 批量点查询 testBatchAddVertexs
边操作 代码样例文件路径 样例方法名 对应的API com.huawei.ges.graph.sdk.v1.examples.persistence testQueryEdgeDetails 边详情查询 testBatchEdgesQuery 批量边查询 testBatchAddEdges
元数据操作 代码样例文件路径 样例方法名 对应的API com.huawei.ges.graph.sdk.v1.examples.persistence testAddLabel 添加Label testUpdateLabel 更新Label testQueryGraphSchemaDetail
元数据操作 代码样例文件路径 样例方法名 对应的API com.huawei.ges.graph.sdk.v1.examples.persistence testAddLabel 添加Label testUpdateLabel 更新Label testQueryGraphSchemaDetail
带过滤的n_paths算法(filtered_n_paths)(2.2.22) 概述 带过滤的n_paths算法是给定起始点source、目的点target、跳数k、路径数n、过滤条件filters,找出source和target间不多于n条的k跳无环路径。 算法名称:带过滤的n_paths
单点环路检测(single_vertex_circles_detection) 功能介绍 根据输入参数,执行单点环路检测算法。 单点环路检测(single_vertex_circles_detection)意在寻找图中的环路,环路上的点较好地体现了该点的重要性。 URI POST
聚类系数(cluster_coefficient)(1.0.0) 表1 response_data参数说明 参数 类型 说明 cluster_coefficient Double 聚类系数。 statistics Boolean 是否仅返回全图平局聚类系数,默认为true。 父主题:
全最短路(all_shortest_paths) 功能介绍 根据输入参数,执行全最短路算法。 全最短路(all_shortest_paths)用以解决图论研究中的一个经典算法问题,旨在寻找图中两节点之间所有的最短路径。 URI POST /ges/v1.0/{project_id