view.py 文件源码

python
阅读 26 收藏 0 点赞 0 评论 0

项目:graph_LETI_project 作者: ItNoN 项目源码 文件源码
def button_optimazeClicked(self):
        s = 'graph.txt'

        tt = graph.Graph(self.day.currentText(), self.time.currentText())
        tt.list_node = tt.read_nodes_graph(s)
        tt.schedule = tt.read_schedule()
        a = tt.optimization_graph()
        for i in range(len(self.label)):
            try:
                self.update(a[i], i)
            except IndexError:
                self.update('', i)
        if len(a) == 0:
            self.update("?????? ? ?????? ????? ???", 2)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号