setLUTLines()
Update the "lineNumber" field of the
node structure-array.
Make sure that assocNeighbours() has been called on node before using this function.
Syntax
nodeUpdated = setLUTLines(node)
Description
setLUTLines(node) For each node in
node the states of the incoming nodes are evaluated and transformed from binary to decimal representation (linenumber of the rulesmatrix).
This enables direct access into the rulesmatrix. The linenumber is stored in the "lineNumber"
field of the node structure-array.
Input:
node - 1 x n structure-array containing
node information
Output:
nodeUpdated - 1 x n structure-array containing updated node information
See also
evolveARBN(),
evolveDARBN(), evolveGARBN(),
evolveDGARBN(), evolveCRBN(),
assocNeighbours()
|