flowsim.cbdv
Class CBDVRouter

java.lang.Object
  |
  +--flowsim.core.RouterImpl
        |
        +--flowsim.dv.DVRouterImpl
              |
              +--flowsim.cbdv.CBDVRouter
Direct Known Subclasses:
CBDVRouter0, CBDVRouter1, CBDVRouter2, CBDVRouter3

public abstract class CBDVRouter
extends DVRouterImpl


Fields inherited from class flowsim.dv.DVRouterImpl
INFINITY
 
Fields inherited from class flowsim.core.RouterImpl
node, port, s
 
Constructor Summary
CBDVRouter(Simulator s, Node n, int r)
           
 
Method Summary
abstract  double get_delay_factor()
           
abstract  double get_hopcount_factor()
           
abstract  double get_invbw_factor()
           
protected  int link_cost(int iface)
           
 
Methods inherited from class flowsim.dv.DVRouterImpl
cost_threshold, debug_table, factory, iface_changed, receive_update, route, run, toString
 
Methods inherited from class flowsim.core.RouterImpl
get_node, get_port
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CBDVRouter

public CBDVRouter(Simulator s,
                  Node n,
                  int r)
Method Detail

get_delay_factor

public abstract double get_delay_factor()

get_hopcount_factor

public abstract double get_hopcount_factor()

get_invbw_factor

public abstract double get_invbw_factor()

link_cost

protected int link_cost(int iface)
Overrides:
link_cost in class DVRouterImpl