Class RankingPathElement<V,​E>

    • Field Detail

      • weight

        private double weight
        Deprecated.
        Weight of the path.
    • Constructor Detail

      • RankingPathElement

        RankingPathElement​(Graph<V,​E> graph,
                           RankingPathElement<V,​E> pathElement,
                           E edge,
                           double weight)
        Deprecated.
        Creates a path element by concatenation of an edge to a path element.
        Parameters:
        pathElement -
        edge - edge reaching the end vertex of the path element created.
        weight - total cost of the created path element.
      • RankingPathElement

        RankingPathElement​(V vertex)
        Deprecated.
        Creates an empty path element.
        Parameters:
        vertex - end vertex of the path element.
    • Method Detail

      • getWeight

        public double getWeight()
        Deprecated.
        Returns the weight of the path.
        Returns:
        .