Index

A B C D E F G H I K L M N O P R S T U V W X Y 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

add(LayoutUtil.Point2D) - Method in record class cloud.opencode.base.graph.layout.LayoutUtil.Point2D
Add another point (vector addition).
addedEdges() - Method in record class cloud.opencode.base.graph.GraphDiff.DiffResult
Returns the value of the addedEdges record component.
addEdge(Edge) - Method in class cloud.opencode.base.graph.builder.GraphBuilder
Add an edge 添加边
addEdge(V, V) - Method in class cloud.opencode.base.graph.builder.GraphBuilder
Add an edge with default weight 添加默认权重的边
addEdge(V, V) - Method in class cloud.opencode.base.graph.DirectedGraph
 
addEdge(V, V) - Method in interface cloud.opencode.base.graph.Graph
Add an unweighted edge 添加无权重边
addEdge(V, V) - Method in class cloud.opencode.base.graph.ImmutableGraph
Always throws UnsupportedOperationException 始终抛出 UnsupportedOperationException
addEdge(V, V) - Method in class cloud.opencode.base.graph.UndirectedGraph
 
addEdge(V, V, double) - Method in class cloud.opencode.base.graph.builder.GraphBuilder
Add an edge with weight 添加带权重的边
addEdge(V, V, double) - Method in class cloud.opencode.base.graph.DirectedGraph
 
addEdge(V, V, double) - Method in interface cloud.opencode.base.graph.Graph
Add a weighted edge 添加加权边
addEdge(V, V, double) - Method in class cloud.opencode.base.graph.ImmutableGraph
Always throws UnsupportedOperationException 始终抛出 UnsupportedOperationException
addEdge(V, V, double) - Method in class cloud.opencode.base.graph.UndirectedGraph
 
addEdges(Collection) - Method in class cloud.opencode.base.graph.builder.GraphBuilder
Add multiple edges 添加多个边
addedVertices() - Method in record class cloud.opencode.base.graph.GraphDiff.DiffResult
Returns the value of the addedVertices record component.
addError(String) - Method in class cloud.opencode.base.graph.validation.ValidationResult.Builder
Add an error 添加错误
addVertex(V) - Method in class cloud.opencode.base.graph.builder.GraphBuilder
Add a vertex 添加顶点
addVertex(V) - Method in class cloud.opencode.base.graph.DirectedGraph
 
addVertex(V) - Method in interface cloud.opencode.base.graph.Graph
Add a vertex to the graph 添加顶点到图
addVertex(V) - Method in class cloud.opencode.base.graph.ImmutableGraph
Always throws UnsupportedOperationException 始终抛出 UnsupportedOperationException
addVertex(V) - Method in class cloud.opencode.base.graph.UndirectedGraph
 
addVertices(Collection) - Method in class cloud.opencode.base.graph.builder.GraphBuilder
Add vertices from collection 从集合添加顶点
addVertices(V...) - Method in class cloud.opencode.base.graph.builder.GraphBuilder
Add multiple vertices 添加多个顶点
addWarning(String) - Method in class cloud.opencode.base.graph.validation.ValidationResult.Builder
Add a warning 添加警告
allPairsShortestPaths(Graph) - Static method in class cloud.opencode.base.graph.OpenGraph
Floyd-Warshall all-pairs shortest paths Floyd-Warshall全源最短路径
ancestors(Graph, V) - Static method in class cloud.opencode.base.graph.algorithm.DagUtil
Find all ancestors of a vertex (vertices that can reach this vertex).
articulationPoints(Graph) - Static method in class cloud.opencode.base.graph.OpenGraph
Find all articulation points (cut vertices) 查找所有关节点(割点)
ArticulationPointUtil - Class in cloud.opencode.base.graph.algorithm
Articulation Point and Bridge Finder Utility 割点与桥查找工具类
aStar(Graph, V, V, BiFunction) - Static method in class cloud.opencode.base.graph.OpenGraph
Find shortest path using A* algorithm 使用A*算法查找最短路径
AStarUtil - Class in cloud.opencode.base.graph.algorithm
A* Algorithm Util A*算法工具类
AStarUtil.PathResult<V> - Record Class in cloud.opencode.base.graph.algorithm
Result of A* search including path and cost A*搜索结果,包含路径和成本
averageClusteringCoefficient() - Method in record class cloud.opencode.base.graph.algorithm.GraphMetrics.GraphSummary
Returns the value of the averageClusteringCoefficient record component.
averageClusteringCoefficient(Graph) - Static method in class cloud.opencode.base.graph.algorithm.GraphMetrics
Compute the average clustering coefficient over all vertices 计算所有顶点的平均聚类系数
averagePathLength() - Method in record class cloud.opencode.base.graph.algorithm.GraphMetrics.GraphSummary
Returns the value of the averagePathLength record component.
averagePathLength(Graph) - Static method in class cloud.opencode.base.graph.algorithm.GraphMetrics
Compute the average shortest path length (BFS-based, unweighted) 计算平均最短路径长度(基于BFS,无权)

B

bellmanFord(Graph, V) - Static method in class cloud.opencode.base.graph.OpenGraph
Bellman-Ford single-source shortest paths (supports negative weights) Bellman-Ford单源最短路径(支持负权边)
BellmanFordUtil - Class in cloud.opencode.base.graph.algorithm
Bellman-Ford Util - Single-source shortest paths with negative weight support Bellman-Ford工具类 - 支持负权重的单源最短路径
betweennessCentrality(Graph) - Static method in class cloud.opencode.base.graph.algorithm.CentralityUtil
Calculate betweenness centrality for all vertices.
betweennessCentrality(Graph, boolean) - Static method in class cloud.opencode.base.graph.algorithm.CentralityUtil
Calculate betweenness centrality with optional normalization.
bfs(Graph, V) - Static method in class cloud.opencode.base.graph.algorithm.GraphTraversalUtil
Breadth-First Search 广度优先搜索
bfs(Graph, V) - Static method in class cloud.opencode.base.graph.OpenGraph
Breadth-first search 广度优先搜索
bfs(Graph, V, Consumer) - Static method in class cloud.opencode.base.graph.algorithm.GraphTraversalUtil
Breadth-First Search with visitor 带访问器的广度优先搜索
bfsAll(Graph) - Static method in class cloud.opencode.base.graph.algorithm.GraphTraversalUtil
Traverse all vertices (handles disconnected components) 遍历所有顶点(处理不连通分量)
bfsWithLimit(Graph, V, int) - Static method in class cloud.opencode.base.graph.algorithm.SafeGraphTraversalUtil
BFS with maximum distance limit 带最大距离限制的BFS
bidirectionalBfs(Graph, V, V) - Static method in class cloud.opencode.base.graph.OpenGraph
Find path using bidirectional BFS (efficient for large graphs) 使用双向BFS查找路径(对大图高效)
BidirectionalBfsUtil - Class in cloud.opencode.base.graph.algorithm
Bidirectional BFS Util 双向BFS工具类
bipartite() - Method in record class cloud.opencode.base.graph.algorithm.BipartiteUtil.BipartiteResult
Returns the value of the bipartite record component.
bipartitePartition(Graph) - Static method in class cloud.opencode.base.graph.OpenGraph
Compute bipartite partition or odd cycle witness 计算二部图分区或奇环证据
BipartiteResult(boolean, Set, Set, List) - Constructor for record class cloud.opencode.base.graph.algorithm.BipartiteUtil.BipartiteResult
Creates an instance of a BipartiteResult record class.
BipartiteUtil - Class in cloud.opencode.base.graph.algorithm
Bipartite Graph Detection Utility 二部图检测工具类
BipartiteUtil.BipartiteResult<V> - Record Class in cloud.opencode.base.graph.algorithm
Result of bipartite check containing partition sets or odd cycle witness.
bridges(Graph) - Static method in class cloud.opencode.base.graph.OpenGraph
Find all bridges (cut edges) 查找所有桥(割边)
build() - Method in class cloud.opencode.base.graph.builder.GraphBuilder
Build the graph 构建图
build() - Method in class cloud.opencode.base.graph.validation.ValidationResult.Builder
Build the validation result 构建验证结果
buildAndValidate() - Method in class cloud.opencode.base.graph.builder.GraphBuilder
Build and validate the graph 构建并验证图
Builder() - Constructor for class cloud.opencode.base.graph.validation.ValidationResult.Builder
 

C

calculateModularity(Graph, List) - Static method in class cloud.opencode.base.graph.algorithm.CommunityDetectionUtil
Calculates the modularity score for a given community partition.
calculateModularity(Graph, List, double) - Static method in class cloud.opencode.base.graph.algorithm.CommunityDetectionUtil
Calculates the modularity score with resolution parameter.
canSort(Graph) - Static method in class cloud.opencode.base.graph.algorithm.TopologicalSortUtil
Check if a valid topological ordering exists 检查是否存在有效的拓扑排序
canTopologicalSort(Graph) - Static method in class cloud.opencode.base.graph.OpenGraph
Check if topological sort is possible (graph is DAG) 检查是否可以进行拓扑排序(图是DAG)
center(Graph) - Static method in class cloud.opencode.base.graph.algorithm.GraphMetrics
Find the center of a graph (vertices with eccentricity equal to the radius) 查找图的中心(离心率等于半径的顶点集合)
center(Map, double, double) - Static method in class cloud.opencode.base.graph.layout.LayoutUtil
Center layout in the given bounds.
CentralityStats(double, double, double, double, int) - Constructor for record class cloud.opencode.base.graph.algorithm.CentralityUtil.CentralityStats
Creates an instance of a CentralityStats record class.
CentralityUtil - Class in cloud.opencode.base.graph.algorithm
Centrality Util - Graph Centrality Algorithms 中心性工具类 - 图中心性算法
CentralityUtil.CentralityStats - Record Class in cloud.opencode.base.graph.algorithm
Centrality statistics record.
circular(Graph, double, double) - Static method in class cloud.opencode.base.graph.layout.LayoutUtil
Compute circular layout with default center.
circular(Graph, double, double, double) - Static method in class cloud.opencode.base.graph.layout.LayoutUtil
Compute circular layout.
clear() - Method in class cloud.opencode.base.graph.DirectedGraph
 
clear() - Method in interface cloud.opencode.base.graph.Graph
Clear the graph 清空图
clear() - Method in class cloud.opencode.base.graph.ImmutableGraph
Always throws UnsupportedOperationException 始终抛出 UnsupportedOperationException
clear() - Method in class cloud.opencode.base.graph.UndirectedGraph
 
closenessCentrality(Graph) - Static method in class cloud.opencode.base.graph.algorithm.CentralityUtil
Calculate closeness centrality for all vertices.
cloud.opencode.base.graph - module cloud.opencode.base.graph
OpenCode Base Graph Module OpenCode 基础图论模块
cloud.opencode.base.graph - package cloud.opencode.base.graph
 
cloud.opencode.base.graph.algorithm - package cloud.opencode.base.graph.algorithm
 
cloud.opencode.base.graph.builder - package cloud.opencode.base.graph.builder
 
cloud.opencode.base.graph.exception - package cloud.opencode.base.graph.exception
 
cloud.opencode.base.graph.layout - package cloud.opencode.base.graph.layout
Graph Layout Algorithms - Algorithms for graph visualization layout 图布局算法 - 用于图可视化布局的算法
cloud.opencode.base.graph.node - package cloud.opencode.base.graph.node
 
cloud.opencode.base.graph.security - package cloud.opencode.base.graph.security
 
cloud.opencode.base.graph.serializer - package cloud.opencode.base.graph.serializer
 
cloud.opencode.base.graph.validation - package cloud.opencode.base.graph.validation
 
clusteringCoefficient(Graph, V) - Static method in class cloud.opencode.base.graph.algorithm.GraphMetrics
Compute the local clustering coefficient of a vertex 计算顶点的局部聚类系数
color() - Method in record class cloud.opencode.base.graph.serializer.GexfUtil.VisualData
Returns the value of the color record component.
commonEdges() - Method in record class cloud.opencode.base.graph.GraphDiff.DiffResult
Returns the value of the commonEdges record component.
commonVertices() - Method in record class cloud.opencode.base.graph.GraphDiff.DiffResult
Returns the value of the commonVertices record component.
communities() - Method in record class cloud.opencode.base.graph.algorithm.CommunityDetectionUtil.CommunityResult
Returns the value of the communities record component.
communityCount() - Method in record class cloud.opencode.base.graph.algorithm.CommunityDetectionUtil.CommunityResult
Gets the number of communities.
CommunityDetectionUtil - Class in cloud.opencode.base.graph.algorithm
Community Detection Util - Graph community detection algorithms 社区检测工具 - 图社区检测算法
CommunityDetectionUtil.CommunityResult<V> - Record Class in cloud.opencode.base.graph.algorithm
Community detection result.
CommunityResult(List, Map, double, int) - Constructor for record class cloud.opencode.base.graph.algorithm.CommunityDetectionUtil.CommunityResult
Creates an instance of a CommunityResult record class.
compare(Graph, Graph) - Static method in class cloud.opencode.base.graph.GraphDiff
Compare two graphs and compute their differences 比较两个图并计算差异
complement(Graph) - Static method in class cloud.opencode.base.graph.algorithm.SubgraphUtil
Create the complement of a graph.
componentCount() - Method in record class cloud.opencode.base.graph.algorithm.GraphMetrics.GraphSummary
Returns the value of the componentCount record component.
componentCount() - Method in class cloud.opencode.base.graph.algorithm.UnionFind
Get the number of distinct components.
componentCount(Graph) - Static method in class cloud.opencode.base.graph.algorithm.MinimumSpanningTreeUtil
Get the count of connected components after MST/MSF construction 获取MST/MSF构建后的连通分量数
componentOf(Graph, V) - Static method in class cloud.opencode.base.graph.algorithm.StronglyConnectedComponentsUtil
Find the SCC containing the given vertex.
componentOf(V) - Method in class cloud.opencode.base.graph.algorithm.UnionFind
Get all elements in the same component as the given element.
components() - Method in class cloud.opencode.base.graph.algorithm.UnionFind
Get all components as a list of sets.
compute(Graph) - Static method in class cloud.opencode.base.graph.algorithm.FloydWarshallUtil
Compute all-pairs shortest paths using Floyd-Warshall algorithm.
computeFlow(Graph, V, V) - Static method in class cloud.opencode.base.graph.algorithm.NetworkFlowUtil
Get the flow result with detailed information 获取包含详细信息的流结果
computeFlow(Graph, V, V) - Static method in class cloud.opencode.base.graph.OpenGraph
Compute flow result with detailed information 计算包含详细信息的流结果
condensation(Graph) - Static method in class cloud.opencode.base.graph.algorithm.StronglyConnectedComponentsUtil
Build the condensation graph (DAG of SCCs).
condensation(Graph) - Static method in class cloud.opencode.base.graph.OpenGraph
Get condensation graph (DAG of SCCs) 获取冷凝图(强连通分量的DAG)
configure(Consumer) - Method in class cloud.opencode.base.graph.builder.GraphBuilder
Configure the builder 配置构建器
connected() - Method in record class cloud.opencode.base.graph.algorithm.GraphMetrics.GraphSummary
Returns the value of the connected record component.
connected(V, V) - Method in class cloud.opencode.base.graph.algorithm.MinimumSpanningTreeUtil.UnionFind
Check if two vertices are connected 检查两个顶点是否连通
connected(V, V) - Method in class cloud.opencode.base.graph.algorithm.UnionFind
Check if two elements are in the same component.
connectedComponentCount(Graph) - Static method in class cloud.opencode.base.graph.OpenGraph
Get the number of connected components 获取连通分量数量
connectedComponents(Graph) - Static method in class cloud.opencode.base.graph.OpenGraph
Find all connected components 查找所有连通分量
ConnectedComponentsUtil - Class in cloud.opencode.base.graph.algorithm
Connected Components Util 连通分量工具类
containsEdge(V, V) - Method in class cloud.opencode.base.graph.DirectedGraph
 
containsEdge(V, V) - Method in interface cloud.opencode.base.graph.Graph
Check if the graph contains an edge 检查图是否包含边
containsEdge(V, V) - Method in class cloud.opencode.base.graph.ImmutableGraph
 
containsEdge(V, V) - Method in class cloud.opencode.base.graph.UndirectedGraph
 
containsVertex(V) - Method in class cloud.opencode.base.graph.DirectedGraph
 
containsVertex(V) - Method in interface cloud.opencode.base.graph.Graph
Check if the graph contains a vertex 检查图是否包含顶点
containsVertex(V) - Method in class cloud.opencode.base.graph.ImmutableGraph
 
containsVertex(V) - Method in class cloud.opencode.base.graph.UndirectedGraph
 
copy(Graph) - Static method in class cloud.opencode.base.graph.algorithm.SubgraphUtil
Create a copy of the graph.
copyOf(Graph) - Static method in class cloud.opencode.base.graph.ImmutableGraph
Create an immutable copy of the given graph 创建给定图的不可变副本
cost() - Method in record class cloud.opencode.base.graph.algorithm.AStarUtil.PathResult
Returns the value of the cost record component.
count() - Method in record class cloud.opencode.base.graph.algorithm.CentralityUtil.CentralityStats
Returns the value of the count record component.
count(Graph) - Static method in class cloud.opencode.base.graph.algorithm.ConnectedComponentsUtil
Get the number of connected components 获取连通分量的数量
count(Graph) - Static method in class cloud.opencode.base.graph.algorithm.StronglyConnectedComponentsUtil
Count the number of strongly connected components.
CYCLE_DETECTED - Enum constant in enum class cloud.opencode.base.graph.exception.GraphErrorCode
Cycle detected | 检测到环
CycleDetectedException - Exception Class in cloud.opencode.base.graph.exception
Cycle Detected Exception 检测到环异常
CycleDetectedException(String) - Constructor for exception class cloud.opencode.base.graph.exception.CycleDetectedException
Create cycle detected exception with message 使用消息创建检测到环异常
CycleDetectedException(List) - Constructor for exception class cloud.opencode.base.graph.exception.CycleDetectedException
Create cycle detected exception 创建检测到环异常
CycleDetectionUtil - Class in cloud.opencode.base.graph.algorithm
Cycle Detection Util 环检测工具类

D

DagUtil - Class in cloud.opencode.base.graph.algorithm
DAG (Directed Acyclic Graph) Utility 有向无环图工具类
DEFAULT_COOLING - Static variable in class cloud.opencode.base.graph.layout.LayoutUtil
Default cooling factor for simulated annealing | 模拟退火默认冷却因子
DEFAULT_DAMPING_FACTOR - Static variable in class cloud.opencode.base.graph.algorithm.CentralityUtil
Default damping factor for PageRank | PageRank默认阻尼因子
DEFAULT_ITERATIONS - Static variable in class cloud.opencode.base.graph.layout.LayoutUtil
Default number of iterations for force-directed algorithms | 力导向算法默认迭代次数
DEFAULT_MAX_DEPTH - Static variable in class cloud.opencode.base.graph.security.SafeGraphOperations
Default maximum traversal depth 默认最大遍历深度
DEFAULT_MAX_EDGES - Static variable in class cloud.opencode.base.graph.security.SafeGraphOperations
Default maximum edge count 默认最大边数量
DEFAULT_MAX_ITERATIONS - Static variable in class cloud.opencode.base.graph.algorithm.CentralityUtil
Default maximum iterations | 默认最大迭代次数
DEFAULT_MAX_VERTICES - Static variable in class cloud.opencode.base.graph.security.SafeGraphOperations
Default maximum vertex count 默认最大顶点数量
DEFAULT_TIMEOUT - Static variable in class cloud.opencode.base.graph.security.SafeGraphOperations
Default timeout duration 默认超时时间
DEFAULT_TOLERANCE - Static variable in class cloud.opencode.base.graph.algorithm.CentralityUtil
Default convergence threshold | 默认收敛阈值
DEFAULT_WEIGHT - Static variable in record class cloud.opencode.base.graph.node.Edge
Default edge weight 默认边权重
degreeCentrality(Graph) - Static method in class cloud.opencode.base.graph.algorithm.CentralityUtil
Calculate degree centrality for all vertices.
density() - Method in record class cloud.opencode.base.graph.algorithm.GraphMetrics.GraphSummary
Returns the value of the density record component.
density(Graph) - Static method in class cloud.opencode.base.graph.algorithm.GraphMetrics
Compute the edge density of a graph 计算图的边密度
density(Graph) - Static method in class cloud.opencode.base.graph.OpenGraph
Get graph density 获取图密度
descendants(Graph, V) - Static method in class cloud.opencode.base.graph.algorithm.DagUtil
Find all descendants of a vertex (vertices reachable from this vertex).
dfs(Graph, V) - Static method in class cloud.opencode.base.graph.algorithm.GraphTraversalUtil
Depth-First Search (iterative) 深度优先搜索(迭代)
dfs(Graph, V) - Static method in class cloud.opencode.base.graph.OpenGraph
Depth-first search 深度优先搜索
dfs(Graph, V, Consumer) - Static method in class cloud.opencode.base.graph.algorithm.GraphTraversalUtil
Depth-First Search with visitor (iterative) 带访问器的深度优先搜索(迭代)
dfsAll(Graph) - Static method in class cloud.opencode.base.graph.algorithm.GraphTraversalUtil
Traverse all vertices using DFS (handles disconnected components) 使用DFS遍历所有顶点(处理不连通分量)
dfsIterative(Graph, V) - Static method in class cloud.opencode.base.graph.algorithm.SafeGraphTraversalUtil
Iterative Depth-First Search (avoids stack overflow) 迭代式深度优先搜索(避免栈溢出)
dfsIterative(Graph, V) - Static method in class cloud.opencode.base.graph.OpenGraph
Safe iterative depth-first search (avoids stack overflow) 安全的迭代式深度优先搜索(避免栈溢出)
dfsIterative(Graph, V, Consumer) - Static method in class cloud.opencode.base.graph.algorithm.SafeGraphTraversalUtil
Iterative DFS with visitor 带访问器的迭代式DFS
dfsIterativeWithLimit(Graph, V, int) - Static method in class cloud.opencode.base.graph.algorithm.SafeGraphTraversalUtil
Iterative depth-limited DFS 迭代式深度限制DFS
dfsWithLimit(Graph, V, int) - Static method in class cloud.opencode.base.graph.algorithm.SafeGraphTraversalUtil
Depth-limited DFS 深度限制的DFS
diameter() - Method in record class cloud.opencode.base.graph.algorithm.GraphMetrics.GraphSummary
Returns the value of the diameter record component.
diameter(Graph) - Static method in class cloud.opencode.base.graph.algorithm.GraphMetrics
Compute the diameter of a graph (max eccentricity over all vertices) 计算图的直径(所有顶点的最大离心率)
diameter(Graph) - Static method in class cloud.opencode.base.graph.OpenGraph
Get graph diameter 获取图直径
diff(Graph, Graph) - Static method in class cloud.opencode.base.graph.OpenGraph
Compare two graphs and get differences 比较两个图并获取差异
difference(Graph, Graph) - Static method in class cloud.opencode.base.graph.algorithm.SubgraphUtil
Compute difference of two graphs (g1 - g2).
DiffResult(Set, Set, Set, Set, Set, Set) - Constructor for record class cloud.opencode.base.graph.GraphDiff.DiffResult
Creates an instance of a DiffResult record class.
dijkstra(Graph, V) - Static method in class cloud.opencode.base.graph.algorithm.ShortestPathUtil
Dijkstra's algorithm for single-source shortest paths Dijkstra单源最短路径算法
dijkstra(Graph, V) - Static method in class cloud.opencode.base.graph.OpenGraph
Dijkstra's shortest path algorithm Dijkstra最短路径算法
directed() - Method in record class cloud.opencode.base.graph.algorithm.GraphMetrics.GraphSummary
Returns the value of the directed record component.
directed() - Static method in class cloud.opencode.base.graph.builder.GraphBuilder
Create a builder for directed graph 创建有向图构建器
directed() - Static method in class cloud.opencode.base.graph.OpenGraph
Create a directed graph 创建有向图
directed() - Static method in interface cloud.opencode.base.graph.WeightedGraph
Create a directed weighted graph 创建有向加权图
directedBuilder() - Static method in class cloud.opencode.base.graph.OpenGraph
Create a graph builder for directed graph 创建有向图构建器
DirectedGraph<V> - Class in cloud.opencode.base.graph
Directed Graph 有向图
DirectedGraph() - Constructor for class cloud.opencode.base.graph.DirectedGraph
Create an empty directed graph 创建空的有向图
directedWeighted() - Static method in class cloud.opencode.base.graph.OpenGraph
Create a directed weighted graph 创建有向加权图
DISCONNECTED - Enum constant in enum class cloud.opencode.base.graph.exception.GraphErrorCode
Graph is disconnected | 图不连通
distance(V, V) - Method in interface cloud.opencode.base.graph.algorithm.FloydWarshallUtil.AllPairsResult
Get the shortest distance between two vertices.
distanceMatrix() - Method in interface cloud.opencode.base.graph.algorithm.FloydWarshallUtil.AllPairsResult
Get the full distance matrix as a nested map.
distanceTo(LayoutUtil.Point2D) - Method in record class cloud.opencode.base.graph.layout.LayoutUtil.Point2D
Calculate distance to another point.
DUPLICATE_EDGE - Enum constant in enum class cloud.opencode.base.graph.exception.GraphErrorCode
Duplicate edge | 重复边
DUPLICATE_VERTEX - Enum constant in enum class cloud.opencode.base.graph.exception.GraphErrorCode
Duplicate vertex | 重复顶点

E

eccentricity(Graph, V) - Static method in class cloud.opencode.base.graph.algorithm.GraphMetrics
Compute the eccentricity of a vertex (BFS-based, unweighted) 计算顶点的离心率(基于BFS,无权)
Edge<V> - Record Class in cloud.opencode.base.graph.node
Edge 边
Edge(V, V) - Constructor for record class cloud.opencode.base.graph.node.Edge
Create an unweighted edge (weight = 1.0) 创建无权重边(权重=1.0)
Edge(V, V, double) - Constructor for record class cloud.opencode.base.graph.node.Edge
Create an edge with validation 创建带验证的边
EDGE_NOT_FOUND - Enum constant in enum class cloud.opencode.base.graph.exception.GraphErrorCode
Edge not found | 边不存在
edgeCount() - Method in record class cloud.opencode.base.graph.algorithm.GraphMetrics.GraphSummary
Returns the value of the edgeCount record component.
edgeCount() - Method in class cloud.opencode.base.graph.DirectedGraph
 
edgeCount() - Method in interface cloud.opencode.base.graph.Graph
Get the number of edges 获取边数量
edgeCount() - Method in class cloud.opencode.base.graph.ImmutableGraph
 
edgeCount() - Method in class cloud.opencode.base.graph.UndirectedGraph
 
edgeExists(Graph, V, V) - Static method in class cloud.opencode.base.graph.validation.GraphValidator
Validate edge exists in graph 验证边在图中存在
edgeFlows() - Method in record class cloud.opencode.base.graph.algorithm.NetworkFlowUtil.FlowResult
Returns the value of the edgeFlows record component.
edgeInduced(Graph, Set) - Static method in class cloud.opencode.base.graph.algorithm.SubgraphUtil
Create edge-induced subgraph.
EdgeNotFoundException - Exception Class in cloud.opencode.base.graph.exception
Edge Not Found Exception 边不存在异常
EdgeNotFoundException(Object, Object) - Constructor for exception class cloud.opencode.base.graph.exception.EdgeNotFoundException
Create edge not found exception 创建边不存在异常
edges() - Method in class cloud.opencode.base.graph.DirectedGraph
 
edges() - Method in interface cloud.opencode.base.graph.Graph
Get all edges 获取所有边
edges() - Method in class cloud.opencode.base.graph.ImmutableGraph
 
edges() - Method in class cloud.opencode.base.graph.UndirectedGraph
 
edgesInWeightRange(double, double) - Method in interface cloud.opencode.base.graph.WeightedGraph
Get edges with weight in range 获取权重在范围内的边
egoNetwork(Graph, V) - Static method in class cloud.opencode.base.graph.algorithm.SubgraphUtil
Extract ego network (1-hop neighborhood).
egoNetwork(Graph, V, int) - Static method in class cloud.opencode.base.graph.algorithm.SubgraphUtil
Extract ego network with specified radius.
eigenvectorCentrality(Graph) - Static method in class cloud.opencode.base.graph.algorithm.CentralityUtil
Calculate eigenvector centrality for all vertices.
eigenvectorCentrality(Graph, int, double) - Static method in class cloud.opencode.base.graph.algorithm.CentralityUtil
Calculate eigenvector centrality with parameters.
equals(Object) - Method in record class cloud.opencode.base.graph.algorithm.AStarUtil.PathResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.graph.algorithm.BipartiteUtil.BipartiteResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.graph.algorithm.CentralityUtil.CentralityStats
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.graph.algorithm.CommunityDetectionUtil.CommunityResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.graph.algorithm.GraphMetrics.GraphSummary
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.graph.algorithm.NetworkFlowUtil.FlowResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.graph.GraphDiff.DiffResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.graph.layout.LayoutUtil.Point2D
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.graph.node.Edge
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.graph.serializer.GexfUtil.VisualData
Indicates whether some other object is "equal to" this one.
error(String) - Static method in class cloud.opencode.base.graph.validation.ValidationResult
Create a validation result with a single error 创建带单个错误的验证结果
errorCount() - Method in class cloud.opencode.base.graph.validation.ValidationResult
Get the count of errors 获取错误数量
errors() - Method in class cloud.opencode.base.graph.validation.ValidationResult
Get the list of errors 获取错误列表
executeWithTimeout(Callable, String) - Static method in class cloud.opencode.base.graph.security.SafeGraphOperations
Execute a callable with timeout 带超时执行可调用任务

F

filterByWeight(Graph, double, double) - Static method in class cloud.opencode.base.graph.algorithm.SubgraphUtil
Filter edges by weight range.
filterEdges(Graph, Predicate) - Static method in class cloud.opencode.base.graph.algorithm.SubgraphUtil
Filter graph by edge predicate.
filterEdges(Graph, Predicate) - Static method in class cloud.opencode.base.graph.GraphTransform
Filter edges, keeping all vertices but only edges matching the predicate 过滤边,保留所有顶点但仅保留匹配谓词的边
filterEdges(Graph, Predicate) - Static method in class cloud.opencode.base.graph.OpenGraph
Filter edges from a graph by predicate 按谓词过滤图的边
filterVertices(Graph, Predicate) - Static method in class cloud.opencode.base.graph.algorithm.SubgraphUtil
Filter graph by vertex predicate.
filterVertices(Graph, Predicate) - Static method in class cloud.opencode.base.graph.GraphTransform
Filter vertices, keeping only those matching the predicate (induced subgraph) 过滤顶点,仅保留匹配谓词的顶点(诱导子图)
filterVertices(Graph, Predicate) - Static method in class cloud.opencode.base.graph.OpenGraph
Filter vertices from a graph by predicate 按谓词过滤图的顶点
find(Graph) - Static method in class cloud.opencode.base.graph.algorithm.ConnectedComponentsUtil
Find all connected components 查找所有连通分量
find(Graph) - Static method in class cloud.opencode.base.graph.algorithm.StronglyConnectedComponentsUtil
Find all strongly connected components using Tarjan's algorithm.
find(V) - Method in class cloud.opencode.base.graph.algorithm.MinimumSpanningTreeUtil.UnionFind
Find the root of a vertex (with path compression) 查找顶点的根(带路径压缩)
find(V) - Method in class cloud.opencode.base.graph.algorithm.UnionFind
Find the representative (root) of the set containing the given element, with path compression.
findArticulationPoints(Graph) - Static method in class cloud.opencode.base.graph.algorithm.ArticulationPointUtil
Find all articulation points (cut vertices) in the graph.
findBridges(Graph) - Static method in class cloud.opencode.base.graph.algorithm.ArticulationPointUtil
Find all bridges (cut edges) in the graph.
findCycle(Graph) - Static method in class cloud.opencode.base.graph.algorithm.CycleDetectionUtil
Find one cycle if exists 如果存在环则找到一个
findCycle(Graph) - Static method in class cloud.opencode.base.graph.OpenGraph
Find one cycle if exists 如果存在则找到一个环
findNegativeCycle(Graph, V) - Static method in class cloud.opencode.base.graph.algorithm.BellmanFordUtil
Find and return a negative cycle reachable from the given source vertex.
findPath(Graph, V, V) - Static method in class cloud.opencode.base.graph.algorithm.AStarUtil
Find path with zero heuristic (equivalent to Dijkstra) 使用零启发式函数查找路径(等同于Dijkstra)
findPath(Graph, V, V) - Static method in class cloud.opencode.base.graph.algorithm.BidirectionalBfsUtil
Find path using bidirectional BFS 使用双向BFS查找路径
findPath(Graph, V, V, BiFunction) - Static method in class cloud.opencode.base.graph.algorithm.AStarUtil
Find shortest path using A* algorithm 使用A*算法查找最短路径
findPathDetailed(Graph, V, V, BiFunction) - Static method in class cloud.opencode.base.graph.algorithm.AStarUtil
Find path with detailed result 查找路径并返回详细结果
findPathWithCostLimit(Graph, V, V, BiFunction, double) - Static method in class cloud.opencode.base.graph.algorithm.AStarUtil
Find path with cost limit 使用成本限制查找路径
findVerticesOnPath(Graph, V, V, int) - Static method in class cloud.opencode.base.graph.algorithm.BidirectionalBfsUtil
Find all vertices within a certain distance using bidirectional approach 使用双向方法查找特定距离内的所有顶点
FlowResult(double, Map, Set) - Constructor for record class cloud.opencode.base.graph.algorithm.NetworkFlowUtil.FlowResult
Creates an instance of a FlowResult record class.
FloydWarshallUtil - Class in cloud.opencode.base.graph.algorithm
Floyd-Warshall Util - All-pairs shortest paths Floyd-Warshall工具类 - 全源最短路径
FloydWarshallUtil.AllPairsResult<V> - Interface in cloud.opencode.base.graph.algorithm
All-pairs shortest path result.
forceDirected(Graph, double, double) - Static method in class cloud.opencode.base.graph.layout.LayoutUtil
Compute force-directed layout using Fruchterman-Reingold algorithm.
forceDirected(Graph, double, double, int) - Static method in class cloud.opencode.base.graph.layout.LayoutUtil
Compute force-directed layout with custom iterations.
from() - Method in record class cloud.opencode.base.graph.node.Edge
Returns the value of the from record component.
fromAdjacencyList(String, boolean) - Static method in class cloud.opencode.base.graph.serializer.GraphSerializer
Parse graph from adjacency list format 从邻接表格式解析图
fromEdgeList(String, boolean) - Static method in class cloud.opencode.base.graph.serializer.GraphSerializer
Parse graph from edge list format 从边列表格式解析图
fromGexf(String) - Static method in class cloud.opencode.base.graph.serializer.GexfUtil
Import graph from GEXF string.
fromGexf(String, Map, Map) - Static method in class cloud.opencode.base.graph.serializer.GexfUtil
Import graph from GEXF string with attribute and visual data maps.
fromGraphML(String) - Static method in class cloud.opencode.base.graph.serializer.GraphMLUtil
Import graph from GraphML string.
fromGraphML(String, Map, Map) - Static method in class cloud.opencode.base.graph.serializer.GraphMLUtil
Import graph from GraphML string with attribute maps.

G

getActual() - Method in exception class cloud.opencode.base.graph.exception.GraphLimitExceededException
Get the actual value 获取实际值
getCode() - Method in enum class cloud.opencode.base.graph.exception.GraphErrorCode
Get the error code 获取错误码
getCommunity(CommunityDetectionUtil.CommunityResult, V) - Static method in class cloud.opencode.base.graph.algorithm.CommunityDetectionUtil
Gets the community containing a specific vertex.
getCommunityOf(V) - Method in record class cloud.opencode.base.graph.algorithm.CommunityDetectionUtil.CommunityResult
Gets the community containing a vertex.
getComponentContaining(Graph, V) - Static method in class cloud.opencode.base.graph.algorithm.ConnectedComponentsUtil
Get the component containing a specific vertex 获取包含特定顶点的分量
getCycle() - Method in exception class cloud.opencode.base.graph.exception.CycleDetectedException
Get the detected cycle 获取检测到的环
getDependencyDepths(Graph) - Static method in class cloud.opencode.base.graph.algorithm.TopologicalSortUtil
Get the dependency depth (longest path length) for each vertex 获取每个顶点的依赖深度(最长路径长度)
getDescription() - Method in enum class cloud.opencode.base.graph.exception.GraphErrorCode
Get the error description 获取错误描述
getFlows(Graph, V, V) - Static method in class cloud.opencode.base.graph.algorithm.NetworkFlowUtil
Get flow on each edge 获取每条边上的流量
getFlows(Graph, V, V) - Static method in class cloud.opencode.base.graph.OpenGraph
Get flow on each edge 获取每条边上的流量
getFrom() - Method in exception class cloud.opencode.base.graph.exception.EdgeNotFoundException
Get the source vertex 获取源顶点
getGraphErrorCode() - Method in exception class cloud.opencode.base.graph.exception.GraphException
Get the graph error code 获取图错误码
getLargestComponent(Graph) - Static method in class cloud.opencode.base.graph.algorithm.ConnectedComponentsUtil
Get the largest connected component 获取最大连通分量
getLimit() - Method in exception class cloud.opencode.base.graph.exception.GraphLimitExceededException
Get the configured limit 获取配置的限制
getMaxDepth() - Static method in class cloud.opencode.base.graph.security.SafeGraphOperations
Get current maximum depth 获取当前最大深度
getMaxEdges() - Static method in class cloud.opencode.base.graph.security.SafeGraphOperations
Get current maximum edge count 获取当前最大边数量
getMaxVertices() - Static method in class cloud.opencode.base.graph.security.SafeGraphOperations
Get current maximum vertex count 获取当前最大顶点数量
getSinkVertices(Graph) - Static method in class cloud.opencode.base.graph.algorithm.TopologicalSortUtil
Get vertices with no dependents (out-degree 0) 获取无被依赖的顶点(出度为0)
getSmallestComponent(Graph) - Static method in class cloud.opencode.base.graph.algorithm.ConnectedComponentsUtil
Get the smallest connected component 获取最小连通分量
getSortedBySize(CommunityDetectionUtil.CommunityResult) - Static method in class cloud.opencode.base.graph.algorithm.CommunityDetectionUtil
Gets communities sorted by size (largest first).
getSource() - Method in exception class cloud.opencode.base.graph.exception.NoPathException
Get the source vertex 获取源顶点
getSourceVertices(Graph) - Static method in class cloud.opencode.base.graph.algorithm.TopologicalSortUtil
Get vertices with no dependencies (in-degree 0) 获取无依赖的顶点(入度为0)
getStatistics(Graph) - Static method in class cloud.opencode.base.graph.serializer.GraphSerializer
Get graph statistics as string 获取图统计信息字符串
getStats(Map) - Static method in class cloud.opencode.base.graph.algorithm.CentralityUtil
Get centrality statistics.
getTarget() - Method in exception class cloud.opencode.base.graph.exception.NoPathException
Get the target vertex 获取目标顶点
getTimeout() - Method in exception class cloud.opencode.base.graph.exception.GraphTimeoutException
Get the timeout duration 获取超时时长
getTimeout() - Static method in class cloud.opencode.base.graph.security.SafeGraphOperations
Get current timeout 获取当前超时时间
getTo() - Method in exception class cloud.opencode.base.graph.exception.EdgeNotFoundException
Get the target vertex 获取目标顶点
getValue() - Method in interface cloud.opencode.base.graph.node.Node
Get the node value 获取节点值
getVertex() - Method in exception class cloud.opencode.base.graph.exception.VertexNotFoundException
Get the missing vertex 获取缺失的顶点
getWeight(V, V) - Method in class cloud.opencode.base.graph.DirectedGraph
 
getWeight(V, V) - Method in interface cloud.opencode.base.graph.Graph
Get the weight of an edge 获取边的权重
getWeight(V, V) - Method in class cloud.opencode.base.graph.ImmutableGraph
 
getWeight(V, V) - Method in class cloud.opencode.base.graph.UndirectedGraph
 
GexfUtil - Class in cloud.opencode.base.graph.serializer
GEXF Util - GEXF Format Import/Export GEXF工具类 - GEXF格式导入/导出
GexfUtil.VisualData - Record Class in cloud.opencode.base.graph.serializer
Visual data for graph vertices.
Graph<V> - Interface in cloud.opencode.base.graph
Graph Interface 图接口
GraphBuilder<V> - Class in cloud.opencode.base.graph.builder
Graph Builder 图构建器
GraphDiff - Class in cloud.opencode.base.graph
Graph Diff - Utility for comparing two graphs and computing their differences 图差异 - 比较两个图并计算差异的工具类
GraphDiff.DiffResult<V> - Record Class in cloud.opencode.base.graph
Result of comparing two graphs 比较两个图的结果
GraphErrorCode - Enum Class in cloud.opencode.base.graph.exception
Graph Error Code 图错误码
GraphException - Exception Class in cloud.opencode.base.graph.exception
Graph Exception 图异常基类
GraphException(String, GraphErrorCode) - Constructor for exception class cloud.opencode.base.graph.exception.GraphException
Create graph exception 创建图异常
GraphException(String, Throwable, GraphErrorCode) - Constructor for exception class cloud.opencode.base.graph.exception.GraphException
Create graph exception with cause 创建带原因的图异常
GraphLimitExceededException - Exception Class in cloud.opencode.base.graph.exception
Graph Limit Exceeded Exception 图限制超出异常
GraphLimitExceededException(String) - Constructor for exception class cloud.opencode.base.graph.exception.GraphLimitExceededException
Create graph limit exceeded exception 创建图限制超出异常
GraphLimitExceededException(String, long, long) - Constructor for exception class cloud.opencode.base.graph.exception.GraphLimitExceededException
Create graph limit exceeded exception with details 使用详情创建图限制超出异常
GraphMetrics - Class in cloud.opencode.base.graph.algorithm
Graph Metrics - Utility class for computing graph metrics and statistics 图度量 - 计算图度量和统计信息的工具类
GraphMetrics.GraphSummary - Record Class in cloud.opencode.base.graph.algorithm
Graph summary record containing key metrics 包含关键度量的图摘要记录
GraphMLUtil - Class in cloud.opencode.base.graph.serializer
GraphML Util - GraphML Format Import/Export GraphML工具类 - GraphML格式导入/导出
GraphSerializer - Class in cloud.opencode.base.graph.serializer
Graph Serializer 图序列化器
GraphSummary(int, int, double, boolean, boolean, int, int, int, double, double) - Constructor for record class cloud.opencode.base.graph.algorithm.GraphMetrics.GraphSummary
Creates an instance of a GraphSummary record class.
GraphTimeoutException - Exception Class in cloud.opencode.base.graph.exception
Graph Timeout Exception 图计算超时异常
GraphTimeoutException(String) - Constructor for exception class cloud.opencode.base.graph.exception.GraphTimeoutException
Create graph timeout exception 创建图计算超时异常
GraphTimeoutException(String, Duration) - Constructor for exception class cloud.opencode.base.graph.exception.GraphTimeoutException
Create graph timeout exception with timeout duration 使用超时时长创建图计算超时异常
GraphTransform - Class in cloud.opencode.base.graph
Graph Transform - Utility for transforming graphs through vertex/edge mapping and filtering 图变换 - 通过顶点/边映射和过滤来变换图的工具类
GraphTraversalUtil - Class in cloud.opencode.base.graph.algorithm
Graph Traversal Util 图遍历工具类
GraphValidator - Class in cloud.opencode.base.graph.validation
Graph Validator 图验证器
grid(Graph, double, double) - Static method in class cloud.opencode.base.graph.layout.LayoutUtil
Compute grid layout.

H

hasChanges() - Method in record class cloud.opencode.base.graph.GraphDiff.DiffResult
Check if there are any differences between the two graphs 检查两个图之间是否有任何差异
hasCycle(Graph) - Static method in class cloud.opencode.base.graph.algorithm.CycleDetectionUtil
Check if graph contains a cycle 检查图是否包含环
hasCycle(Graph) - Static method in class cloud.opencode.base.graph.OpenGraph
Check if graph contains a cycle 检查图是否包含环
hasErrors() - Method in class cloud.opencode.base.graph.validation.ValidationResult
Check if there are errors 检查是否有错误
hasFlow() - Method in record class cloud.opencode.base.graph.algorithm.NetworkFlowUtil.FlowResult
Check if flow is valid (max flow is positive) 检查流是否有效(最大流为正)
hashCode() - Method in record class cloud.opencode.base.graph.algorithm.AStarUtil.PathResult
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.graph.algorithm.BipartiteUtil.BipartiteResult
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.graph.algorithm.CentralityUtil.CentralityStats
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.graph.algorithm.CommunityDetectionUtil.CommunityResult
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.graph.algorithm.GraphMetrics.GraphSummary
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.graph.algorithm.NetworkFlowUtil.FlowResult
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.graph.GraphDiff.DiffResult
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.graph.layout.LayoutUtil.Point2D
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.graph.node.Edge
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.graph.serializer.GexfUtil.VisualData
Returns a hash code value for this object.
hasNegativeCycle() - Method in interface cloud.opencode.base.graph.algorithm.FloydWarshallUtil.AllPairsResult
Check if a negative cycle exists in the graph.
hasNegativeCycle(Graph, V) - Static method in class cloud.opencode.base.graph.algorithm.BellmanFordUtil
Check if a negative cycle is reachable from the given source vertex.
hasNegativeCycle(Graph, V) - Static method in class cloud.opencode.base.graph.OpenGraph
Check for negative weight cycle reachable from source 检查从源顶点可达的负权环
hasPath() - Method in record class cloud.opencode.base.graph.algorithm.AStarUtil.PathResult
 
hasPath(Graph, V, V) - Static method in class cloud.opencode.base.graph.algorithm.BidirectionalBfsUtil
Check if path exists using bidirectional BFS 使用双向BFS检查路径是否存在
hasPath(Graph, V, V) - Static method in class cloud.opencode.base.graph.algorithm.ShortestPathUtil
Check if a path exists between two vertices 检查两个顶点之间是否存在路径
hasSpanningTree(Graph) - Static method in class cloud.opencode.base.graph.algorithm.MinimumSpanningTreeUtil
Check if a graph has a spanning tree (is connected) 检查图是否有生成树(是否连通)
hasSpanningTree(Graph) - Static method in class cloud.opencode.base.graph.OpenGraph
Check if a graph has a spanning tree (is connected) 检查图是否有生成树(是否连通)
hasWarnings() - Method in class cloud.opencode.base.graph.validation.ValidationResult
Check if there are warnings 检查是否有警告
hierarchical(Graph, double, double) - Static method in class cloud.opencode.base.graph.layout.LayoutUtil
Compute hierarchical layout (top-down).

I

ImmutableGraph<V> - Class in cloud.opencode.base.graph
Immutable Graph - An unmodifiable snapshot of a graph 不可变图 - 图的不可修改快照
inDegree(V) - Method in interface cloud.opencode.base.graph.Graph
Get the in-degree of a vertex 获取顶点的入度
inDegreeCentrality(Graph) - Static method in class cloud.opencode.base.graph.algorithm.CentralityUtil
Calculate in-degree centrality for directed graphs.
induced(Graph, Set) - Static method in class cloud.opencode.base.graph.algorithm.SubgraphUtil
Create vertex-induced subgraph.
inEdges(V) - Method in class cloud.opencode.base.graph.DirectedGraph
 
inEdges(V) - Method in interface cloud.opencode.base.graph.Graph
Get incoming edges to a vertex 获取顶点的入边
inEdges(V) - Method in class cloud.opencode.base.graph.ImmutableGraph
 
inEdges(V) - Method in class cloud.opencode.base.graph.UndirectedGraph
 
initialCapacity(int) - Method in class cloud.opencode.base.graph.builder.GraphBuilder
Set initial capacity for the graph 设置图的初始容量
inSameCommunity(CommunityDetectionUtil.CommunityResult, V, V) - Static method in class cloud.opencode.base.graph.algorithm.CommunityDetectionUtil
Checks if two vertices are in the same community.
intersection(Graph, Graph) - Static method in class cloud.opencode.base.graph.algorithm.SubgraphUtil
Compute intersection of two graphs.
INVALID_DIRECTION - Enum constant in enum class cloud.opencode.base.graph.exception.GraphErrorCode
Invalid graph direction | 无效的图方向
INVALID_EDGE - Enum constant in enum class cloud.opencode.base.graph.exception.GraphErrorCode
Invalid edge | 无效边
INVALID_VERTEX - Enum constant in enum class cloud.opencode.base.graph.exception.GraphErrorCode
Invalid vertex | 无效顶点
INVALID_WEIGHT - Enum constant in enum class cloud.opencode.base.graph.exception.GraphErrorCode
Invalid weight | 无效权重
InvalidEdgeException - Exception Class in cloud.opencode.base.graph.exception
Invalid Edge Exception 无效边异常
InvalidEdgeException(String) - Constructor for exception class cloud.opencode.base.graph.exception.InvalidEdgeException
Create invalid edge exception 创建无效边异常
InvalidVertexException - Exception Class in cloud.opencode.base.graph.exception
Invalid Vertex Exception 无效顶点异常
InvalidVertexException(String) - Constructor for exception class cloud.opencode.base.graph.exception.InvalidVertexException
Create invalid vertex exception 创建无效顶点异常
isBiconnected(Graph) - Static method in class cloud.opencode.base.graph.algorithm.ArticulationPointUtil
Check if the graph is biconnected.
isBiconnected(Graph) - Static method in class cloud.opencode.base.graph.OpenGraph
Check if graph is biconnected 检查图是否双连通
isBipartite(Graph) - Static method in class cloud.opencode.base.graph.algorithm.BipartiteUtil
Check if the graph is bipartite.
isBipartite(Graph) - Static method in class cloud.opencode.base.graph.OpenGraph
Check if graph is bipartite 检查图是否为二部图
isConnected(Graph, V, V) - Static method in class cloud.opencode.base.graph.algorithm.ConnectedComponentsUtil
Check if two vertices are connected 检查两个顶点是否连通
isConnected(Graph, V, V) - Static method in class cloud.opencode.base.graph.OpenGraph
Check if two vertices are connected 检查两个顶点是否连通
isDirected() - Method in class cloud.opencode.base.graph.DirectedGraph
 
isDirected() - Method in interface cloud.opencode.base.graph.Graph
Check if this is a directed graph 检查是否为有向图
isDirected() - Method in class cloud.opencode.base.graph.ImmutableGraph
 
isDirected() - Method in class cloud.opencode.base.graph.UndirectedGraph
 
isEmpty() - Method in interface cloud.opencode.base.graph.Graph
Check if the graph is empty 检查图是否为空
isEmpty() - Method in record class cloud.opencode.base.graph.GraphDiff.DiffResult
Check if there are no differences between the two graphs 检查两个图之间是否没有差异
isFullyConnected(Graph) - Static method in class cloud.opencode.base.graph.algorithm.ConnectedComponentsUtil
Check if graph is fully connected (single component) 检查图是否完全连通(单一分量)
isFullyConnected(Graph) - Static method in class cloud.opencode.base.graph.OpenGraph
Check if graph is fully connected 检查图是否完全连通
isSelfLoop() - Method in record class cloud.opencode.base.graph.node.Edge
Check if this is a self-loop 检查是否为自环
isStronglyConnected(Graph) - Static method in class cloud.opencode.base.graph.algorithm.StronglyConnectedComponentsUtil
Check if the entire graph is strongly connected.
isStronglyConnected(Graph) - Static method in class cloud.opencode.base.graph.OpenGraph
Check if graph is strongly connected 检查图是否强连通
isValid() - Method in class cloud.opencode.base.graph.validation.ValidationResult
Check if validation passed (no errors) 检查验证是否通过(无错误)
iterations() - Method in record class cloud.opencode.base.graph.algorithm.CommunityDetectionUtil.CommunityResult
Returns the value of the iterations record component.

K

katzCentrality(Graph, double, double) - Static method in class cloud.opencode.base.graph.algorithm.CentralityUtil
Calculate Katz centrality for all vertices.
katzCentrality(Graph, double, double, int, double) - Static method in class cloud.opencode.base.graph.algorithm.CentralityUtil
Calculate Katz centrality with full parameters.
kruskal(Graph) - Static method in class cloud.opencode.base.graph.algorithm.MinimumSpanningTreeUtil
Find minimum spanning tree using Kruskal's algorithm 使用Kruskal算法查找最小生成树
kruskal(Graph) - Static method in class cloud.opencode.base.graph.OpenGraph
Find minimum spanning tree using Kruskal's algorithm 使用Kruskal算法查找最小生成树

L

labelPropagation(Graph) - Static method in class cloud.opencode.base.graph.algorithm.CommunityDetectionUtil
Detects communities using Label Propagation algorithm.
labelPropagation(Graph, int) - Static method in class cloud.opencode.base.graph.algorithm.CommunityDetectionUtil
Detects communities using Label Propagation with max iterations.
LayoutUtil - Class in cloud.opencode.base.graph.layout
Layout Util - Graph Layout Algorithms for Visualization 布局工具类 - 图可视化布局算法
LayoutUtil.Point2D - Record Class in cloud.opencode.base.graph.layout
Immutable 2D point for graph layout.
left() - Method in record class cloud.opencode.base.graph.algorithm.BipartiteUtil.BipartiteResult
Returns the value of the left record component.
LIMIT_EXCEEDED - Enum constant in enum class cloud.opencode.base.graph.exception.GraphErrorCode
Limit exceeded | 超出限制
longestPath(Graph) - Static method in class cloud.opencode.base.graph.algorithm.DagUtil
Find the longest path in the DAG (critical path).
longestPath(Graph) - Static method in class cloud.opencode.base.graph.OpenGraph
Find longest path in DAG (critical path) 查找DAG中的最长路径(关键路径)
longestPath(Graph, V, V) - Static method in class cloud.opencode.base.graph.algorithm.DagUtil
Find the longest path between two specific vertices in the DAG.
longestPathLength(Graph) - Static method in class cloud.opencode.base.graph.algorithm.DagUtil
Compute the length (sum of edge weights) of the longest path in the DAG.
louvain(Graph) - Static method in class cloud.opencode.base.graph.algorithm.CommunityDetectionUtil
Detects communities using the Louvain algorithm.
louvain(Graph, double, int) - Static method in class cloud.opencode.base.graph.algorithm.CommunityDetectionUtil
Detects communities using the Louvain algorithm with parameters.

M

mapVertices(Graph, Function) - Static method in class cloud.opencode.base.graph.GraphTransform
Map all vertices to a new type, preserving edges and weights 将所有顶点映射为新类型,保留边和权重
mapVertices(Graph, Function) - Static method in class cloud.opencode.base.graph.OpenGraph
Transform graph vertices using mapping function 使用映射函数转换图顶点
max() - Method in record class cloud.opencode.base.graph.algorithm.CentralityUtil.CentralityStats
Returns the value of the max record component.
maxFlow() - Method in record class cloud.opencode.base.graph.algorithm.NetworkFlowUtil.FlowResult
Returns the value of the maxFlow record component.
maxFlow(Graph, V, V) - Static method in class cloud.opencode.base.graph.algorithm.NetworkFlowUtil
Calculate maximum flow using Ford-Fulkerson algorithm with BFS (Edmonds-Karp) 使用BFS的Ford-Fulkerson算法(Edmonds-Karp)计算最大流
maxFlow(Graph, V, V) - Static method in class cloud.opencode.base.graph.OpenGraph
Calculate maximum flow using Ford-Fulkerson algorithm (Edmonds-Karp) 使用Ford-Fulkerson算法(Edmonds-Karp)计算最大流
maxFlowDfs(Graph, V, V) - Static method in class cloud.opencode.base.graph.algorithm.NetworkFlowUtil
Calculate maximum flow using Ford-Fulkerson with DFS 使用DFS的Ford-Fulkerson算法计算最大流
maxWeight() - Method in interface cloud.opencode.base.graph.WeightedGraph
Get the maximum edge weight 获取最大边权重
mean() - Method in record class cloud.opencode.base.graph.algorithm.CentralityUtil.CentralityStats
Returns the value of the mean record component.
merge(ValidationResult) - Method in class cloud.opencode.base.graph.validation.ValidationResult
Merge with another validation result 与另一个验证结果合并
min() - Method in record class cloud.opencode.base.graph.algorithm.CentralityUtil.CentralityStats
Returns the value of the min record component.
minCut() - Method in record class cloud.opencode.base.graph.algorithm.NetworkFlowUtil.FlowResult
Returns the value of the minCut record component.
minCut(Graph, V, V) - Static method in class cloud.opencode.base.graph.algorithm.NetworkFlowUtil
Find minimum cut edges 查找最小割边
minCut(Graph, V, V) - Static method in class cloud.opencode.base.graph.OpenGraph
Find minimum cut edges 查找最小割边
minCutCapacity() - Method in record class cloud.opencode.base.graph.algorithm.NetworkFlowUtil.FlowResult
Get the minimum cut capacity (equals max flow) 获取最小割容量(等于最大流)
minCutCapacity(Graph, V, V) - Static method in class cloud.opencode.base.graph.algorithm.NetworkFlowUtil
Calculate min-cut capacity 计算最小割容量
minimumSpanningForest(Graph) - Static method in class cloud.opencode.base.graph.algorithm.MinimumSpanningTreeUtil
Find minimum spanning forest for disconnected graph 为不连通图查找最小生成森林
MinimumSpanningTreeUtil - Class in cloud.opencode.base.graph.algorithm
Minimum Spanning Tree Util 最小生成树工具类
MinimumSpanningTreeUtil.UnionFind<V> - Class in cloud.opencode.base.graph.algorithm
Union-Find (Disjoint Set Union) data structure 并查集数据结构
minWeight() - Method in interface cloud.opencode.base.graph.WeightedGraph
Get the minimum edge weight 获取最小边权重
modularity() - Method in record class cloud.opencode.base.graph.algorithm.CommunityDetectionUtil.CommunityResult
Returns the value of the modularity record component.
mstWeight(Graph) - Static method in class cloud.opencode.base.graph.algorithm.MinimumSpanningTreeUtil
Calculate the total weight of the minimum spanning tree 计算最小生成树的总权重
mstWeight(Graph) - Static method in class cloud.opencode.base.graph.OpenGraph
Calculate the total weight of the minimum spanning tree 计算最小生成树的总权重
multiply(double) - Method in record class cloud.opencode.base.graph.layout.LayoutUtil.Point2D
Multiply by scalar.

N

NEGATIVE_CYCLE - Enum constant in enum class cloud.opencode.base.graph.exception.GraphErrorCode
Negative weight cycle detected | 检测到负权环
NEGATIVE_WEIGHT - Enum constant in enum class cloud.opencode.base.graph.exception.GraphErrorCode
Negative weight edge | 负权边
neighborhood(Graph, V, int) - Static method in class cloud.opencode.base.graph.algorithm.SubgraphUtil
Extract k-hop neighborhood of a vertex.
neighbors(V) - Method in class cloud.opencode.base.graph.DirectedGraph
 
neighbors(V) - Method in interface cloud.opencode.base.graph.Graph
Get neighboring vertices 获取邻接顶点
neighbors(V) - Method in class cloud.opencode.base.graph.ImmutableGraph
 
neighbors(V) - Method in class cloud.opencode.base.graph.UndirectedGraph
 
NetworkFlowUtil - Class in cloud.opencode.base.graph.algorithm
Network Flow Util 网络流工具类
NetworkFlowUtil.FlowResult<V> - Record Class in cloud.opencode.base.graph.algorithm
Flow result containing max flow value, edge flows, and min-cut 包含最大流值、边流量和最小割的流结果
NO_PATH - Enum constant in enum class cloud.opencode.base.graph.exception.GraphErrorCode
No path exists | 无路径
Node<V> - Interface in cloud.opencode.base.graph.node
Node Interface 节点接口
nodesExpanded() - Method in record class cloud.opencode.base.graph.algorithm.AStarUtil.PathResult
Returns the value of the nodesExpanded record component.
NoPathException - Exception Class in cloud.opencode.base.graph.exception
No Path Exception 无路径异常
NoPathException(Object, Object) - Constructor for exception class cloud.opencode.base.graph.exception.NoPathException
Create no path exception 创建无路径异常
normalize(Map) - Static method in class cloud.opencode.base.graph.algorithm.CentralityUtil
Normalize centrality values to [0, 1] range.
NOT_BIPARTITE - Enum constant in enum class cloud.opencode.base.graph.exception.GraphErrorCode
Graph is not bipartite | 图不是二部图
NOT_DAG - Enum constant in enum class cloud.opencode.base.graph.exception.GraphErrorCode
Graph is not a DAG | 图不是有向无环图

O

oddCycle() - Method in record class cloud.opencode.base.graph.algorithm.BipartiteUtil.BipartiteResult
Returns the value of the oddCycle record component.
of(double, double, double, String) - Static method in record class cloud.opencode.base.graph.serializer.GexfUtil.VisualData
Create visual data with all properties.
of(V) - Static method in interface cloud.opencode.base.graph.node.Node
Create a simple node with the given value 使用给定值创建简单节点
ofBipartite(Set, Set) - Static method in record class cloud.opencode.base.graph.algorithm.BipartiteUtil.BipartiteResult
Create a bipartite result with left and right partitions.
ofNotBipartite(List) - Static method in record class cloud.opencode.base.graph.algorithm.BipartiteUtil.BipartiteResult
Create a not-bipartite result with an odd cycle witness.
OpenGraph - Class in cloud.opencode.base.graph
Open Graph 图组件入口类
OUT_OF_MEMORY - Enum constant in enum class cloud.opencode.base.graph.exception.GraphErrorCode
Out of memory | 内存不足
outDegree(V) - Method in interface cloud.opencode.base.graph.Graph
Get the out-degree of a vertex 获取顶点的出度
outDegreeCentrality(Graph) - Static method in class cloud.opencode.base.graph.algorithm.CentralityUtil
Calculate out-degree centrality for directed graphs.
outEdges(V) - Method in class cloud.opencode.base.graph.DirectedGraph
 
outEdges(V) - Method in interface cloud.opencode.base.graph.Graph
Get outgoing edges from a vertex 获取顶点的出边
outEdges(V) - Method in class cloud.opencode.base.graph.ImmutableGraph
 
outEdges(V) - Method in class cloud.opencode.base.graph.UndirectedGraph
 

P

pageRank(Graph) - Static method in class cloud.opencode.base.graph.algorithm.CentralityUtil
Calculate PageRank for all vertices using default parameters.
pageRank(Graph, double, int) - Static method in class cloud.opencode.base.graph.algorithm.CentralityUtil
Calculate PageRank for all vertices.
pageRank(Graph, double, int, double) - Static method in class cloud.opencode.base.graph.algorithm.CentralityUtil
Calculate PageRank with convergence tolerance.
partition(Graph) - Static method in class cloud.opencode.base.graph.algorithm.BipartiteUtil
Compute the bipartite partition or find an odd cycle witness.
path() - Method in record class cloud.opencode.base.graph.algorithm.AStarUtil.PathResult
Returns the value of the path record component.
path(V, V) - Method in interface cloud.opencode.base.graph.algorithm.FloydWarshallUtil.AllPairsResult
Get the shortest path between two vertices.
PathResult(List, double, int) - Constructor for record class cloud.opencode.base.graph.algorithm.AStarUtil.PathResult
Creates an instance of a PathResult record class.
Point2D(double, double) - Constructor for record class cloud.opencode.base.graph.layout.LayoutUtil.Point2D
Creates an instance of a Point2D record class.
position(double, double) - Static method in record class cloud.opencode.base.graph.serializer.GexfUtil.VisualData
Create visual data with position only.
prim(Graph) - Static method in class cloud.opencode.base.graph.algorithm.MinimumSpanningTreeUtil
Find minimum spanning tree using Prim's algorithm (auto-select start) 使用Prim算法查找最小生成树(自动选择起点)
prim(Graph) - Static method in class cloud.opencode.base.graph.OpenGraph
Find minimum spanning tree using Prim's algorithm 使用Prim算法查找最小生成树
prim(Graph, V) - Static method in class cloud.opencode.base.graph.algorithm.MinimumSpanningTreeUtil
Find minimum spanning tree using Prim's algorithm 使用Prim算法查找最小生成树
prim(Graph, V) - Static method in class cloud.opencode.base.graph.OpenGraph
Find minimum spanning tree using Prim's algorithm starting from a vertex 使用Prim算法从指定顶点开始查找最小生成树

R

radius() - Method in record class cloud.opencode.base.graph.algorithm.GraphMetrics.GraphSummary
Returns the value of the radius record component.
radius(Graph) - Static method in class cloud.opencode.base.graph.algorithm.GraphMetrics
Compute the radius of a graph (min eccentricity over all vertices) 计算图的半径(所有顶点的最小离心率)
random(Graph, double, double) - Static method in class cloud.opencode.base.graph.layout.LayoutUtil
Compute random layout.
readFromFile(Path) - Static method in class cloud.opencode.base.graph.serializer.GexfUtil
Read graph from GEXF file.
readFromFile(Path) - Static method in class cloud.opencode.base.graph.serializer.GraphMLUtil
Read graph from GraphML file.
readFromFile(Path, Map, Map) - Static method in class cloud.opencode.base.graph.serializer.GexfUtil
Read graph from GEXF file with attribute and visual data maps.
readFromFile(Path, Map, Map) - Static method in class cloud.opencode.base.graph.serializer.GraphMLUtil
Read graph from GraphML file with attribute maps.
removedEdges() - Method in record class cloud.opencode.base.graph.GraphDiff.DiffResult
Returns the value of the removedEdges record component.
removedVertices() - Method in record class cloud.opencode.base.graph.GraphDiff.DiffResult
Returns the value of the removedVertices record component.
removeEdge(V, V) - Method in class cloud.opencode.base.graph.DirectedGraph
 
removeEdge(V, V) - Method in interface cloud.opencode.base.graph.Graph
Remove an edge 移除边
removeEdge(V, V) - Method in class cloud.opencode.base.graph.ImmutableGraph
Always throws UnsupportedOperationException 始终抛出 UnsupportedOperationException
removeEdge(V, V) - Method in class cloud.opencode.base.graph.UndirectedGraph
 
removeIsolated(Graph) - Static method in class cloud.opencode.base.graph.algorithm.SubgraphUtil
Remove isolated vertices (vertices with no edges).
removeVertex(V) - Method in class cloud.opencode.base.graph.DirectedGraph
 
removeVertex(V) - Method in interface cloud.opencode.base.graph.Graph
Remove a vertex and all its edges 移除顶点及其所有边
removeVertex(V) - Method in class cloud.opencode.base.graph.ImmutableGraph
Always throws UnsupportedOperationException 始终抛出 UnsupportedOperationException
removeVertex(V) - Method in class cloud.opencode.base.graph.UndirectedGraph
 
resetToDefaults() - Static method in class cloud.opencode.base.graph.security.SafeGraphOperations
Reset all limits to defaults 重置所有限制为默认值
reverse(Graph) - Static method in class cloud.opencode.base.graph.algorithm.SubgraphUtil
Create a reversed (transposed) graph.
reverse(Graph) - Static method in class cloud.opencode.base.graph.GraphTransform
Reverse all edges in a directed graph; for undirected graphs, return a copy 反转有向图的所有边;对于无向图,返回副本
reverse(Graph) - Static method in class cloud.opencode.base.graph.OpenGraph
Reverse a directed graph 反转有向图
reversed() - Method in record class cloud.opencode.base.graph.node.Edge
Create a reversed edge 创建反向边
right() - Method in record class cloud.opencode.base.graph.algorithm.BipartiteUtil.BipartiteResult
Returns the value of the right record component.

S

safeAddEdge(Graph, V, V) - Static method in class cloud.opencode.base.graph.security.SafeGraphOperations
Safely add an edge with limit check 安全添加边(带限制检查)
safeAddEdge(Graph, V, V, double) - Static method in class cloud.opencode.base.graph.security.SafeGraphOperations
Safely add an edge with weight and limit check 安全添加带权重的边(带限制检查)
safeAddVertex(Graph, V) - Static method in class cloud.opencode.base.graph.security.SafeGraphOperations
Safely add a vertex with limit check 安全添加顶点(带限制检查)
safeDijkstra(Graph, V) - Static method in class cloud.opencode.base.graph.security.SafeGraphOperations
Safely compute Dijkstra distances with timeout 安全计算Dijkstra距离(带超时)
SafeGraphOperations - Class in cloud.opencode.base.graph.security
Safe Graph Operations 安全图操作
SafeGraphTraversalUtil - Class in cloud.opencode.base.graph.algorithm
Safe Graph Traversal Util 安全图遍历工具类
safeShortestPath(Graph, V, V) - Static method in class cloud.opencode.base.graph.security.SafeGraphOperations
Safely compute shortest path with timeout 安全计算最短路径(带超时)
sampleEdges(Graph, int, Random) - Static method in class cloud.opencode.base.graph.algorithm.SubgraphUtil
Sample a random subgraph with specified number of edges.
sampleVertices(Graph, int, Random) - Static method in class cloud.opencode.base.graph.algorithm.SubgraphUtil
Sample a random subgraph with specified number of vertices.
scale(Map, double, double, double) - Static method in class cloud.opencode.base.graph.layout.LayoutUtil
Scale layout to fit in the given bounds.
setMaxDepth(int) - Static method in class cloud.opencode.base.graph.security.SafeGraphOperations
Configure maximum traversal depth 配置最大遍历深度
setMaxEdges(int) - Static method in class cloud.opencode.base.graph.security.SafeGraphOperations
Configure maximum edge count 配置最大边数量
setMaxVertices(int) - Static method in class cloud.opencode.base.graph.security.SafeGraphOperations
Configure maximum vertex count 配置最大顶点数量
setTimeout(Duration) - Static method in class cloud.opencode.base.graph.security.SafeGraphOperations
Configure timeout duration 配置超时时间
setWeight(V, V, double) - Method in interface cloud.opencode.base.graph.WeightedGraph
Set the weight of an edge 设置边的权重
shortestDistance(Graph, V, V) - Static method in class cloud.opencode.base.graph.algorithm.ShortestPathUtil
Get the shortest distance between two vertices 获取两个顶点之间的最短距离
shortestPath(Graph, V, V) - Static method in class cloud.opencode.base.graph.algorithm.BellmanFordUtil
Find shortest path between two vertices using Bellman-Ford algorithm.
shortestPath(Graph, V, V) - Static method in class cloud.opencode.base.graph.algorithm.ShortestPathUtil
Find shortest path between two vertices 查找两个顶点之间的最短路径
shortestPath(Graph, V, V) - Static method in class cloud.opencode.base.graph.OpenGraph
Find shortest path between two vertices 查找两个顶点之间的最短路径
shortestPathLength(Graph, V, V) - Static method in class cloud.opencode.base.graph.algorithm.BidirectionalBfsUtil
Find shortest path distance using bidirectional BFS (unweighted) 使用双向BFS查找最短路径距离(无权重)
shortestPaths(Graph, V) - Static method in class cloud.opencode.base.graph.algorithm.BellmanFordUtil
Compute single-source shortest paths using Bellman-Ford algorithm.
ShortestPathUtil - Class in cloud.opencode.base.graph.algorithm
Shortest Path Util 最短路径工具类
size() - Method in record class cloud.opencode.base.graph.serializer.GexfUtil.VisualData
Returns the value of the size record component.
snapshot() - Method in interface cloud.opencode.base.graph.Graph
Create an immutable snapshot of this graph 创建此图的不可变快照
snapshot(Graph) - Static method in class cloud.opencode.base.graph.OpenGraph
Create an immutable snapshot of a graph 创建图的不可变快照
sort(Graph) - Static method in class cloud.opencode.base.graph.algorithm.TopologicalSortUtil
Topological sort using Kahn's algorithm 使用Kahn算法进行拓扑排序
sortDfs(Graph) - Static method in class cloud.opencode.base.graph.algorithm.TopologicalSortUtil
Topological sort using DFS 使用DFS进行拓扑排序
spring(Graph, double, double, double) - Static method in class cloud.opencode.base.graph.layout.LayoutUtil
Compute spring layout (simplified force-directed).
spring(Graph, double, double, double, int) - Static method in class cloud.opencode.base.graph.layout.LayoutUtil
Compute spring layout with custom parameters.
stdDev() - Method in record class cloud.opencode.base.graph.algorithm.CentralityUtil.CentralityStats
Returns the value of the stdDev record component.
stronglyConnectedComponents(Graph) - Static method in class cloud.opencode.base.graph.OpenGraph
Find all strongly connected components (Tarjan's algorithm) 查找所有强连通分量(Tarjan算法)
StronglyConnectedComponentsUtil - Class in cloud.opencode.base.graph.algorithm
Strongly Connected Components Util - Tarjan's Algorithm 强连通分量工具类 - Tarjan算法
SubgraphUtil - Class in cloud.opencode.base.graph.algorithm
Subgraph Util - Subgraph Extraction and Operations 子图工具类 - 子图提取和操作
subtract(LayoutUtil.Point2D) - Method in record class cloud.opencode.base.graph.layout.LayoutUtil.Point2D
Subtract another point (vector subtraction).
success() - Static method in class cloud.opencode.base.graph.validation.ValidationResult
Create a successful validation result 创建成功的验证结果
summary(Graph) - Static method in class cloud.opencode.base.graph.algorithm.GraphMetrics
Compute a full summary of graph metrics 计算完整的图度量摘要
summary(Graph) - Static method in class cloud.opencode.base.graph.OpenGraph
Get graph summary with all key metrics 获取包含所有关键指标的图摘要
symmetricDifference(Graph, Graph) - Static method in class cloud.opencode.base.graph.algorithm.SubgraphUtil
Compute symmetric difference of two graphs.

T

TIMEOUT - Enum constant in enum class cloud.opencode.base.graph.exception.GraphErrorCode
Timeout | 计算超时
to() - Method in record class cloud.opencode.base.graph.node.Edge
Returns the value of the to record component.
toAdjacencyList(Graph) - Static method in class cloud.opencode.base.graph.serializer.GraphSerializer
Convert graph to adjacency list format 将图转换为邻接表格式
toDot(Graph) - Static method in class cloud.opencode.base.graph.serializer.GraphSerializer
Convert graph to DOT format (Graphviz) 将图转换为DOT格式(Graphviz)
toDot(Graph, String) - Static method in class cloud.opencode.base.graph.serializer.GraphSerializer
Convert graph to DOT format with custom name 将图转换为带自定义名称的DOT格式
toEdgeList(Graph) - Static method in class cloud.opencode.base.graph.serializer.GraphSerializer
Convert graph to edge list format 将图转换为边列表格式
toGexf(Graph) - Static method in class cloud.opencode.base.graph.serializer.GexfUtil
Export graph to GEXF format.
toGexf(Graph, Map, Map) - Static method in class cloud.opencode.base.graph.serializer.GexfUtil
Export graph to GEXF format with attributes and visual data.
toGraphML(Graph) - Static method in class cloud.opencode.base.graph.serializer.GraphMLUtil
Export graph to GraphML format.
toGraphML(Graph, Map, Map) - Static method in class cloud.opencode.base.graph.serializer.GraphMLUtil
Export graph to GraphML format with attributes.
topK(Map, int) - Static method in class cloud.opencode.base.graph.algorithm.CentralityUtil
Get the top-K most central vertices.
topologicalSort(Graph) - Static method in class cloud.opencode.base.graph.OpenGraph
Topological sort using Kahn's algorithm 使用Kahn算法进行拓扑排序
TopologicalSortUtil - Class in cloud.opencode.base.graph.algorithm
Topological Sort Util 拓扑排序工具类
toString() - Method in record class cloud.opencode.base.graph.algorithm.AStarUtil.PathResult
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.graph.algorithm.BipartiteUtil.BipartiteResult
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.graph.algorithm.CentralityUtil.CentralityStats
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.graph.algorithm.CommunityDetectionUtil.CommunityResult
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.graph.algorithm.GraphMetrics.GraphSummary
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.graph.algorithm.NetworkFlowUtil.FlowResult
Returns a string representation of this record class.
toString() - Method in class cloud.opencode.base.graph.DirectedGraph
 
toString() - Method in record class cloud.opencode.base.graph.GraphDiff.DiffResult
Returns a string representation of this record class.
toString() - Method in class cloud.opencode.base.graph.ImmutableGraph
 
toString() - Method in record class cloud.opencode.base.graph.layout.LayoutUtil.Point2D
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.graph.node.Edge
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.graph.serializer.GexfUtil.VisualData
Returns a string representation of this record class.
toString() - Method in class cloud.opencode.base.graph.UndirectedGraph
 
toString() - Method in class cloud.opencode.base.graph.validation.ValidationResult
 
totalWeight() - Method in interface cloud.opencode.base.graph.WeightedGraph
Get the total weight of all edges 获取所有边的总权重
totalWeight(Set) - Static method in class cloud.opencode.base.graph.algorithm.MinimumSpanningTreeUtil
Calculate the total weight of a set of edges 计算边集合的总权重
transitiveClosure(Graph) - Static method in class cloud.opencode.base.graph.algorithm.DagUtil
Compute the transitive closure of a DAG.
transitiveClosure(Graph) - Static method in class cloud.opencode.base.graph.OpenGraph
Compute transitive closure of DAG 计算DAG的传递闭包
transitiveReduction(Graph) - Static method in class cloud.opencode.base.graph.algorithm.DagUtil
Compute the transitive reduction of a DAG.
transitiveReduction(Graph) - Static method in class cloud.opencode.base.graph.OpenGraph
Compute transitive reduction of DAG 计算DAG的传递归约

U

undirected() - Static method in class cloud.opencode.base.graph.builder.GraphBuilder
Create a builder for undirected graph 创建无向图构建器
undirected() - Static method in class cloud.opencode.base.graph.OpenGraph
Create an undirected graph 创建无向图
undirected() - Static method in interface cloud.opencode.base.graph.WeightedGraph
Create an undirected weighted graph 创建无向加权图
undirectedBuilder() - Static method in class cloud.opencode.base.graph.OpenGraph
Create a graph builder for undirected graph 创建无向图构建器
UndirectedGraph<V> - Class in cloud.opencode.base.graph
Undirected Graph 无向图
UndirectedGraph() - Constructor for class cloud.opencode.base.graph.UndirectedGraph
Create an empty undirected graph 创建空的无向图
undirectedWeighted() - Static method in class cloud.opencode.base.graph.OpenGraph
Create an undirected weighted graph 创建无向加权图
union(Graph, Graph) - Static method in class cloud.opencode.base.graph.algorithm.SubgraphUtil
Compute union of two graphs.
union(V, V) - Method in class cloud.opencode.base.graph.algorithm.MinimumSpanningTreeUtil.UnionFind
Union two vertices (by rank) 合并两个顶点(按秩合并)
union(V, V) - Method in class cloud.opencode.base.graph.algorithm.UnionFind
Union the sets containing elements a and b using union by rank.
UnionFind<V> - Class in cloud.opencode.base.graph.algorithm
Union-Find (Disjoint Set) data structure with path compression and union by rank.
UnionFind(Collection) - Constructor for class cloud.opencode.base.graph.algorithm.UnionFind
Create a UnionFind with the given elements, each in its own singleton set.
UnionFind(Set) - Constructor for class cloud.opencode.base.graph.algorithm.MinimumSpanningTreeUtil.UnionFind
Create a union-find structure for the given vertices 为给定顶点创建并查集结构
UNKNOWN - Enum constant in enum class cloud.opencode.base.graph.exception.GraphErrorCode
Unknown error | 未知错误

V

validateDAG(Graph) - Static method in class cloud.opencode.base.graph.validation.GraphValidator
Check if graph is a valid DAG (Directed Acyclic Graph) 检查图是否为有效的DAG(有向无环图)
validateEdge(V, V) - Static method in class cloud.opencode.base.graph.validation.GraphValidator
Validate an edge 验证边
validateEdge(V, V, double) - Static method in class cloud.opencode.base.graph.validation.GraphValidator
Validate an edge with weight 验证带权重的边
validateGraph(Graph) - Static method in class cloud.opencode.base.graph.validation.GraphValidator
Validate graph structure 验证图结构
validateGraphStructure(Graph) - Static method in class cloud.opencode.base.graph.validation.GraphValidator
Validate graph structure and throw exception if errors found 验证图结构,如果发现错误则抛出异常
validateVertex(V) - Static method in class cloud.opencode.base.graph.validation.GraphValidator
Validate a vertex 验证顶点
validateWeight(double) - Static method in class cloud.opencode.base.graph.validation.GraphValidator
Validate edge weight 验证边权重
ValidationResult - Class in cloud.opencode.base.graph.validation
Validation Result 验证结果
ValidationResult(List, List) - Constructor for class cloud.opencode.base.graph.validation.ValidationResult
Create a validation result 创建验证结果
ValidationResult.Builder - Class in cloud.opencode.base.graph.validation
Builder for ValidationResult ValidationResult构建器
valueOf(String) - Static method in enum class cloud.opencode.base.graph.exception.GraphErrorCode
Returns the enum constant of this class with the specified name.
values() - Static method in enum class cloud.opencode.base.graph.exception.GraphErrorCode
Returns an array containing the constants of this enum class, in the order they are declared.
VERTEX_NOT_FOUND - Enum constant in enum class cloud.opencode.base.graph.exception.GraphErrorCode
Vertex not found | 顶点不存在
vertexCount() - Method in record class cloud.opencode.base.graph.algorithm.GraphMetrics.GraphSummary
Returns the value of the vertexCount record component.
vertexCount() - Method in class cloud.opencode.base.graph.DirectedGraph
 
vertexCount() - Method in interface cloud.opencode.base.graph.Graph
Get the number of vertices 获取顶点数量
vertexCount() - Method in class cloud.opencode.base.graph.ImmutableGraph
 
vertexCount() - Method in class cloud.opencode.base.graph.UndirectedGraph
 
vertexExists(Graph, V) - Static method in class cloud.opencode.base.graph.validation.GraphValidator
Validate vertex exists in graph 验证顶点在图中存在
VertexNotFoundException - Exception Class in cloud.opencode.base.graph.exception
Vertex Not Found Exception 顶点不存在异常
VertexNotFoundException(Object) - Constructor for exception class cloud.opencode.base.graph.exception.VertexNotFoundException
Create vertex not found exception 创建顶点不存在异常
vertexToCommunity() - Method in record class cloud.opencode.base.graph.algorithm.CommunityDetectionUtil.CommunityResult
Returns the value of the vertexToCommunity record component.
vertices() - Method in class cloud.opencode.base.graph.DirectedGraph
 
vertices() - Method in interface cloud.opencode.base.graph.Graph
Get all vertices 获取所有顶点
vertices() - Method in class cloud.opencode.base.graph.ImmutableGraph
 
vertices() - Method in class cloud.opencode.base.graph.UndirectedGraph
 
VisualData(double, double, double, String) - Constructor for record class cloud.opencode.base.graph.serializer.GexfUtil.VisualData
Creates an instance of a VisualData record class.

W

warning(String) - Static method in class cloud.opencode.base.graph.validation.ValidationResult
Create a validation result with a single warning 创建带单个警告的验证结果
warningCount() - Method in class cloud.opencode.base.graph.validation.ValidationResult
Get the count of warnings 获取警告数量
warnings() - Method in class cloud.opencode.base.graph.validation.ValidationResult
Get the list of warnings 获取警告列表
weight() - Method in record class cloud.opencode.base.graph.node.Edge
Returns the value of the weight record component.
WeightedGraph<V> - Interface in cloud.opencode.base.graph
Weighted Graph 加权图
withWeight(double) - Method in record class cloud.opencode.base.graph.node.Edge
Create an edge with a new weight 创建具有新权重的边
wouldCreateCycle(Graph, V, V) - Static method in class cloud.opencode.base.graph.algorithm.CycleDetectionUtil
Check if adding an edge would create a cycle 检查添加边是否会创建环
wouldExceedEdgeLimit(Graph) - Static method in class cloud.opencode.base.graph.security.SafeGraphOperations
Check if adding edge would exceed limit 检查添加边是否会超出限制
wouldExceedVertexLimit(Graph) - Static method in class cloud.opencode.base.graph.security.SafeGraphOperations
Check if adding vertex would exceed limit 检查添加顶点是否会超出限制
writeToFile(Graph, Path) - Static method in class cloud.opencode.base.graph.serializer.GexfUtil
Write graph to GEXF file.
writeToFile(Graph, Path) - Static method in class cloud.opencode.base.graph.serializer.GraphMLUtil
Write graph to GraphML file.
writeToFile(Graph, Path, Map, Map) - Static method in class cloud.opencode.base.graph.serializer.GraphMLUtil
Write graph to GraphML file with attributes.
writeToFile(Graph, Path, Map, Map) - Static method in class cloud.opencode.base.graph.serializer.GexfUtil
Write graph to GEXF file with attributes and visual data.

X

x() - Method in record class cloud.opencode.base.graph.layout.LayoutUtil.Point2D
Returns the value of the x record component.
x() - Method in record class cloud.opencode.base.graph.serializer.GexfUtil.VisualData
Returns the value of the x record component.

Y

y() - Method in record class cloud.opencode.base.graph.layout.LayoutUtil.Point2D
Returns the value of the y record component.
y() - Method in record class cloud.opencode.base.graph.serializer.GexfUtil.VisualData
Returns the value of the y record component.
A B C D E F G H I K L M N O P R S T U V W X Y 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form