displayEvolution()
Calculate and visualize evolution of node over k discrete time steps according to
mode update scheme.
Syntax
[nodeUpdated,timeStateMatrix] = displayEvolution(node,k,mode)
[nodeUpdated,timeStateMatrix] = displayEvolution(node,k,mode,tk,saveFlag)
Description
displayEvolution(node,k,mode) advances all nodes in
node k time-steps in update mode defined by mode and displays node states.
displayEvolution(node,k,mode,tk,saveFlag) advances all nodes in
node k time-steps in update mode defined by mode and displays node states. All
tk steps, node-states and the timeStateMatrix are saved to the current
directory. Furthermore, if saveFlag is set, the figure is saved to the disk.
Input:
node - 1 x n structure-array containing node information
k - Number of discrete timesteps
mode - String defining update scheme. Currently supported modes are:CRBN, ARBN, DARBN, GARBN, DGARBN
tk - (Optional) Period for saving node-states/timeStateMatrix to disk.
saveFlag - (Optional) Flag: 1 - Figure will be saved to disk 0 - no saving
Output:
nodeUpdated - 1 x n structure-array with updated node information
timeStateMatrix - n x k+1 matrix containing calculated time-state evolution
Example
Using
the Toolbox - Getting Started
See also
evolveARBN(),
evolveDARBN(), evolveGARBN(),
evolveDGARBN(), evolveCRBN(),
displayTimeStateMatrix(),
saveMatrix(),
saveFigure()
|