Class MetricLinkWeight

  • All Implemented Interfaces:
    org.onlab.graph.EdgeWeigher<TopologyVertex,​TopologyEdge>, LinkWeigher

    public class MetricLinkWeight
    extends java.lang.Object
    implements LinkWeigher
    Link weight for measuring link cost using the link metric annotation.
    • Constructor Detail

      • MetricLinkWeight

        public MetricLinkWeight()
    • Method Detail

      • getInitialWeight

        public org.onlab.graph.Weight getInitialWeight()
        Specified by:
        getInitialWeight in interface org.onlab.graph.EdgeWeigher<TopologyVertex,​TopologyEdge>
      • getNonViableWeight

        public org.onlab.graph.Weight getNonViableWeight()
        Specified by:
        getNonViableWeight in interface org.onlab.graph.EdgeWeigher<TopologyVertex,​TopologyEdge>