be.ac.ulg.montefiore.run.totem.trafficMatrix.model
Interface TmLoadComputer

All Known Subinterfaces:
LinkLoadStrategy
All Known Implementing Classes:
BasicIGPShortcutStrategy, IGPShortcutStrategy, LinkLoadStrategyAdapter, MultiCommodityFlow, OptDivideTMLoadComputer, OverlayStrategy, SPFLinkLoadStrategy

public interface TmLoadComputer

Compute the link load of the specified traffic matrix on the specified domain.

Creation date: 14/06/2007

Author:
Gaƫl Monfort (monfort@run.montefiore.ulg.ac.be)

Method Summary
 double[] compute(Domain domain, TrafficMatrix tm)
          Compute the link load of the specified traffic matrix on the domain
 

Method Detail

compute

double[] compute(Domain domain,
                 TrafficMatrix tm)
                 throws NoRouteToHostException,
                        RoutingException
Compute the link load of the specified traffic matrix on the domain

Parameters:
domain - the domain
tm - the traffic matrix to route
Returns:
the load of each link as an array of double
Throws:
NoRouteToHostException - occurs if there is no route from a source to a destination
RoutingException - occurs if the routing algorithms encounter a error


Copyright © 2004-2007 Research Unit in Networking, All Rights Reserved.