Class TermShortestPath

java.lang.Object
  |
  +--Process
        |
        +--ShortestPath
              |
              +--TermShortestPath
All Implemented Interfaces:
MsgHandler

public class TermShortestPath
extends ShortestPath


Constructor Summary
TermShortestPath(Linker initComm, int[] initCost, TermDetector td)
           
 
Method Summary
 void handleMsg(Msg m, int src, java.lang.String tag)
           
 void initiate()
           
 void sendMsg(int dest, java.lang.String tag, int msg)
           
 
Methods inherited from class Process
broadcastMsg, isNeighbor, myWait, receiveMsg, sendMsg, sendMsg, sendMsg, sendToNeighbors
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TermShortestPath

public TermShortestPath(Linker initComm,
                        int[] initCost,
                        TermDetector td)
Method Detail

initiate

public void initiate()
Overrides:
initiate in class ShortestPath

sendMsg

public void sendMsg(int dest,
                    java.lang.String tag,
                    int msg)
Overrides:
sendMsg in class Process

handleMsg

public void handleMsg(Msg m,
                      int src,
                      java.lang.String tag)
Overrides:
handleMsg in class ShortestPath