public class MetricLinkWeight extends Object implements LinkWeigher
| Constructor and Description |
|---|
MetricLinkWeight() |
| Modifier and Type | Method and Description |
|---|---|
org.onlab.graph.Weight |
getInitialWeight() |
org.onlab.graph.Weight |
getNonViableWeight() |
org.onlab.graph.Weight |
weight(TopologyEdge edge) |
public org.onlab.graph.Weight getInitialWeight()
getInitialWeight in interface org.onlab.graph.EdgeWeigher<TopologyVertex,TopologyEdge>public org.onlab.graph.Weight getNonViableWeight()
getNonViableWeight in interface org.onlab.graph.EdgeWeigher<TopologyVertex,TopologyEdge>public org.onlab.graph.Weight weight(TopologyEdge edge)
weight in interface org.onlab.graph.EdgeWeigher<TopologyVertex,TopologyEdge>