[ Web Proxy ]
URL:
Viewing: https://raw.githubusercontent.com/coderZMR/RecRankJavaEmersion/master/src/Test.java [Back]  [Original]

//import java.io.File;
//import java.io.IOException;
//import java.util.ArrayList;
//import java.util.List;
//import java.util.Map;
//
//public class Test {
//
//    static Map API2Index;
//
//    /**
//     * Groum
//     */
//    private static void test1() {
//        ConstructGroum CG = new ConstructGroum();
//        Groum groum = CG.constructGroum("C:\\Users\\RuI\\Desktop\\ZMR_RecRankEmersion\\RecRankJavaEmersion\\dotFile\\Demo.resizeArray.dot", API2Index);
//        List startList = new ArrayList();
//        startList.add("2");
//        List outList = GetPath.getAllPath(groum, startList, 6);
//        for (List path : outList) {
//            System.out.println(path);
//        }
//    }
//
//
//
//    private static void test2() throws IOException {
//        WritePathResult.ergodicDir(new File("C:\\Users\\RuI\\Desktop\\ZMR_RecRankEmersion\\RecRankJavaEmersion\\dotFile"), new File("C:\\Users\\RuI\\Desktop\\ZMR_RecRankEmersion\\RecRankJavaEmersion\\AllPath.txt"), API2Index);
//    }
//
//    private static void test3() throws IOException {
//        ReadAndCountPathResult.readAndCount(new File("C:\\Users\\RuI\\Desktop\\ZMR_RecRankEmersion\\RecRankJavaEmersion\\AllPath.txt"), new File("C:\\Users\\RuI\\Desktop\\ZMR_RecRankEmersion\\RecRankJavaEmersion\\PathCount.txt"));
//    }
//
//    private static void test4() throws IOException {
//        API2Index = ReadAPI2Index.getAPI2IndexMap(new File("C:\\Users\\RuI\\Desktop\\ZMR_RecRankEmersion\\RecRankJavaEmersion\\APIIndexMap.txt"));
//        for (String keyStr : API2Index.keySet()) {
//            System.out.println(keyStr + API2Index.get(keyStr));
//        }
//    }
//
//    public static void main(String[] args) throws IOException {
//        test4();    // APIIndexMap
//        test3();
//    }
//}

Web Proxy Viewer  |  New URL  |  Original Page