diff options
author | Guillermo Ramos | 2025-02-16 14:11:44 +0100 |
---|---|---|
committer | Guillermo Ramos | 2025-02-16 19:36:23 +0100 |
commit | 93e1545fb7da1f54fcc3dade596185ffe6c7a17d (patch) | |
tree | 0e8f5a4e30ed685f0aa297359f1bd453200f69b5 /src/bin/cli.rs | |
parent | 472b540de459ade8ce8f9b16b97de06020dede30 (diff) | |
download | hiccup-93e1545fb7da1f54fcc3dade596185ffe6c7a17d.tar.gz |
Axum @ web.rs
Diffstat (limited to 'src/bin/cli.rs')
-rw-r--r-- | src/bin/cli.rs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/bin/cli.rs b/src/bin/cli.rs new file mode 100644 index 0000000..5ca388b --- /dev/null +++ b/src/bin/cli.rs @@ -0,0 +1,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(); +} |