be.ac.ulg.montefiore.run.totem.domain.simplifiedDomain
Class SimplifiedPath
java.lang.Object
be.ac.ulg.montefiore.run.totem.domain.simplifiedDomain.SimplifiedPath
- Direct Known Subclasses:
- ExtendedPath
public class SimplifiedPath
- extends java.lang.Object
Define a simple path as a list of link or node int ID.
Creation date: 26-Jan-2005 16:52:30
- Author:
- Fabian Skivee (skivee@run.montefiore.ulg.ac.be)
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
linkIdPath
protected int[] linkIdPath
domain
protected SimplifiedDomain domain
SimplifiedPath
public SimplifiedPath()
SimplifiedPath
public SimplifiedPath(SimplifiedDomain domain,
int[] linkIdPath)
SimplifiedPath
public SimplifiedPath(SimplifiedDomain domain,
java.util.ArrayList<java.lang.Integer> linkIdPath)
getLinkIdPath
public int[] getLinkIdPath()
getDomain
public SimplifiedDomain getDomain()
isDisjoint
public boolean isDisjoint(SimplifiedPath p2)
throws LinkNotFoundException
- Throws:
LinkNotFoundException
equals
public boolean equals(SimplifiedPath p2)
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
convert
public Path convert(Domain domain)
throws LinkNotFoundException,
NodeNotFoundException,
InvalidPathException
- Throws:
LinkNotFoundException
NodeNotFoundException
InvalidPathException
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2004-2007 Research Unit in Networking, All Rights Reserved.