|
GoGraph |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.lang.Thread
|
+--gograph.algorithms.courses.GenCourse
|
+--gograph.algorithms.courses.MST
Minimum spanning tree algorithm thread.
| Field Summary |
| Fields inherited from class gograph.algorithms.courses.GenCourse |
gograph |
| Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
MST(GoGraph gograph,
java.lang.String name)
Creates a new instance of MST. |
|
| Method Summary | |
void |
computePriority(GGModel model,
org.jgraph.graph.GraphCell vertex1,
org.jgraph.graph.GraphCell vertex2)
Priority function for priority queue. |
java.lang.String |
getText(int i)
|
| Methods inherited from class gograph.algorithms.courses.GenCourse |
beingVisitedVertex, getPrioQueue, getShowPriority, run, seeVertex, setShowPriority, toNextVertex, useEdge, visitVertex |
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public MST(GoGraph gograph,
java.lang.String name)
gograph - Access back to GoGraph panel.name - Algorithm name.| Method Detail |
public void computePriority(GGModel model,
org.jgraph.graph.GraphCell vertex1,
org.jgraph.graph.GraphCell vertex2)
computePriority in class GenCoursemodel - Graph model.vertex1 - Vertex whose priority is evaluated.vertex2 - Being visited vertex.public java.lang.String getText(int i)
getText in class GenCourse
|
GoGraph |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||