File control/src/Simulation/ControlSimulation_impl.hpp

Go to the source code of this file

functions related to the simulation involving control

Functions

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

store all the states of the graph in a matrix

Return
the last written column
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