예제 #1
0
import conedy as co


co.set("pcoMirollo_a" , 0.015)
co.set("pcoMirollo_b" , 0.045)


N = co.network()
N.randomNetwork(1000, 0.01, co.pcoMirollo(),co.edge())
N.randomizeStates(co.pcoMirollo(), co.uniform(0.0, 1.0))
N.observeTime("order.dat")
N.observePhaseCoherence("order.dat")
N.evolve(0.0, 1000.0)
import conedy as co

N = co.network()


for i in range (0,10000):
	N.addNode (co.node ())

N.addRandomEdgesDegreeDistribution(co.uniform (0.0,100.0), co.edge()  )

N.inDegreeDistribution("output/addRandomEdgesDegreeDistribution.py.degDist")
print N.meanDegree()

예제 #3
0
import conedy as co

N = co.network()

firstNode = N.addNode(co.roessler())
secondNode = N.addNode(co.roessler())

N.addEdge(firstNode, secondNode, co.edge())

N.printNodeStatistics()
예제 #4
0
import conedy as co

N = co.network()



firstNode = N.addNode(co.roessler())
secondNode = N.addNode(co.roessler())

N.addEdge (firstNode,secondNode,  co.edge() )


N.printNodeStatistics()