20 lines
392 B
Java
20 lines
392 B
Java
package org.insa.graph.io;
|
|
|
|
import java.io.IOException;
|
|
|
|
import org.insa.graph.Graph;
|
|
import org.insa.graph.Path;
|
|
|
|
public interface AbstractPathReader {
|
|
|
|
/**
|
|
* Read a path of the given graph and returns it.
|
|
*
|
|
* @param graph Graph of the path.
|
|
*
|
|
* @return A new path.
|
|
* @throws Exception
|
|
*/
|
|
public Path readPath(Graph graph) throws IOException;
|
|
|
|
}
|