Class GeoDistanceLinkWeight

  • All Implemented Interfaces:
    EdgeWeigher<TopologyVertex,​TopologyEdge>, LinkWeigher

    public class GeoDistanceLinkWeight
    extends java.lang.Object
    implements LinkWeigher
    Link weight for measuring link cost using the geo distance between link vertices as determined by the element longitude/latitude annotation.
    • Constructor Detail

      • GeoDistanceLinkWeight

        public GeoDistanceLinkWeight​(DeviceService deviceService)
        Creates a new link-weight with access to the specified device service.
        deviceService - device service reference