63 std::uniform_real_distribution<double>
probaGen;
Where "everything" happens.
size_t getNbUpdates() const
get the number of update since the creation of the world
std::unordered_map< Type, PreSetCell > typeToPreSetCell
nlohmann::json scenarConfig
void initScenario(Scenario *s)
void loadModel(nlohmann::json config)
std::uniform_real_distribution< double > probaGen
Represents a cell in the simulation.
Type getType() const
Gets the type of the cell.
Manages the simulation scenario.
a class to store JSON values
A simple vector class template.
size_t size() const
Returns the number of elements in the vector.
static constexpr double DOUBLE_EPSILON
max distance for two doubles to be considered equals (only used for some geometric operations)
PreSetCell(nlohmann::json cellConfig, std::string type)
std::vector< std::vector< double > > data
Protocol(std::vector< std::vector< double > > _data)
double getValue(World &w)