|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbe.ac.ulg.montefiore.run.totem.repository.CSPF.Bhandari
public class Bhandari
Implementation of the Bhandari modified Dijkstra aglorithm.
Creation date: 1-Jan-2004
| Constructor Summary | |
|---|---|
Bhandari()
|
|
| Method Summary | |
|---|---|
java.util.List<Path> |
computeFullMeshSPF(Domain domain)
Compute the SPF from all source nodes to all destination nodes on the given domain |
java.util.List<Path> |
computeFullMeshSPF(Domain domain,
boolean ECMP)
Computes the shortest paths between all nodes in the topology |
java.util.List<Path> |
computeSPF(Domain domain,
boolean isSource,
java.lang.String node)
Computes a unique shortest path from (resp. |
java.util.List<Path> |
computeSPF(Domain domain,
boolean isSource,
java.lang.String node,
boolean ECMP)
Computes the shortest paths from (resp. |
java.util.List<Path> |
computeSPF(Domain domain,
java.lang.String src)
Compute the SPF from a source node to all destination nodes on the given domain |
java.util.List<Path> |
computeSPF(Domain domain,
java.lang.String src,
boolean ECMP)
Computes the shortest paths from a source node to all destination node |
Path |
computeSPF(Domain domain,
java.lang.String src,
java.lang.String dst)
Compute the SPF from a source node to a destination node on the given domain |
java.util.List<Path> |
computeSPF(Domain domain,
java.lang.String src,
java.lang.String dst,
boolean ECMP)
Computes the shortest path between two nodes. |
java.util.List<SimplifiedPath> |
computeSPF(SimplifiedDomain domain,
int src)
Compute the SPF from all source nodes to all destination nodes on the SimplifiedDomain |
SimplifiedPath |
computeSPF(SimplifiedDomain domain,
int src,
int dst)
Compute the SPF from a source node to a destination node on the SimplifiedDomain |
boolean |
equals(java.lang.Object o)
|
int |
hashCode()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Bhandari()
| Method Detail |
|---|
public Path computeSPF(Domain domain,
java.lang.String src,
java.lang.String dst)
throws RoutingException,
NoRouteToHostException
computeSPF in interface SPFdomain - src - dst -
RoutingException
NoRouteToHostException
public java.util.List<Path> computeSPF(Domain domain,
java.lang.String src,
java.lang.String dst,
boolean ECMP)
throws RoutingException,
NoRouteToHostException
computeSPF in interface SPFdomain - src - the source nodedst - the destination nodeECMP - true if multipath activated
RoutingException
NoRouteToHostException
public java.util.List<Path> computeSPF(Domain domain,
java.lang.String src)
throws RoutingException,
NoRouteToHostException
computeSPF in interface SPFdomain - src -
RoutingException
NoRouteToHostException
public java.util.List<Path> computeSPF(Domain domain,
java.lang.String src,
boolean ECMP)
throws RoutingException,
NoRouteToHostException
SPF
computeSPF in interface SPFsrc - the source nodeECMP - true if multipath is activated
RoutingException
NoRouteToHostException
public java.util.List<Path> computeFullMeshSPF(Domain domain)
throws RoutingException,
NoRouteToHostException
computeFullMeshSPF in interface SPFdomain -
RoutingException
NoRouteToHostException
public java.util.List<Path> computeFullMeshSPF(Domain domain,
boolean ECMP)
throws RoutingException,
NoRouteToHostException
SPF
computeFullMeshSPF in interface SPFECMP - true if multipath is activated
RoutingException
NoRouteToHostException
public SimplifiedPath computeSPF(SimplifiedDomain domain,
int src,
int dst)
throws LinkNotFoundException,
NodeNotFoundException,
RoutingException,
NoRouteToHostException
src - dst -
LinkNotFoundException
NodeNotFoundException
RoutingException
NoRouteToHostException
public java.util.List<SimplifiedPath> computeSPF(SimplifiedDomain domain,
int src)
throws LinkNotFoundException,
NodeNotFoundException,
RoutingException,
NoRouteToHostException
src -
LinkNotFoundException
NodeNotFoundException
RoutingException
NoRouteToHostException
public java.util.List<Path> computeSPF(Domain domain,
boolean isSource,
java.lang.String node)
SPFisSource. If
isSource is true, node is considered
as the source node and the method computes a shortest path from this node
to all the other nodes.
computeSPF in interface SPFdomain - The domain on which the paths have to be computed.isSource - true if node is the source and false otherwise.node - The source or destination node.
node.
public java.util.List<Path> computeSPF(Domain domain,
boolean isSource,
java.lang.String node,
boolean ECMP)
SPFisSource. If
isSource is true, node is considered
as the source node and the method computes a shortest path from this node
to all the other nodes.
computeSPF in interface SPFdomain - The domain on which the paths have to be computed.isSource - true if node is the source and false otherwise.node - The source or destination node.ECMP - true if multipath is activated
node.public boolean equals(java.lang.Object o)
equals in interface SPFequals in class java.lang.Objectpublic int hashCode()
hashCode in interface SPFhashCode in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||