public class MetricLinkWeight extends Object implements LinkWeight
| Constructor and Description |
|---|
MetricLinkWeight() |
| Modifier and Type | Method and Description |
|---|---|
double |
weight(TopologyEdge edge)
Returns the weight of the given edge as a unit-less number.
|
public double weight(TopologyEdge edge)
EdgeWeightweight in interface EdgeWeight<TopologyVertex,TopologyEdge>edge - edge to be weighed