#ifndef PARTICLE_TILE #define PARTICLE_TILE #include "definitions.hpp" struct Tile { numeric_t pheromone = 0; numeric_t variation = 0; size_t population = 0; void update(){ pheromone += variation; if(pheromone < 0) pheromone = 0; variation = 0; population = 0; } }; #endif // PARTICLE_TILE