30.5.0.0.2 Static Routing

The procedure []compute-routes../ns-2/ns-lib.tclRouteLogic::compute-routes in the RouteLogic../ns-2/ns-lib.tcl first creates the adjacency matrix, and then invokes the C++ method, []compute_routes of the shadow object. Finally, the procedure retrieves the result of the route computation, and inserts the appropriate routes at each of the nodes in the topology.

The class only defines the procedure []init-all../ns-2/route-proto.tclAgent/rtProto/Static::init-all that invokes []compute-routes.



Tom Henderson 2011-11-05