def main(): #copyFilename = "../graphs/testGraphUnit.graph" #s.copyFileUnit("../graphs/data.graph",copyFilename) #s.copyFileUnit("../graphs/add20.graph",copyFilename) #s.copyFileUnit("../graphs/3elt.graph",copyFilename) #graph = s.createGraph(copyFilename) graph = s.createGraph("../graphs/unitEx.graph") pList, graph = gloutonWithCut(2,graph,False)
def main(): copyFilename = "../graphs/testGraph.graph" #copyFilename = "../graphs/unitEx.graph" #s.copyFileUnit("../graphs/data.graph",copyFilename) #s.copyFileUnit("../graphs/add20.graph",copyFilename) s.copyFileUnit("../graphs/3elt.graph",copyFilename) graph = s.createGraph(copyFilename) recuitSimule(graph, 100000, 10000, 30,False)
def main(): copyFilename = "../graphs/testGraph.graph" #s.copyFileUnit("../graphs/data.graph",copyFilename) s.copyFileUnit("../graphs/add20.graph",copyFilename) #s.copyFileUnit("../graphs/3elt.graph",copyFilename) graph = s.createGraph(copyFilename) #graph = s.createGraph("../graphs/unitEx.graph") kl(graph,False)
def main(): copyFilename = "../graphs/dataUnit.graph" s.copyFileUnit("../graphs/data.graph",copyFilename) #graph = s.createGraph(copyFilename) graph = s.createGraph("../graphs/unitEx.graph") kl(graph,False)
def getGraphData(): copyFilename = "../graphs/dataUnit.graph" s.copyFileUnit("../graphs/data.graph", copyFilename) return s.createGraph(copyFilename)
def getGraphAdd20(): copyFilename = "../graphs/add20Unit.graph" s.copyFileUnit("../graphs/add20.graph", copyFilename) return s.createGraph(copyFilename)
def getGraph3elt(): copyFilename = "../graphs/3eltUnit.graph" s.copyFileUnit("../graphs/3elt.graph", copyFilename) return s.createGraph(copyFilename)
def getTestGraph(): return s.createGraph("../graphs/unitEx.graph")
def main(): copyFilename = "../graphs/unitEx.graph" graph = s.createGraph(copyFilename) plne(graph, 3, 0, 11)