graph-algorithm
Algorithm for finding internally connected cluster of nodes within a graph from which no edge points outwards
I am representing my graph as a adjacency list. I want to know how can I find a cluster of nodes which are internally connected but no edge points outwards from them. Is there any well known algorithm[详细]
2023-04-04 15:36 分类:问答Algorithm to find a random Hamiltonian path in a grid?
I\'m looking for an efficient algorithm that is able to find an as random as possible Hamiltonian path in a bidirectional N*M grid.[详细]
2023-04-04 11:01 分类:问答Finding a shortest path that passes through some arbitrary sequence of nodes?
In this earlier question the OP asked how to find a shortest path in a graph that goes from u to v and also passes through some node w.The accepted answer, which is quite good, was to run Dijkstra\'s[详细]
2023-04-02 23:59 分类:问答Cycles in a directed graph
Wondering if we can proof the the following or if it is already proved where can I get the proof. Let v1,v2,v3...vn and t be n+1 vertexes in a directed graph. v1,v2,v3...vn form directed acyclic grap[详细]
2023-04-01 21:00 分类:问答find all non-repeating paths through a set of connected nodes/process diagram
I am trying to understand if its possible in any reasonable way to establish a set of non-repeating paths through a given process diagram.[详细]
2023-04-01 07:37 分类:问答graph algorithms: reachability from adjacency map
I have a dependency graph that I have represented as a Map<Node, Collection<Node>> (in Java-speak, or f(Node n) -> Collection[Node] as a function; this is a mapping from a given node n[详细]
2023-04-01 04:11 分类:问答Bipartite Matching
I need to find an algorithm (preferably in Java) to solve the following problem (hoping it will be clearly expressed):[详细]
2023-03-31 00:05 分类:问答Putting graph on a grid
I have a directed graph with no loops with the following additional information: Every vertex has outdegree at most 4.[详细]
2023-03-29 18:56 分类:问答Diagram connector algorithm
I’m building an application that superficially looks like Visio, so I need to be able to connect objects together with connectors. I want to make the connectors have multiple horizontal and vertical[详细]
2023-03-28 14:04 分类:问答detailed hungarian algorithm(assignment problem) question
I have implemented the hungarian algorithm, a solution to the assignment problem, as described by this article, but it fails on a few percent of random costs matrices.[详细]
2023-03-26 20:58 分类:问答