public class MetricLinkWeight extends java.lang.Object implements LinkWeight
| Constructor and Description |
|---|
MetricLinkWeight() |
| Modifier and Type | Method and Description |
|---|---|
double |
weight(TopologyEdge edge)
Returns the weight of the given edge.
|
public double weight(TopologyEdge edge)
LinkWeightweight in interface LinkWeightedge - edge to be weighed