Package com.jgalgo.example
Class BfsDfsExample
- java.lang.Object
-
- com.jgalgo.example.BfsDfsExample
-
public class BfsDfsExample extends Object
This example demonstrates how to use the BFS and DFS algorithms.- Author:
- Barak Ugav
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidbfsExample()This example demonstrates how to use the BFS algorithm.static voiddfsExample()This example demonstrates how to use the DFS algorithm.static voidmain(String[] args)
-
-
-
Method Detail
-
bfsExample
public static void bfsExample()
This example demonstrates how to use the BFS algorithm.
-
dfsExample
public static void dfsExample()
This example demonstrates how to use the DFS algorithm.
-
main
public static void main(String[] args)
-
-