Class ListSingleSourcePathsImpl<V,​E>

    • Field Detail

      • graph

        protected Graph<V,​E> graph
        The graph
      • source

        protected V source
        The source vertex of all paths
    • Constructor Detail

      • ListSingleSourcePathsImpl

        public ListSingleSourcePathsImpl​(Graph<V,​E> graph,
                                         V source,
                                         Map<V,​GraphPath<V,​E>> paths)
        Construct a new instance.
        Parameters:
        graph - the graph
        source - the source vertex
        paths - one path per target vertex