snapshot

network.snapshot()
Iterates through the list of observed features. Writes all observed node states into the respectives files.

Example (python-conedy)

import conedy as co

N = co.network()


newNodeNumber = N.addNode( co.roessler() )


N.observe(newNodeNumber, "output/snapshot.py.series", co.component(0))
N.observe(newNodeNumber, "output/snapshot.py.series", co.component(1))
N.observe(newNodeNumber, "output/snapshot.py.series", co.component(2))

N.snapshot()

Example (conedy)

network N;


int newNodeNumber;

newNodeNumber = N.addNode( roessler() );


N.observe(newNodeNumber, "output/snapshot.co.series", component(0));
N.observe(newNodeNumber, "output/snapshot.co.series", component(1));
N.observe(newNodeNumber, "output/snapshot.co.series", component(2));

N.snapshot();

Table Of Contents

Previous topic

setTime

Next topic

random