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 com.carrotsearch.hppc.ObjectDoubleMap<T> |
heuristic |
private static org.apache.logging.log4j.Logger |
LOGGER |
private T |
nodeId |
| Constructor and Description |
|---|
NodeData(T nodeId,
com.carrotsearch.hppc.ObjectDoubleMap<T> heuristic) |
| Modifier and Type | Method and Description |
|---|---|
void |
calcF(T destination,
T source) |
double |
getG(T source) |
void |
setG(T source,
double g) |
private static final org.apache.logging.log4j.Logger LOGGER
private final T nodeId
private final com.carrotsearch.hppc.ObjectDoubleMap<T> heuristic
private Map<T,Double> distanceFromSource
private double h
private double f
Copyright © 2011-2017 Sahits GmbH. All Rights Reserved.