File control/src/Simulation/ControlSimulation_impl.hpp

File control/src/Simulation/ControlSimulation_impl.hpp#

Go to the source code of this file

functions related to the simulation involving control

Defines

TO_STR(x)#

Functions

static inline std::pair<unsigned, std::string> getNumberOfStates(DynamicalSystemsGraph &DSG0, InteractionsGraph &IG0)#
static inline unsigned storeAllStates(unsigned indx, unsigned startColumn, DynamicalSystemsGraph &DSG0, InteractionsGraph &IG0, SimpleMatrix &data)#

store all the states of the graph in a matrix

Parameters:
  • indx – row index in the matrix

  • startColumn – the starting column

  • DSG0 – the graph of DynamicalSystem

  • IG0 – the graph of Interaction

  • data – the matrix where to save the data

Returns:

the last written column