aboutsummaryrefslogtreecommitdiff
path: root/src/bin/cli.rs
blob: 5ca388b2a46adcc1fa5b1c597625422dde883172 (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::default();

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