Avancement sur le tp. Implémentation (pas finie) des interfaces pour le
maze et Box.
This commit is contained in:
1 parent
0f7ef69441
commit
f7646c48f6
8 files changed
+75
-16
No files matched your search
@@ -0,0 +1,14 @@
|
||||
import java.util.ArrayList;
|
||||
|
||||
public interface GraphInterface {
|
||||
|
||||
/** Returns the number of Vertexes */
|
||||
public int getVertexNumber() ;
|
||||
|
||||
/** Return the cost between two vertexes */
|
||||
public int getCost(VertexInterface start, VertexInterface end) ;
|
||||
|
||||
/** Returns an list of Vertexes */
|
||||
public ArrayList<VertexInterface> getVertexes() ;
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user