Example #1
0
        static void CreateGraph()
        {
            //140 is the average friends number of any person
            GraphCreator graphCreator = new GraphCreator(140);

            graphCreator.CreateGraph();//this'll dump person cells into trinity storage
        }
Example #2
0
        public void GenerateGraph(int avg_degree)
        {
            GraphCreator psg = new GraphCreator(avg_degree);

            Console.WriteLine("Degree: {0}", avg_degree);
            psg.CreateGraph();
            Console.WriteLine("Created {0}", avg_degree);
        }
Example #3
0
 static void CreateGraph()
 {
     //140 is the average friends number of any person
     GraphCreator graphCreator = new GraphCreator(140);
     graphCreator.CreateGraph();//this'll dump person cells into trinity storage
 }
Example #4
0
 public void GenerateGraph(int avg_degree)
 {
     GraphCreator psg = new GraphCreator(avg_degree);
     Console.WriteLine("Degree: {0}", avg_degree);
     psg.CreateGraph();
     Console.WriteLine("Created {0}", avg_degree);
 }