public class SPTEntry extends Object implements Cloneable, Comparable<SPTEntry>
| Modifier and Type | Field and Description |
|---|---|
int |
adjNode |
int |
edge |
SPTEntry |
parent |
double |
weight |
| Constructor and Description |
|---|
SPTEntry(int edgeId,
int adjNode,
double weight) |
| Modifier and Type | Method and Description |
|---|---|
SPTEntry |
clone() |
SPTEntry |
cloneFull() |
int |
compareTo(SPTEntry o) |
double |
getWeightOfVisitedPath()
This method returns the weight to the origin e.g.
|
String |
toString() |
public int edge
public int adjNode
public double weight
public SPTEntry parent
public double getWeightOfVisitedPath()
public SPTEntry cloneFull()
public int compareTo(SPTEntry o)
compareTo in interface Comparable<SPTEntry>Copyright © 2012–2018. All rights reserved.