|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectpl.edu.agh.cast.path2.SearchEngine
public class SearchEngine
Searching algorithms
| Constructor Summary | |
|---|---|
SearchEngine()
|
|
| Method Summary | |
|---|---|
static List<Node> |
findPathDijkstraAlgorithm(Node firstNode,
Node endNode,
Collection<Node> allNodes)
Implementation of Dijkstra's algorithm, more at: http://renaud.waldura.com/doc/java/dijkstra/ http://en.wikipedia.org/wiki/Dijkstra's_algorithm I hope it works correct :) |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SearchEngine()
| Method Detail |
|---|
public static List<Node> findPathDijkstraAlgorithm(Node firstNode,
Node endNode,
Collection<Node> allNodes)
firstNode - start pointendNode - end pointallNodes - list of all nodes in diagram
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||