atropos.pp
Class splitTable
java.lang.Object
|
+--atropos.pp.splitTable
- All Implemented Interfaces:
- java.io.Serializable
- public class splitTable
- extends java.lang.Object
- implements java.io.Serializable
This class implements the decision to mux messages across multiple
links.
This research is funded by DARPA/ITO Contract Number:
F30602-98-C-0230 supported by the Air Force Research
Laboratory/IF.
- Version:
- $Revision: 1.1.1.1 $ $State: Exp $
- Author:
- Steve Bush
- See Also:
- Serialized Form
Method Summary |
java.util.Vector |
addEntry(java.lang.String src,
java.lang.String dst,
java.lang.Double prob)
Adds a table entry in the format: (source, destination, probability). |
java.util.Vector |
getDst(java.lang.String Src)
Obtain a sub table of all the table entries with a given destination. |
java.lang.String |
toString()
Dump the table. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
splitTable
public splitTable()
- Does nothing.
addEntry
public java.util.Vector addEntry(java.lang.String src,
java.lang.String dst,
java.lang.Double prob)
- Adds a table entry in the format: (source, destination, probability).
- Parameters:
src
- Active source node.dst
- Active destination node.prob
- Probability of taking this path.- Returns:
- Updated table.
getDst
public java.util.Vector getDst(java.lang.String Src)
- Obtain a sub table of all the table entries with a given destination.
- Returns:
- All table entries with given destination.
toString
public java.lang.String toString()
- Dump the table.
- Overrides:
toString
in class java.lang.Object
Copyright © 2002 GE Corporate Research and Development. All Rights Reserved.