-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathProgram.cs
45 lines (32 loc) · 1.14 KB
/
Program.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
using System;
public class Program {
public static void Main(string[] args) {
string[] lines = System.IO.File.ReadAllLines("in.txt");
// BFS bfs = new BFS();
// bfs.manageBFS(lines);
// DFS dfs = new DFS();
// dfs.manageDFS(lines);
// TopSort ts = new TopSort();
// ts.manageTopSort(lines);
// Dijkstra dijkstra = new Dijkstra();
// dijkstra.manageDijkstra(lines);
// PrimsMST pmst = new PrimsMST();
// pmst.managePrimsMST(lines);
// KruskalMST kmst = new KruskalMST();
// kmst.manageKruskalMST(lines);
// SCC scc = new SCC();
// scc.manageSCC(lines);
// CountTree ct = new CountTree();
// ct.manageCountTree(lines);
// CycleDetection cd = new CycleDetection();
// cd.manageCycleDetection(lines);
// MinHeap h = new MinHeap(10);
// h.Push(10);
// h.Push(6);
// h.Push(34);
// Console.WriteLine(h.Pop());
// Console.WriteLine(h.Pop());
// h.Push(1);
// Console.WriteLine(h.Pop());
}
}