|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbe.ac.ulg.montefiore.run.totem.topgen.util.RoutingMatrix
be.ac.ulg.montefiore.run.totem.topgen.util.BooleanRoutingMatrix
public class BooleanRoutingMatrix
This class represents a {0,1} routing matrix. The element (i,j) is equal to 0 if link i doesn't belong to the path associated to origin-destination (OD) pair j, and the element (i,j) is equal to 1 otherwise.
Creation date: 2004
Constructor Summary | |
---|---|
BooleanRoutingMatrix(Domain domain)
Initialises and computes a newly created routing matrix for the domain domain according to the SPF algorithm. |
|
BooleanRoutingMatrix(SPF spf,
Domain domain,
boolean stopOnError)
Initialises and computes a newly created routing matrix for the domain domain according to the SPF algorithm. |
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 |
Constructor Detail |
---|
public BooleanRoutingMatrix(Domain domain) throws RoutingException, NoRouteToHostException
domain
according to the SPF algorithm.
RoutingException
- If an error occurred during the routing.
NoRouteToHostException
- If there is no route between a pair of nodes.public BooleanRoutingMatrix(SPF spf, Domain domain, boolean stopOnError) throws RoutingException, NoRouteToHostException
domain
according to the SPF algorithm.
RoutingException
- If an error occurred during the routing.
NoRouteToHostException
- If there is no route between a pair of nodes.Method Detail |
---|
public void recompute() throws RoutingException, NoRouteToHostException
recompute
in class RoutingMatrix
RoutingException
- If an error occured during the routing.
NoRouteToHostException
- If there is no route between a pair of nodes.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |