aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
blob: 80d7ae78065621f70596f3c825b31a63d7aed142 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
use hiccup::{SimUpdate::*, SimUpdates, Simulation};

fn main() {
    let mut sim = Simulation::new(390_000., 0.028, 30);
    let updates: SimUpdates = Amortize(12_000.).every(12).and(Amortize(30_000.).at(1));

    // let mut sim = Simulation::new(200_000., 0.01621, 30);
    // let updates: SimUpdates = SimUpdates::new();

    sim.run(updates);
    sim.render_table();
}