diff --git a/Code/ldpc/src/construction/random.rs b/Code/ldpc/src/construction/random.rs index c9d2947..70841e3 100644 --- a/Code/ldpc/src/construction/random.rs +++ b/Code/ldpc/src/construction/random.rs @@ -1,6 +1,7 @@ use crate::matrix::MatrixGF2; use rand::RngExt; +// H doit respecter les contraine des poids w_c et w_r pub fn generate_random_h(rows: usize, cols: usize, wc: usize, wr: usize) -> MatrixGF2 { assert_eq!(rows * wr, cols * wc, "Erreur"); loop { diff --git a/Code/ldpc/target/debug/.fingerprint/ldpc-200ae86d4d1b6d87/dep-bin-ldpc b/Code/ldpc/target/debug/.fingerprint/ldpc-200ae86d4d1b6d87/dep-bin-ldpc index cb0b1d2..46ecd24 100644 Binary files a/Code/ldpc/target/debug/.fingerprint/ldpc-200ae86d4d1b6d87/dep-bin-ldpc and b/Code/ldpc/target/debug/.fingerprint/ldpc-200ae86d4d1b6d87/dep-bin-ldpc differ diff --git a/Code/ldpc/target/debug/.fingerprint/ldpc-4e3139e1c1d60be0/dep-test-bin-ldpc b/Code/ldpc/target/debug/.fingerprint/ldpc-4e3139e1c1d60be0/dep-test-bin-ldpc index 371ebb1..004dacf 100644 Binary files a/Code/ldpc/target/debug/.fingerprint/ldpc-4e3139e1c1d60be0/dep-test-bin-ldpc and b/Code/ldpc/target/debug/.fingerprint/ldpc-4e3139e1c1d60be0/dep-test-bin-ldpc differ diff --git a/Code/ldpc/target/debug/incremental/ldpc-20qvw75tejwzk/s-hfpiyx9n7j-0es7nqu-0srvwxx4jpiegv6cmr1nyxr0o/dep-graph.bin b/Code/ldpc/target/debug/incremental/ldpc-20qvw75tejwzk/s-hfpj3ndtci-0bg7i4x-b1493el8horajja91fddnow14/dep-graph.bin similarity index 68% rename from Code/ldpc/target/debug/incremental/ldpc-20qvw75tejwzk/s-hfpiyx9n7j-0es7nqu-0srvwxx4jpiegv6cmr1nyxr0o/dep-graph.bin rename to Code/ldpc/target/debug/incremental/ldpc-20qvw75tejwzk/s-hfpj3ndtci-0bg7i4x-b1493el8horajja91fddnow14/dep-graph.bin index aa7b9e0..0e7efbc 100644 Binary files a/Code/ldpc/target/debug/incremental/ldpc-20qvw75tejwzk/s-hfpiyx9n7j-0es7nqu-0srvwxx4jpiegv6cmr1nyxr0o/dep-graph.bin and b/Code/ldpc/target/debug/incremental/ldpc-20qvw75tejwzk/s-hfpj3ndtci-0bg7i4x-b1493el8horajja91fddnow14/dep-graph.bin differ diff --git a/Code/ldpc/target/debug/incremental/ldpc-20qvw75tejwzk/s-hfpiyx9n7j-0es7nqu-0srvwxx4jpiegv6cmr1nyxr0o/query-cache.bin b/Code/ldpc/target/debug/incremental/ldpc-20qvw75tejwzk/s-hfpj3ndtci-0bg7i4x-b1493el8horajja91fddnow14/query-cache.bin similarity index 83% rename from Code/ldpc/target/debug/incremental/ldpc-20qvw75tejwzk/s-hfpiyx9n7j-0es7nqu-0srvwxx4jpiegv6cmr1nyxr0o/query-cache.bin rename to Code/ldpc/target/debug/incremental/ldpc-20qvw75tejwzk/s-hfpj3ndtci-0bg7i4x-b1493el8horajja91fddnow14/query-cache.bin index f73e2e6..ef79ce9 100644 Binary files a/Code/ldpc/target/debug/incremental/ldpc-20qvw75tejwzk/s-hfpiyx9n7j-0es7nqu-0srvwxx4jpiegv6cmr1nyxr0o/query-cache.bin and b/Code/ldpc/target/debug/incremental/ldpc-20qvw75tejwzk/s-hfpj3ndtci-0bg7i4x-b1493el8horajja91fddnow14/query-cache.bin differ diff --git a/Code/ldpc/target/debug/incremental/ldpc-20qvw75tejwzk/s-hfpiyx9n7j-0es7nqu-0srvwxx4jpiegv6cmr1nyxr0o/work-products.bin b/Code/ldpc/target/debug/incremental/ldpc-20qvw75tejwzk/s-hfpj3ndtci-0bg7i4x-b1493el8horajja91fddnow14/work-products.bin similarity index 100% rename from Code/ldpc/target/debug/incremental/ldpc-20qvw75tejwzk/s-hfpiyx9n7j-0es7nqu-0srvwxx4jpiegv6cmr1nyxr0o/work-products.bin rename to Code/ldpc/target/debug/incremental/ldpc-20qvw75tejwzk/s-hfpj3ndtci-0bg7i4x-b1493el8horajja91fddnow14/work-products.bin diff --git a/Code/ldpc/target/debug/incremental/ldpc-20qvw75tejwzk/s-hfpiyx9n7j-0es7nqu.lock b/Code/ldpc/target/debug/incremental/ldpc-20qvw75tejwzk/s-hfpj3ndtci-0bg7i4x.lock similarity index 100% rename from Code/ldpc/target/debug/incremental/ldpc-20qvw75tejwzk/s-hfpiyx9n7j-0es7nqu.lock rename to Code/ldpc/target/debug/incremental/ldpc-20qvw75tejwzk/s-hfpj3ndtci-0bg7i4x.lock diff --git a/Code/ldpc/target/debug/incremental/ldpc-21si3lsby7drd/s-hfpiyx9p66-0zs8wvs-bm3m8dzrxwnhwoyrq316pg3rz/dep-graph.bin b/Code/ldpc/target/debug/incremental/ldpc-21si3lsby7drd/s-hfpj3ndulo-08zjx35-0n4lzd7mwh6dxortql9mgkkv0/dep-graph.bin similarity index 68% rename from Code/ldpc/target/debug/incremental/ldpc-21si3lsby7drd/s-hfpiyx9p66-0zs8wvs-bm3m8dzrxwnhwoyrq316pg3rz/dep-graph.bin rename to Code/ldpc/target/debug/incremental/ldpc-21si3lsby7drd/s-hfpj3ndulo-08zjx35-0n4lzd7mwh6dxortql9mgkkv0/dep-graph.bin index a5dfe14..12ed591 100644 Binary files a/Code/ldpc/target/debug/incremental/ldpc-21si3lsby7drd/s-hfpiyx9p66-0zs8wvs-bm3m8dzrxwnhwoyrq316pg3rz/dep-graph.bin and b/Code/ldpc/target/debug/incremental/ldpc-21si3lsby7drd/s-hfpj3ndulo-08zjx35-0n4lzd7mwh6dxortql9mgkkv0/dep-graph.bin differ diff --git a/Code/ldpc/target/debug/incremental/ldpc-21si3lsby7drd/s-hfpiyx9p66-0zs8wvs-bm3m8dzrxwnhwoyrq316pg3rz/query-cache.bin b/Code/ldpc/target/debug/incremental/ldpc-21si3lsby7drd/s-hfpj3ndulo-08zjx35-0n4lzd7mwh6dxortql9mgkkv0/query-cache.bin similarity index 83% rename from Code/ldpc/target/debug/incremental/ldpc-21si3lsby7drd/s-hfpiyx9p66-0zs8wvs-bm3m8dzrxwnhwoyrq316pg3rz/query-cache.bin rename to Code/ldpc/target/debug/incremental/ldpc-21si3lsby7drd/s-hfpj3ndulo-08zjx35-0n4lzd7mwh6dxortql9mgkkv0/query-cache.bin index 7958b3a..4602b6b 100644 Binary files a/Code/ldpc/target/debug/incremental/ldpc-21si3lsby7drd/s-hfpiyx9p66-0zs8wvs-bm3m8dzrxwnhwoyrq316pg3rz/query-cache.bin and b/Code/ldpc/target/debug/incremental/ldpc-21si3lsby7drd/s-hfpj3ndulo-08zjx35-0n4lzd7mwh6dxortql9mgkkv0/query-cache.bin differ diff --git a/Code/ldpc/target/debug/incremental/ldpc-21si3lsby7drd/s-hfpiyx9p66-0zs8wvs-bm3m8dzrxwnhwoyrq316pg3rz/work-products.bin b/Code/ldpc/target/debug/incremental/ldpc-21si3lsby7drd/s-hfpj3ndulo-08zjx35-0n4lzd7mwh6dxortql9mgkkv0/work-products.bin similarity index 100% rename from Code/ldpc/target/debug/incremental/ldpc-21si3lsby7drd/s-hfpiyx9p66-0zs8wvs-bm3m8dzrxwnhwoyrq316pg3rz/work-products.bin rename to Code/ldpc/target/debug/incremental/ldpc-21si3lsby7drd/s-hfpj3ndulo-08zjx35-0n4lzd7mwh6dxortql9mgkkv0/work-products.bin diff --git a/Code/ldpc/target/debug/incremental/ldpc-21si3lsby7drd/s-hfpiyx9p66-0zs8wvs.lock b/Code/ldpc/target/debug/incremental/ldpc-21si3lsby7drd/s-hfpj3ndulo-08zjx35.lock similarity index 100% rename from Code/ldpc/target/debug/incremental/ldpc-21si3lsby7drd/s-hfpiyx9p66-0zs8wvs.lock rename to Code/ldpc/target/debug/incremental/ldpc-21si3lsby7drd/s-hfpj3ndulo-08zjx35.lock