bsn()
Build and show network.
Syntax
nodeUpdated = assocRules(node,rulesMatrix)
Description
bsn(n,k,optionString) builds a network with
n nodes and k connections per node and displays the topology using
optionString-LineStyle. This is just a script that calls some standard initialisation functions with
common parameters.
To exercice more control over the parameters of the network, make sure to
call all initializing functions with specific parameters individually.
Input:
n - Number of nodes in network
k - Incoming connections per node
optionString - LineStyle ('line' or 'arrow')
Output:
node - Structure-array containing node information
conn - n x n adjacent matrix with at average k incoming connections per node
rules - 2^k x n matrix containing transition logic rules for each node
Example
Using
the Toolbox - Getting Started
See also
initNodes(),
initConnections(), initRules(),
assocNeighbours(), assocRules(),
displayTopology(), bnKav()
|