clear

network.clear()
Erases all nodes from the network.

Example (python-conedy)

import conedy as co

N = co.network()


N.addNode(co.roessler())
print "Should be 1:" + str (N.numberVertices())
N.clear()
print "Should be 0:" + str (N.numberVertices())

Example (conedy)

network N;

N.addNode(roessler());
print "Should be 1:" +  N.numberVertices()+ newline;
N.clear();
print "Should be 0:" +  N.numberVertices()+ newline;

Table Of Contents

Previous topic

beeWeb

Next topic

completeNetwork