bamboo.sim
Class KingNetworkModel
java.lang.Object
bamboo.sim.KingNetworkModel
- All Implemented Interfaces:
- NetworkModel
public class KingNetworkModel
- extends Object
- implements NetworkModel
Parses topologies from the
King data set
for use under the Bamboo simulator.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
public org.apache.log4j.Logger logger
latencies
public int[][] latencies
KingNetworkModel
public KingNetworkModel(String filename)
throws IOException
- Throws:
IOException
compute_route_info
public NetworkModel.RouteInfo compute_route_info(int src,
int dst)
- Specified by:
compute_route_info in interface NetworkModel