Index
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).
- 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.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.UndirectedGraph
- addEdges(Collection) - Method in class cloud.opencode.base.graph.builder.GraphBuilder
-
Add multiple edges 添加多个边
- 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.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 添加警告
- 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*搜索结果,包含路径和成本
B
- 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工具类
- 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(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
CentralityStatsrecord 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.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
- color() - Method in record class cloud.opencode.base.graph.serializer.GexfUtil.VisualData
-
Returns the value of the
colorrecord component. - communities() - Method in record class cloud.opencode.base.graph.algorithm.CommunityDetectionUtil.CommunityResult
-
Returns the value of the
communitiesrecord 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
CommunityResultrecord class. - complement(Graph) - Static method in class cloud.opencode.base.graph.algorithm.SubgraphUtil
-
Create the complement of a graph.
- componentCount(Graph) - Static method in class cloud.opencode.base.graph.algorithm.MinimumSpanningTreeUtil
-
Get the count of connected components after MST/MSF construction 获取MST/MSF构建后的连通分量数
- 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 计算包含详细信息的流结果
- configure(Consumer) - Method in class cloud.opencode.base.graph.builder.GraphBuilder
-
Configure the builder 配置构建器
- connected(V, V) - Method in class cloud.opencode.base.graph.algorithm.MinimumSpanningTreeUtil.UnionFind
-
Check if two vertices are connected 检查两个顶点是否连通
- 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.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.UndirectedGraph
- copy(Graph) - Static method in class cloud.opencode.base.graph.algorithm.SubgraphUtil
-
Create a copy of the graph.
- cost() - Method in record class cloud.opencode.base.graph.algorithm.AStarUtil.PathResult
-
Returns the value of the
costrecord component. - count() - Method in record class cloud.opencode.base.graph.algorithm.CentralityUtil.CentralityStats
-
Returns the value of the
countrecord component. - count(Graph) - Static method in class cloud.opencode.base.graph.algorithm.ConnectedComponentsUtil
-
Get the number of 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
- 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.
- 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
- difference(Graph, Graph) - Static method in class cloud.opencode.base.graph.algorithm.SubgraphUtil
-
Compute difference of two graphs (g1 - g2).
- 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() - 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 | 图不连通
- 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
- 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 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.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
edgeFlowsrecord 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.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.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.NetworkFlowUtil.FlowResult
-
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.
- filterVertices(Graph, Predicate) - Static method in class cloud.opencode.base.graph.algorithm.SubgraphUtil
-
Filter graph by vertex predicate.
- find(Graph) - Static method in class cloud.opencode.base.graph.algorithm.ConnectedComponentsUtil
-
Find all connected components 查找所有连通分量
- find(V) - Method in class cloud.opencode.base.graph.algorithm.MinimumSpanningTreeUtil.UnionFind
-
Find the root of a vertex (with path compression) 查找顶点的根(带路径压缩)
- 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 如果存在则找到一个环
- 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
FlowResultrecord class. - 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
fromrecord 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 获取错误描述
- getErrorCode() - Method in exception class cloud.opencode.base.graph.exception.GraphException
-
Get the error code 获取错误码
- 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 获取源顶点
- 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.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 图构建器
- 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 使用详情创建图限制超出异常
- 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 图序列化器
- 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 使用超时时长创建图计算超时异常
- 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
- 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.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.NetworkFlowUtil.FlowResult
-
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.
- 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
- 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.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 创建无效顶点异常
- 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.UndirectedGraph
- isEmpty() - Method in interface cloud.opencode.base.graph.Graph
-
Check if the graph is empty 检查图是否为空
- 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 检查是否为自环
- 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
iterationsrecord 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.
- LIMIT_EXCEEDED - Enum constant in enum class cloud.opencode.base.graph.exception.GraphErrorCode
-
Limit exceeded | 超出限制
- 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
- max() - Method in record class cloud.opencode.base.graph.algorithm.CentralityUtil.CentralityStats
-
Returns the value of the
maxrecord component. - maxFlow() - Method in record class cloud.opencode.base.graph.algorithm.NetworkFlowUtil.FlowResult
-
Returns the value of the
maxFlowrecord 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
meanrecord 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
minrecord component. - minCut() - Method in record class cloud.opencode.base.graph.algorithm.NetworkFlowUtil.FlowResult
-
Returns the value of the
minCutrecord 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
modularityrecord 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_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.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
nodesExpandedrecord 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.
O
- 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 使用给定值创建简单节点
- 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.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.
- path() - Method in record class cloud.opencode.base.graph.algorithm.AStarUtil.PathResult
-
Returns the value of the
pathrecord component. - PathResult(List, double, int) - Constructor for record class cloud.opencode.base.graph.algorithm.AStarUtil.PathResult
-
Creates an instance of a
PathResultrecord class. - Point2D(double, double) - Constructor for record class cloud.opencode.base.graph.layout.LayoutUtil.Point2D
-
Creates an instance of a
Point2Drecord 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
- 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.
- 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.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.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.
- reversed() - Method in record class cloud.opencode.base.graph.node.Edge
-
Create a reversed edge 创建反向边
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.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查找最短路径距离(无权重)
- 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
sizerecord component. - 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
stdDevrecord component. - 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 创建成功的验证结果
- 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
torecord 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.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.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.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 计算边集合的总权重
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) 合并两个顶点(按秩合并)
- 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 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.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
vertexToCommunityrecord 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.UndirectedGraph
- VisualData(double, double, double, String) - Constructor for record class cloud.opencode.base.graph.serializer.GexfUtil.VisualData
-
Creates an instance of a
VisualDatarecord 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
weightrecord 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
xrecord component. - x() - Method in record class cloud.opencode.base.graph.serializer.GexfUtil.VisualData
-
Returns the value of the
xrecord component.
Y
- y() - Method in record class cloud.opencode.base.graph.layout.LayoutUtil.Point2D
-
Returns the value of the
yrecord component. - y() - Method in record class cloud.opencode.base.graph.serializer.GexfUtil.VisualData
-
Returns the value of the
yrecord component.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form