import java.util.*; /** * An implementation of graph search based on Dijkstra. Does not handle negative edges. */ public class Dijkstra { /** * * @param The type for the vertices in the graph. * @param The type for edges in the graph. * @param g The graph in which to search * @param start The starting vertex. * @param finish The ending vertex. * @return The list of edges in the path, or null if there is no path. * @throws IllegalArgumentException if g has a negative edge */ public > List shortestPath(GraphInterface g, V start, V finish) { return null; } }