Class HopCountLinkWeigher

    • Field Detail

      • DEFAULT_HOP_COUNT_WEIGHER

        public static final LinkWeigher DEFAULT_HOP_COUNT_WEIGHER
    • Constructor Detail

      • HopCountLinkWeigher

        public HopCountLinkWeigher()
        Creates a new hop-count weight.
      • HopCountLinkWeigher

        public HopCountLinkWeigher​(double indirectLinkCost)
        Creates a new hop-count weight with the specified cost of indirect links.
        Parameters:
        indirectLinkCost - indirect link cost