public class AStarNode<Q> extends Object implements Serializable
| Constructor and Description |
|---|
AStarNode(Q nodeId,
Map<Q,Double> heuristic) |
| Modifier and Type | Method and Description |
|---|---|
void |
calcF(Q destination) |
boolean |
equals(Object obj) |
double |
getCost() |
double |
getDistanceFromSource() |
double |
getHeuristicOfDestination() |
Q |
getId() |
int |
hashCode() |
void |
setDistanceFromSource(double distanceFromSource) |
public Q getId()
public double getDistanceFromSource()
public void setDistanceFromSource(double distanceFromSource)
distanceFromSource - public void calcF(Q destination)
destination - public double getHeuristicOfDestination()
public double getCost()
Copyright © 2018 Terra Software Informatics LLC.. All rights reserved.