-
- Downloads
add an example to study the _recoding inbreeding_ phenomenon (!97)
this MR adds `examples/inbreeding.rs` which allows to do two things - _naive recoding_: in order to generate a new random shard, we first $k$-decode the whole data and then $1$-encode a single shard - _true recoding_: to achieve the same goal, we directly $k$-recode shards into a new one ## the scenario regardless of the _recoding strategy_, the scenario is the same 1. data is split into $k$ shards and $n$ original shards are generated 2. for a given number of steps $s$, $k$ shards are drawn randomly with replacement and we count the number of successful decoding, given a measure of the _diversity_, $$\delta = \frac{\#success}{\#attempts}$$ 3. create a new _recoded shard_ and add it to the $n$ previous ones, i.e. $n$ increases by one 4. repeat steps 2. and 3. as long as you want ## results 
... | @@ -14,6 +14,7 @@ ark-poly = "0.4.2" | ... | @@ -14,6 +14,7 @@ ark-poly = "0.4.2" |
ark-serialize = "0.4.2" | ark-serialize = "0.4.2" | ||
ark-std = "0.4.0" | ark-std = "0.4.0" | ||
clap = { version = "4.5.4", features = ["derive"] } | clap = { version = "4.5.4", features = ["derive"] } | ||
indicatif = "0.17.8" | |||
plnk = { git = "https://gitlab.isae-supaero.fr/a.stevan/plnk", tag = "0.6.0", version = "0.6.0" } | plnk = { git = "https://gitlab.isae-supaero.fr/a.stevan/plnk", tag = "0.6.0", version = "0.6.0" } | ||
rand = "0.8.5" | rand = "0.8.5" | ||
rs_merkle = "1.4.1" | rs_merkle = "1.4.1" | ||
... | ... |
examples/inbreeding.rs
0 → 100644
Please register or sign in to comment