27 std::vector< std::pair< int, std::vector<unsigned int> > >
passResults;
37 for (
unsigned int i = 0; i < nCellsOfState.size(); i++)
38 { out +=
"had " + std::to_string(nCellsOfState[i]) +
" cells of state " + std::to_string(i) +
"\n"; }
Abstract base class for different kinds of events.
simple logger for CA algorithm
std::string getStringCellsOfState(std::vector< unsigned int > &nCellsOfState)
returns string containing number of Cells for each state occurred:
std::vector< std::pair< int, std::vector< unsigned int > > > passResults
collects results for each pass for debugging purposes
unsigned int nFails
counts number of fails happened so far
unsigned int nPasses
counts number of passes executed so far