Count number of changes of a node through evolution.
nbChangesPerNode = countTransitionsPerNode(tsm)
countTransitionsPerNode(tsm) counts for all nodes in
tsm how many times they have changed state over all discrete
tsm - n x k+1 matrix containing node-states for n nodes at k timesteps
nbChangesPerNode - Number of changes of each node (column vector)
>> [node, conn, rule] = bsn(15,4,'line');
>> [node, tsm] = evolveARBN(node,50);
>> transitions = countTransitionsPerNode(tsm);
The vector transitions now
contains the number of state changes that each node has made in
the evolution over 50 time-steps in ARBN-update mode.
transitions = [3 0 1 0 0 1 1 0 1 0 1 1 0