@@ -0,0 +1,1465 @@
+package graph.grader;%0A%0Aimport java.util.HashMap;%0Aimport java.util.List;%0A%0Aimport graph.CapGraph;%0Aimport graph.CommunityNetwork;%0Aimport graph.Graph;%0Aimport graph.MinDominatingSet;%0Aimport graph.WeightedGraph;%0Aimport util.GraphLoader;%0A%0Apublic class TestDirected %7B%0A%09%0A%09public static void main(String%5B%5D args)%0A%09%7B%0A%09%09Graph graph = new CapGraph();%0A        //GraphLoader.loadGraph(graph, %22data/directed_small_test.txt%22);%0A        //GraphLoader.loadGraph(graph, %22data/small_test_graph.txt%22);%0A        //GraphLoader.loadGraph(graph, %22data/twitter_combined.txt%22);%0A        GraphLoader.loadGraph(graph, %22data/facebook_2000.txt%22);%0A        //GraphLoader.loadGraph(graph, %22data/facebook_1000.txt%22);%0A        %0A        List%3CGraph%3E ll = graph.getSCCs();%0A        %0A        MinDominatingSet mDS = new MinDominatingSet(graph);%0A        %0A        System.out.println(ll.size());%0A        %0A        List%3CInteger%3E dom = mDS.getDominatingSet();%0A        /**%0A        for (Integer i: dom)%0A        %7B%0A        %09System.out.println(i);%0A        %7D%0A        **/%0A        System.out.println(dom.size());%0A        %0A        CommunityNetwork cN = new CommunityNetwork(graph);%0A        %0A        WeightedGraph wG = cN.getCommunityGraph();%0A        %0A        HashMap%3CInteger, HashMap%3CInteger, Integer%3E%3E vertices = wG.exportGraph();%0A        %0A        for (Integer g: vertices.keySet())%0A        %7B%0A        %09System.out.println(g);%0A        %09HashMap%3CInteger, Integer%3E hM = vertices.get(g);%0A        %09%0A        %0A        %09%0A        %7D%0A%09%7D%0A%0A%7D%0A

test class added