schellings_model 1.4.0

Schelling's model written in rust.
Documentation
1
2
3
4
5
6
7
8
use crate::Field;

pub struct Simulation {
    pub field: Field,
    pub speed: u64,
    pub wanted_happiness: f32,
    pub running: bool,
}