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