示例#1
0
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)
示例#5
0
def getGraphData():
    copyFilename = "../graphs/dataUnit.graph"
    s.copyFileUnit("../graphs/data.graph", copyFilename)
    return s.createGraph(copyFilename)
示例#6
0
def getGraphAdd20():
    copyFilename = "../graphs/add20Unit.graph"
    s.copyFileUnit("../graphs/add20.graph", copyFilename)
    return s.createGraph(copyFilename)
示例#7
0
def getGraph3elt():
    copyFilename = "../graphs/3eltUnit.graph"
    s.copyFileUnit("../graphs/3elt.graph", copyFilename)
    return s.createGraph(copyFilename)
示例#8
0
def getTestGraph():
    return s.createGraph("../graphs/unitEx.graph")
示例#9
0
def main():
    copyFilename = "../graphs/unitEx.graph"
    graph = s.createGraph(copyFilename)
    plne(graph, 3, 0, 11)