|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcmsc433.p4.explorers.ForkJoinExplorer<N,V>
public class ForkJoinExplorer<N extends Node<N,V>,V>
A fork join explorer for graphs. This is the class you must implement for project 4;
| Constructor Summary | |
|---|---|
ForkJoinExplorer()
|
|
| Method Summary | ||
|---|---|---|
static
|
build()
Provide a static build method, so that the system will infer the correct generic types |
|
GraphExploration<N,V> |
explore(N start)
Explore the graph from the designated start node. |
|
void |
setParallelism(int parallelism)
Set the number of threads the explorer should use when exploring graphs. |
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ForkJoinExplorer()
| Method Detail |
|---|
public void setParallelism(int parallelism)
Explorer
setParallelism in interface Explorer<N extends Node<N,V>,V>
public GraphExploration<N,V> explore(N start)
throws InterruptedException
Explorer
explore in interface Explorer<N extends Node<N,V>,V>InterruptedExceptionpublic static <N extends Node<N,V>,V> ForkJoinExplorer<N,V> build()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||