randomTarget

randomTarget(lower, upper)
A target is chosen randomly every time a state is requested by the source node.

Parameters

lower : int
The lowest node number for the randomly chosen target node.
upper : int
The largest node number for the randomly chosen target node.

coupling

The returned coupling strength is 1.

Example (python-conedy)

import conedy as co

N = co.network()







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

N.addEdge (firstNode,secondNode, co.randomTarget (2,3) )


N.printNodeStatistics()

Example (conedy)

network N;



int firstNode = N.addNode(roessler());
int secondNode = N.addNode(roessler());

N.addEdge (firstNode,secondNode, randomTarget (2, 3) );


N.printNodeStatistics();

Table Of Contents

Previous topic

edge

Next topic

randomTarget_staticWeightedEdge