public class NodeDistance extends Object implements Serializable, Comparable<NodeDistance>
Constructor and Description |
---|
NodeDistance(GraphNode initialNode,
GraphNode finalNode,
float distance) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(NodeDistance nodeDistance) |
boolean |
equals(Object nodeDistance) |
boolean |
equalsIgnoreDistance(Object nodeDistance) |
float |
getDistance() |
GraphNode |
getFinalNode() |
GraphNode |
getInitialNode() |
int |
hashCode() |
public GraphNode getInitialNode()
public GraphNode getFinalNode()
public float getDistance()
public int compareTo(NodeDistance nodeDistance)
compareTo
in interface Comparable<NodeDistance>
public boolean equalsIgnoreDistance(Object nodeDistance)
Copyright © 2018 Semantic Analytics Group @ Uniroma2. All rights reserved.