2 * Copyright (c) 2003, the JUNG Project and the Regents of the University
6 * This software is open-source under the BSD license; see either
8 * http://jung.sourceforge.net/license.txt for a description.
10 * Created on Feb 12, 2004
12 package edu.uci.ics.jung.algorithms.shortestpath;
18 * An interface for algorithms that calculate shortest paths.
20 public interface ShortestPath<V, E>
23 * <p>Returns a <code>Map</code> which maps each vertex
24 * in the graph (including the <code>source</code> vertex)
25 * to the last edge on the shortest path from the
26 * <code>source</code> vertex.
28 Map<V,E> getIncomingEdgeMap(V source);