be.ac.ulg.montefiore.run.totem.topgen.util
Class RealRoutingMatrix
java.lang.Object
be.ac.ulg.montefiore.run.totem.topgen.util.RoutingMatrix
be.ac.ulg.montefiore.run.totem.topgen.util.RealRoutingMatrix
public class RealRoutingMatrix
- extends RoutingMatrix
This class represents a routing matrix whose elements belong to [0,1]. The
element (i,j) of this matrix is equal to f if the fraction f of the traffic
of the OD pair j is flowing through the link i.
Creation date: 04-mai-2005
- Author:
- Jean Lepropre (lepropre@run.montefiore.ulg.ac.be)
Method Summary |
void |
recompute()
Recomputes the routing matrix. |
Methods inherited from class be.ac.ulg.montefiore.run.totem.topgen.util.RoutingMatrix |
add, getColumn, getElement, getIds, getKey, getNbColumns, getNbRows, getRow, set, setSize, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RealRoutingMatrix
public RealRoutingMatrix(Domain domain)
throws RoutingException,
NoRouteToHostException
- Throws:
RoutingException
NoRouteToHostException
RealRoutingMatrix
public RealRoutingMatrix(Domain domain,
SPF spf,
boolean stopOnError,
boolean ECMP)
throws RoutingException,
NoRouteToHostException
- Throws:
RoutingException
NoRouteToHostException
recompute
public void recompute()
throws RoutingException,
NoRouteToHostException
- Recomputes the routing matrix.
- Specified by:
recompute
in class RoutingMatrix
- Throws:
RoutingException
- If an error occured during the routing.
NoRouteToHostException
- If there is no route between a pair of nodes.
Copyright © 2004-2007 Research Unit in Networking, All Rights Reserved.