|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.amino.alg.graph.GraphAlg
public final class GraphAlg
| Method Summary | ||
|---|---|---|
static
|
getConnectedComponents(UndirectedGraph<E> graph,
java.util.concurrent.ExecutorService threadPool)
parallel Connected Component algorithm based on [Steve Goddard 1996]. |
|
static
|
getMST(UndirectedGraph graph,
java.util.concurrent.ExecutorService pool)
parallel MST algorithm based on Boruvka's algorithm. |
|
static
|
getShortestPath(Graph<E> graph,
java.util.concurrent.ExecutorService exec,
E source,
E end)
This is an implementation of a parallelization of Dijkstra's shortest path algorithm described by Crauser, Mehlhorn, Meyer and Sanders in their paper "A Parallelization of Dijkstra's Shortest Path Algorithm" in 23rd Symposium on Mathematical Foundations of Computer Science, 1998. |
|
static
|
getShortestPath(Graph<E> graph,
java.util.concurrent.ExecutorService exec,
Node<E> source,
Node<E> end)
This is an implementation of a parallelization of Dijkstra's shortest path algorithm described by Crauser, Mehlhorn, Meyer and Sanders in their paper "A Parallelization of Dijkstra's Shortest Path Algorithm" in 23rd Symposium on Mathematical Foundations of Computer Science, 1998. |
|
static
|
getStrongComponents(DirectedGraph<E> graph,
java.util.concurrent.ExecutorService threadPool)
Parallel Strong Connected Component algorithm based on [LK Fleischer2000]. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static <E> java.util.Collection<java.util.Collection<Node<E>>> getStrongComponents(DirectedGraph<E> graph,
java.util.concurrent.ExecutorService threadPool)
E - value type of the node in the target graphgraph - directed graph to compute strong components. The graph will
not be modifiedthreadPool - the thread pool used to do computation
public static <E> java.util.Collection<java.util.Collection<Node<E>>> getConnectedComponents(UndirectedGraph<E> graph,
java.util.concurrent.ExecutorService threadPool)
E - value type of the node in the target graphgraph - undirected graph to compute connected components. The graph
will not be modifiedthreadPool - the thread pool used to do computation
public static <E> Graph<E> getMST(UndirectedGraph graph,
java.util.concurrent.ExecutorService pool)
throws java.lang.InterruptedException,
java.util.concurrent.ExecutionException
E - value type of the node in the target graphgraph - the graph to compute minimum spanning treepool - external thread pool
java.lang.InterruptedException - thrown exception if be interrupted
java.util.concurrent.ExecutionException - Exception thrown when attempting to retrieve the result of a
task that aborted by throwing an exception
public static <E> double getShortestPath(Graph<E> graph,
java.util.concurrent.ExecutorService exec,
E source,
E end)
E - type of element on nodegraph - Graphexec - Thread pool for executing task in parallel.source - source nodeend - end node
public static <E> double getShortestPath(Graph<E> graph,
java.util.concurrent.ExecutorService exec,
Node<E> source,
Node<E> end)
E - type of element on nodegraph - Graphexec - Thread pool for executing task in parallel.source - source nodeend - end node
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||