Compare commits
2 Commits
3fe4ddc2ee
...
bc13c48302
| Author | SHA1 | Date | |
|---|---|---|---|
| bc13c48302 | |||
| ced3a93412 |
@@ -0,0 +1,9 @@
|
|||||||
|
# Rusty Propagation
|
||||||
|
Run :
|
||||||
|
```
|
||||||
|
cargo run -q
|
||||||
|
```
|
||||||
|
Speed run :
|
||||||
|
```
|
||||||
|
cargo run -q --release
|
||||||
|
```
|
||||||
+1
-1
@@ -20,7 +20,7 @@ fn main() {
|
|||||||
|
|
||||||
|
|
||||||
let disease = Disease::new(20,10,5,String::from("Covid 44"));
|
let disease = Disease::new(20,10,5,String::from("Covid 44"));
|
||||||
let mut population = Population::new(20,10,5,300,300,disease);
|
let mut population = Population::new(20,10,5,1000,1000,disease);
|
||||||
//population.change_disease(disease);
|
//population.change_disease(disease);
|
||||||
println!("Before Filling");
|
println!("Before Filling");
|
||||||
//population.display();
|
//population.display();
|
||||||
|
|||||||
Reference in New Issue
Block a user