Skip to content

Commit 60103c2

Browse files
committed
Add Algorithm interface
1 parent b237ab5 commit 60103c2

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
package algorithm;
2+
3+
import java.util.List;
4+
5+
public interface Algorithm<T> {
6+
List<T> findRoute(Graph<T> graph, T source, T target);
7+
}

0 commit comments

Comments
 (0)