コード例 #1
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)
コード例 #2
0
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)
コード例 #3
0
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)
コード例 #4
0
def getGraphData():
    copyFilename = "../graphs/dataUnit.graph"
    s.copyFileUnit("../graphs/data.graph", copyFilename)
    return s.createGraph(copyFilename)
コード例 #5
0
def getGraphAdd20():
    copyFilename = "../graphs/add20Unit.graph"
    s.copyFileUnit("../graphs/add20.graph", copyFilename)
    return s.createGraph(copyFilename)
コード例 #6
0
def getGraph3elt():
    copyFilename = "../graphs/3eltUnit.graph"
    s.copyFileUnit("../graphs/3elt.graph", copyFilename)
    return s.createGraph(copyFilename)