Function Reference
Initialisation | Evolution | Statistics | Data Management
 
Introduction
RBN Overview
Using the Toolbox
Function Reference
Research/Gallery
Download
Literature/Links
Contact
 

 

 

 

 

 

 
 
 
 


assocNeighbours()

Set the array input in the node structure-array according to the network structure defined in connectionMatrix.

Syntax

nodeUpdated = assocNeighbours(node,connectionMatrix)


Description

assocNeighbours(node,connectionMatrix) updates the fields input in the node stucture-array according to the connectionMatrix

Input:
node - 1 x n structure-array containing node information
connectionMatrix - n x n adjacent matrix (defined as in graph theory)

Output: 
nodeUpdated - 1 x n sturcture-array with updated node information (input fields)

Example

Using the Toolbox - CA: an application

See also

initNodes(), initConnections(), assocRules()

 

 
 
 
      Christian Schwarzer - EPFL