assocRules()
Set the array rule in the node structure-array according to the network's
transition logic rules defined in rulesMatrix.
Syntax
nodeUpdated = assocRules(node,rulesMatrix)
Description
assocRules(node,rulesMatrix) updates the fields
rule in the node
stucture-array according to the rulesMatrix
Input:
node - 1 x n structure-array containing node information
rulesMatrix - 2^k x n matrix containing transition logic rules for each node
Output:
nodeUpdated - 1 x n sturcture-array with updated node information (rule fields)
Example
Using
the Toolbox - CA: an application
See also
initNodes(),
initConnections(), assocNeighbours()
|