PyTorch implementation of Schelling's segregation model in 2D and 3D
- von Neumann neighborhood of 4 individuals
- Moore neighborhood of eight individuals
- Concentration of one population for binary case
- Kernel size
- Add empty space to both 2D and 3D cases For example, both list l+(t) and l−(t) are ordered from most to less unhappy individuals, and then we take randomly among the most unhappy individuals one element of each list and exchange them.
- Add support fo empty space in 2D grid
- Add support for different concentration of particles for N classes