bamboo.sim
Class KingNetworkModel

java.lang.Object
  extended by 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.


Nested Class Summary
 
Nested classes/interfaces inherited from interface bamboo.sim.NetworkModel
NetworkModel.RouteInfo
 
Field Summary
 int[][] latencies
           
 org.apache.log4j.Logger logger
           
 
Constructor Summary
KingNetworkModel(String filename)
           
 
Method Summary
 NetworkModel.RouteInfo compute_route_info(int src, int dst)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

public org.apache.log4j.Logger logger

latencies

public int[][] latencies
Constructor Detail

KingNetworkModel

public KingNetworkModel(String filename)
                 throws IOException
Throws:
IOException
Method Detail

compute_route_info

public NetworkModel.RouteInfo compute_route_info(int src,
                                                 int dst)
Specified by:
compute_route_info in interface NetworkModel