public class ShortestPathEdgeData extends java.lang.Object implements EdgeWeightData
Modifier and Type | Class and Description |
---|---|
static class |
ShortestPathEdgeData.Factory |
DEFAULT_EDGE_WEIGHT
Constructor and Description |
---|
ShortestPathEdgeData() |
ShortestPathEdgeData(double weight) |
public ShortestPathEdgeData()
public ShortestPathEdgeData(double weight)
public final void setWeight(double weight)
EdgeWeightData
setWeight
in interface EdgeWeightData
weight
- value to which to set the weightpublic final double getWeight()
EdgeWeightData
getWeight
in interface EdgeWeightData