Uses of Record Class
cloud.opencode.base.graph.node.Edge
Packages that use Edge
Package
Description
-
Uses of Edge in cloud.opencode.base.graph
Methods in cloud.opencode.base.graph that return types with arguments of type EdgeModifier and TypeMethodDescriptionGraphDiff.DiffResult.addedEdges()Returns the value of theaddedEdgesrecord component.Find all bridges (cut edges) 查找所有桥(割边)GraphDiff.DiffResult.commonEdges()Returns the value of thecommonEdgesrecord component.DirectedGraph.edges()Graph.edges()Get all edges 获取所有边ImmutableGraph.edges()UndirectedGraph.edges()WeightedGraph.edgesInWeightRange(double minWeight, double maxWeight) Get edges with weight in range 获取权重在范围内的边Get flow on each edge 获取每条边上的流量Get incoming edges to a vertex 获取顶点的入边Find minimum spanning tree using Kruskal's algorithm 使用Kruskal算法查找最小生成树Find minimum cut edges 查找最小割边Get outgoing edges from a vertex 获取顶点的出边Find minimum spanning tree using Prim's algorithm 使用Prim算法查找最小生成树Find minimum spanning tree using Prim's algorithm starting from a vertex 使用Prim算法从指定顶点开始查找最小生成树GraphDiff.DiffResult.removedEdges()Returns the value of theremovedEdgesrecord component.Method parameters in cloud.opencode.base.graph with type arguments of type EdgeModifier and TypeMethodDescriptionstatic <V> Graph<V> GraphTransform.filterEdges(Graph<V> graph, Predicate<Edge<V>> predicate) Filter edges, keeping all vertices but only edges matching the predicate 过滤边,保留所有顶点但仅保留匹配谓词的边static <V> Graph<V> OpenGraph.filterEdges(Graph<V> graph, Predicate<Edge<V>> predicate) Filter edges from a graph by predicate 按谓词过滤图的边 -
Uses of Edge in cloud.opencode.base.graph.algorithm
Methods in cloud.opencode.base.graph.algorithm that return types with arguments of type EdgeModifier and TypeMethodDescriptionNetworkFlowUtil.FlowResult.edgeFlows()Returns the value of theedgeFlowsrecord component.ArticulationPointUtil.findBridges(Graph<V> graph) Find all bridges (cut edges) in the graph.Get flow on each edge 获取每条边上的流量Find minimum spanning tree using Kruskal's algorithm 使用Kruskal算法查找最小生成树NetworkFlowUtil.FlowResult.minCut()Returns the value of theminCutrecord component.Find minimum cut edges 查找最小割边MinimumSpanningTreeUtil.minimumSpanningForest(Graph<V> graph) Find minimum spanning forest for disconnected graph 为不连通图查找最小生成森林Find minimum spanning tree using Prim's algorithm (auto-select start) 使用Prim算法查找最小生成树(自动选择起点)Find minimum spanning tree using Prim's algorithm 使用Prim算法查找最小生成树Method parameters in cloud.opencode.base.graph.algorithm with type arguments of type EdgeModifier and TypeMethodDescriptionstatic <V> Graph<V> SubgraphUtil.edgeInduced(Graph<V> graph, Set<Edge<V>> edges) Create edge-induced subgraph.static <V> Graph<V> SubgraphUtil.filterEdges(Graph<V> graph, Predicate<Edge<V>> predicate) Filter graph by edge predicate.static <V> doubleMinimumSpanningTreeUtil.totalWeight(Set<Edge<V>> edges) Calculate the total weight of a set of edges 计算边集合的总权重Constructor parameters in cloud.opencode.base.graph.algorithm with type arguments of type Edge -
Uses of Edge in cloud.opencode.base.graph.builder
Methods in cloud.opencode.base.graph.builder with parameters of type EdgeModifier and TypeMethodDescriptionAdd an edge 添加边Method parameters in cloud.opencode.base.graph.builder with type arguments of type EdgeModifier and TypeMethodDescriptionGraphBuilder.addEdges(Collection<Edge<V>> edges) Add multiple edges 添加多个边 -
Uses of Edge in cloud.opencode.base.graph.node
Methods in cloud.opencode.base.graph.node that return Edge