getParam

network.getParam(nodeNumber, parameterName)
Return the value of a parameter for a given node.
nodeNumber: integer
The number of the node.
parameterName: string
The name of the parameter to return.

Example (python-conedy)

import conedy as co

N = co.network()

N.addNode(co.kuramoto())


print "kuramoto_omega:" + str ( N.getParam(0, "kuramoto_omega"))

Example (conedy)

network N;

int i = N.addNode(kuramoto());

print "kuramoto_omega:" +  N.getParam(i, "kuramoto_omega");

Table Of Contents

Previous topic

degreeCentrality

Next topic

getState