def main(): params = RAS.load_parameters_for_test_run() params['sampling_technique'] = "DegreeMin" Gbase, Gcomplete = generate_graphs(params) # display("generate_graphs:main", "Gbase node-list: " + str(Gbase.node)) # display("generate_graphs:main", "Gbase edge-list: " + str(Gbase.edge)) # display("generate_graphs:main", "Gcomplete node-list: " + str(Gcomplete.node)) # display("generate_graphs:main", "Gcomplete edge-list: " + str(Gcomplete.edge)) draw_graph(Gbase, "Gbase") draw_graph(Gcomplete, "Gcomplete") return
def main(): params = RAS.load_parameters_for_test_run() #print params #params['sampling_technique'] = "DegreeMin" Gfriendship = generate_graphs(params) #print Gfriendship.node[2048] # display("generate_graphs:main", "Gbase node-list: " + str(Gbase.node)) # display("generate_graphs:main", "Gbase edge-list: " + str(Gbase.edge)) # display("generate_graphs:main", "Gcomplete node-list: " + str(Gcomplete.node)) # display("generate_graphs:main", "Gcomplete edge-list: " + str(Gcomplete.edge)) #draw_graph(Gfriendship,"Gfriendship") #draw_graph(Gcomplete,"Gcomplete") return
def main(): params = RAS.load_parameters_for_test_run() Gbase, Gcomplete = GG.generate_graphs(params) EF = introduce_all_content(Gcomplete, params) # print len(EF) return
def main(): Gbase, Gcomplete = GG.generate_graphs(RAS.load_parameters_for_test_run()) EFlocal = introduce_content(Gcomplete, random.randint(1, 3), RAS.load_parameters_for_test_run()) # print EFlocal return
def main(): params = RAS.load_parameters_for_test_run() Gbase, Gcomplete = GG.generate_graphs(params) Ginferred = infer_graph(Gcomplete, params) GG.draw_graph(Ginferred, "Ginferred") return
def main(): Gfriendship = GG.generate_graphs (RAS.load_parameters_for_test_run()) introduce_content (Gfriendship, random.randint(1,3), RAS.load_parameters_for_test_run()) # print EFlocal return
def main(): params = RAS.load_parameters_for_test_run() compare_graphs(params) return