예제 #1
0
파일: Program.cs 프로젝트: inzaghi250/FNM
        static void TestPathMining()
        {
            IndexedGraph g = new IndexedGraph();

            g.Read(@"D:\Users\v-jiahan\HORM\Data\ex3_graph.txt");
            FrequentPathMining fpm = new FrequentPathMiningBreadth();

            fpm.Init(g, 1000, 3, true);
            ShowingNames showname = new ShowingNames(@"D:\Users\v-jiahan\HORM\Data\ex3_graph");

            ShowResult(fpm._resultCache, showname);
        }
예제 #2
0
파일: Program.cs 프로젝트: inzaghi250/FNM
        private static void TestNBMining()
        {
            IndexedGraph g = new IndexedGraph();

            g.Read(@"E:\RkNPQ\yago2s_tsv\conv\yago2_graph.txt");
            FrequentNeighborhoodMining fnMiner = new FrequentNeighborhoodMining(g);

            var ret = fnMiner.MineEgonet(3, 4, 2, new int[] { 109374, 570862, 1033940 });

            Console.WriteLine(ret.Count);
            return;
        }