|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DomainValidator
A DomainValidator can check and force some characteristics on a Domain
Creation date: 12-Jan-2005 17:51:08
Method Summary | |
---|---|
void |
forceConnected()
Removes nodes and links that are not in the connected set of maximum size so that the graph is connected. |
void |
forceDuplexConnected()
Checks that all the nodes of the topology have at least an outlink and an inlink. |
void |
forceIGPInfo()
Adds the IGP information if not present. |
void |
forceLoopFree()
This method removes all the loops present in the topology. |
void |
forceNoMultiGraph()
Remove multiple links. |
java.util.List<java.util.List<Path>> |
getEqualCostMultiPath()
Returns a list containing lists of paths. |
java.util.List<java.util.List<Path>> |
getEqualCostMultiPath(java.lang.String algo)
Returns a list containing lists of paths. |
boolean |
isConnected()
Checks if the graph is connected. |
boolean |
isDualConnected()
Check if there exist at least two link coming into and going out of each node. |
boolean |
isDuplexConnected()
Checks that all the nodes of the topology have at least an outlink and an inlink. |
boolean |
isEqualCostMultiPath()
Check if there exists equal cost multi path in the topology |
boolean |
isIGPInfo()
Verify if an IGP information section is present |
boolean |
isLoopFree()
This method return true if the domain contains NO loop links. |
boolean |
isMultiGraph()
Check if multiple links exists |
Method Detail |
---|
boolean isIGPInfo()
boolean isConnected() throws NodeNotFoundException
NodeNotFoundException
boolean isLoopFree() throws NodeNotFoundException
NodeNotFoundException
boolean isDuplexConnected() throws NodeNotFoundException, LinkNotFoundException
IllegalArgumentException
if the topology isn't connected.
NodeNotFoundException
LinkNotFoundException
boolean isDualConnected() throws NodeNotFoundException
NodeNotFoundException
boolean isMultiGraph() throws NodeNotFoundException
NodeNotFoundException
boolean isEqualCostMultiPath() throws NoRouteToHostException, RoutingException
NoRouteToHostException
RoutingException
java.util.List<java.util.List<Path>> getEqualCostMultiPath() throws NoRouteToHostException, RoutingException
NoRouteToHostException
RoutingException
java.util.List<java.util.List<Path>> getEqualCostMultiPath(java.lang.String algo) throws NoRouteToHostException, RoutingException, NoSuchAlgorithmException
NoRouteToHostException
RoutingException
NoSuchAlgorithmException
- If the given algorithm cannot be found.void forceIGPInfo()
void forceConnected() throws NodeNotFoundException, LinkNotFoundException
NodeNotFoundException
LinkNotFoundException
void forceLoopFree() throws NodeNotFoundException, LinkNotFoundException
NodeNotFoundException
LinkNotFoundException
void forceDuplexConnected() throws NodeNotFoundException, LinkNotFoundException, LinkAlreadyExistException
IllegalArgumentException
if the topology isn't connected.
NodeNotFoundException
LinkNotFoundException
LinkAlreadyExistException
void forceNoMultiGraph()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |