T - public final class NodeData<T> extends Object
| Modifier and Type | Field and Description |
|---|---|
private Map<T,Double> |
distanceFromSource
Map the sistance of the node to the source.
|
private double |
f |
private double |
h |
private Map<T,Double> |
heuristic |
private static org.apache.logging.log4j.Logger |
LOGGER |
private T |
nodeId |
| Constructor and Description |
|---|
NodeData(T nodeId,
Map<T,Double> heuristic) |
| Modifier and Type | Method and Description |
|---|---|
void |
calcF(T destination,
T source) |
double |
getG(T source) |
void |
setG(T source,
double g) |
Copyright © 2011-2016 Sahits GmbH. All Rights Reserved.