Added packages, Previous class and ASet class.

This commit is contained in:
antograb authored and Sylvain Rager (regar42) committed 2017-12-03 20:41:05 +01:00
1 parent f252db5e3d
commit acab098ea1
16 files changed
+99 -5

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
package dijkstra;
import java.util.ArrayList;
public interface PreviousInterface {
/** Returns the father of an element */
public VertexInterface getPrevious(VertexInterface vertex) ;
/** Sets the father of an element to another element */
public void setPrevious(VertexInterface father, VertexInterface son) ;
/**Shortest path from root to a vertex */
public ArrayList<VertexInterface> getShortestPathTo(VertexInterface vertex) ;
}