示例#1
0
文件: api.py 项目: clics/clics-data
 def save_graph(self, graph, network, threshold, edgefilter):
     network = Network(network, threshold, edgefilter, self.existing_dir('graphs'))
     return self.file_written(network.save(graph))
示例#2
0
文件: api.py 项目: clics/pyclics
 def load_graph(self, network, threshold, edgefilter):
     return Network(network, threshold, edgefilter, self.graph_dir).graph
示例#3
0
文件: api.py 项目: clics/pyclics
 def save_graph(self, graph, network, threshold, edgefilter):
     network = Network(network, threshold, edgefilter, self.graph_dir)
     return self.file_written(network.save(graph))
示例#4
0
 def load_network(self, nname, threshold, edgefilter):
     return Network(nname, threshold, edgefilter,
                    self.existing_dir('graphs'))
示例#5
0
 def load_graph(self, network, threshold, edgefilter):
     return Network(network, threshold, edgefilter,
                    self.existing_dir('graphs')).graph
示例#6
0
 def save_graph(self, graph, network, threshold, edgefilter):
     network = Network(network, threshold, edgefilter,
                       self.existing_dir('graphs'))
     return self.file_written(network.save(graph))