def and_masking_C(network,state,steps): states = [[]] for counter in xrange(steps): newstate = boolfuncs_c.and_masking_c(network.adjacency,network.mask,state) num.append(states,newstate,axis=0) states = network.state[-1] return states
def and_masking_C(network, state, steps): states = [[]] for counter in xrange(steps): newstate = boolfuncs_c.and_masking_c(network.adjacency, network.mask, state) num.append(states, newstate, axis=0) states = network.state[-1] return states