Class ShortestPath

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

public class ShortestPath
extends Process


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

Constructor Detail

ShortestPath

public ShortestPath(Linker initComm,
                    int[] initCost)
Method Detail

initiate

public void initiate()

handleMsg

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