public static class AStar.AStarEntry extends SPTEntry
| Constructor and Description |
|---|
AStarEntry(int edgeId,
int adjNode,
double weightForHeap,
double weightOfVisitedPath) |
AStarEntry(int edgeId,
int adjNode,
double weightForHeap,
double weightOfVisitedPath,
SPTEntry parent) |
| Modifier and Type | Method and Description |
|---|---|
AStar.AStarEntry |
getParent() |
double |
getWeightOfVisitedPath()
This method returns the weight to the origin e.g.
|
compareTo, isDeleted, setDeleted, toStringpublic AStarEntry(int edgeId,
int adjNode,
double weightForHeap,
double weightOfVisitedPath)
public AStarEntry(int edgeId,
int adjNode,
double weightForHeap,
double weightOfVisitedPath,
SPTEntry parent)
public final double getWeightOfVisitedPath()
SPTEntrygetWeightOfVisitedPath in class SPTEntrypublic AStar.AStarEntry getParent()
Copyright © 2012–2022. All rights reserved.