Class AbstractGraphPathSearch.DefaultResult

    • Constructor Detail

      • DefaultResult

        public DefaultResult​(V src,
                             V dst)
        Creates the result of a single-path search.
        Parameters:
        src - path source
        dst - optional path destination
      • DefaultResult

        public DefaultResult​(V src,
                             V dst,
                             int maxPaths)
        Creates the result of path search.
        Parameters:
        src - path source
        dst - optional path destination
        maxPaths - optional limit of number of paths; GraphPathSearch.ALL_PATHS if no limit