public abstract class VisitedNode extends java.lang.Object implements Identifiable, java.lang.Comparable
Constructor and Description |
---|
VisitedNode() |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(java.lang.Object o) |
boolean |
equals(java.lang.Object o) |
abstract double[] |
getCosts()
Return the costs from the start points to the node.
|
abstract double[] |
getCostsAtPrevNode()
Returns the costs to pass through the previous node.
|
int |
getDepth()
Returns the depth of the current node, which is equal to the number of links from the start node to the current node.
|
long |
getId()
Returns the ID of the node.
|
int |
getLinkLevel()
Returns the link level the node is to be expanded on.
|
int |
getPartitionId()
Returns the ID of the partition that the node is assigned to.
|
long |
getPrevLink()
Returns the ID of the previous link.
|
VisitedNode |
getPrevNode()
Returns the previous node.
|
java.lang.Object |
getUserObject()
Returns the user object associated to this node.
|
int |
hashCode() |
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
public long getId()
getId
in interface Identifiable
public int getPartitionId()
public abstract double[] getCosts()
public abstract double[] getCostsAtPrevNode()
public long getPrevLink()
public VisitedNode getPrevNode()
public int getDepth()
public int getLinkLevel()
public java.lang.Object getUserObject()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object