检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
全对最短路径(all_pairs_shortest_paths) 功能介绍 根据输入参数,执行全对最短路径算法。 全对最短路径(all_pairs_shortest_paths)是寻找图中任意两点之间满足条件的最短路径。 URI POST /ges/v1.0/{project_id
点集最短路(shortest_path_of_vertex_sets) 功能介绍 根据输入参数,执行点集最短路算法。 点集最短路(shortest_path_of_vertex_sets)用于发现两个点集之间的最短路径。 URI POST /ges/v1.0/{project_id
图统计 代码样例文件路径 样例方法名 对应的API com.huawei.ges.graph.sdk.v1.examples.persistence testShowGraphVersion 查询图版本信息 testShowGraphSummary 查询图概要信息 父主题: 持久化版样例
索引操作 代码样例文件路径 样例方法名 对应的API com.huawei.ges.graph.sdk.v1.examples.persistence testListIndices 查询索引 testCreateIndex 新建索引 testDeleteIndex 删除索引 父主题
元数据操作 代码样例文件路径 代码样例文件名 对应的API com.huawei.ges.graph.sdk.v1.examples.schema AddLabelSample 添加Label UpdateLabelSample 更新LabeI QueryGraphSchemaDetailSample
子图操作 代码样例文件路径 代码样例文件名 对应的API com.huawei.ges.graph.sdk.v1.examples.subgraph QuerySubgraphSample 子图查询 SubgraphExecuteAlgorithmSample 执行子图算法 父主题
Job管理 代码样例文件路径 样例方法名 对应的API com.huawei.ges.graph.sdk.v1.examples.persistence waitJob 查询Job状态 testListJobs 查询Job列表 父主题: 持久化版样例
子图操作 代码样例文件路径 代码样例文件名 对应的API com.huawei.ges.graph.sdk.v1.examples.subgraph QuerySubgraphSample 子图查询 SubgraphExecuteAlgorithmSample 执行子图算法 父主题
图统计 代码样例文件路径 样例方法名 对应的API com.huawei.ges.graph.sdk.v1.examples.persistence testShowGraphVersion 查询图版本信息 testShowGraphSummary 查询图概要信息 父主题: 持久化版样例
点集最短路(shortest_path_of_vertex_sets) 表1 parameters参数说明 参数 是否必选 说明 类型 取值范围 默认值 sources 是 起点ID集合 List 标准csv格式,ID之间以英文逗号分隔,例如:["Alice","Nana"]。 个数不大于
点集共同邻居(common_neighbors_of_vertex_sets) 表1 parameters参数说明 参数 是否必选 说明 类型 取值范围 默认值 sources(2.2.6) 是 起点ID集合 List 标准csv格式,ID之间以英文逗号分隔,例如:["Alice"
元数据操作 代码样例文件路径 样例方法名 对应的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
内存版样例 点操作 边操作 元数据操作 索引操作 查询语言 算法 路径 图统计 图操作 子图操作 Job管理 自定义操作 Filtered-query 按文件更新/删除数据 父主题: Java SDK样例参考
连通分量(connected_component) 功能介绍 根据输入参数,执行连通分量(Connected Component)算法。 连通分量代表图中的一个子图,当中所有节点都相互连接。考虑路径方向的为强连通分量(strongly connected component),不考虑路径方向的为弱连通分量
关联预测算法(link_prediction) 功能介绍 根据输入参数,执行link_prediction算法。 关联预测算法(link_prediction)给定两个节点,根据Jaccard度量方法计算两个节点的相似程度,预测节点之间的紧密关系。 URI POST /ges/v1.0
n_paths算法(n_paths) 功能介绍 根据输入参数,执行n_paths算法。 n_paths算法用于寻找图中两节点之间在层关系内的n条路径。 URI POST /ges/v1.0/{project_id}/hyg/{graph_name}/algorithm 表1 路径参数
自定义图分析算法编程示例 自定义SSSP算法 # 导入必要的包 from hyg.analytics.graph import load_base_graph from hyg.analytics.model import pregel_types, PregelModel #