Commit Graph

32 Commits

Author SHA1 Message Date
Csaba Kiraly 724d673fca
add SparseBlock with selected rows and columns only
SparseBlock stores only selected rows and columns.
Initial implementation without checks and asserts

Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2022-12-20 12:21:34 +01:00
Csaba Kiraly 7d79879f66
fix logging of rows and columns
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2022-12-20 11:26:54 +01:00
Csaba Kiraly 7a5f67ff31
add per-node state and per-channel network
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2022-12-20 11:23:58 +01:00
Csaba Kiraly db61300c46
block: handle merge and repair
Handle marge and row/column repair directly in the block data
structure.

Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2022-12-20 10:09:54 +01:00
Leo a9112c418e
Merge pull request #6 from status-im/develop
First version of the simulator
2022-12-14 18:58:32 +01:00
Leo e2bc5505d6
More complete README file 2022-12-14 17:46:20 +01:00
Leo 3d7891c77b
Merge pull request #5 from status-im/requirements
Requirements
2022-12-14 17:20:58 +01:00
Leonardo Bautista-Gomez e337ddc74a Small fix output 2022-12-14 17:17:32 +01:00
Leonardo Bautista-Gomez bb54a1cf31 Add requirements file 2022-12-14 17:16:22 +01:00
Leo 35084919e1
Merge pull request #4 from status-im/bitmaps
Bitmaps optimizations
2022-12-14 17:01:53 +01:00
Csaba Kiraly accbc3eff9
simplify code
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2022-12-12 13:41:41 +01:00
Csaba Kiraly 4179841c89
change checkRestore to restore
We are not simulating data errors, so no need to check.

Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2022-12-12 13:41:41 +01:00
Csaba Kiraly 26ba6a38f7
speed up restoration
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2022-12-12 13:41:40 +01:00
Csaba Kiraly a07be50727
change to bitmaps
It is faster to store and process data availability as bitmaps.
It is also enough, as we will not do anything with the data itself.

Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2022-12-12 13:41:40 +01:00
Csaba Kiraly b48fb6f791
use column and row accessors
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2022-12-07 15:14:36 +01:00
Csaba Kiraly 8da447ac5a
add column and row accessors
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2022-12-07 15:10:44 +01:00
Csaba Kiraly 13580cd44d
pick row/column IDs without replacement
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2022-12-07 10:59:41 +01:00
Leo c2ea4b9b09
Merge pull request #3 from status-im/simulator-initial
Simulator initial. First package structure.
2022-11-30 15:32:34 +01:00
Leonardo Bautista-Gomez eb8d9b9095 Remove old files 2022-11-30 15:31:21 +01:00
Leonardo Bautista-Gomez 0c79ddbf6f Restructure package 2022-11-30 15:28:27 +01:00
Leonardo Bautista-Gomez 6cbe751b84 Split code in multiple modules 2022-11-29 19:32:05 +01:00
Leonardo Bautista-Gomez 8221490196 Add logic for multi-simulation studies 2022-11-29 18:12:02 +01:00
Leonardo Bautista-Gomez 2df3ef45f7 Add iterative round based simulation and stop conditions 2022-11-25 18:50:55 +01:00
Leonardo Bautista-Gomez 4707084a01 Adding gitignore 2022-11-25 16:17:42 +01:00
Leonardo Bautista-Gomez 71cef6671c Improved logging system 2022-11-25 16:12:32 +01:00
Leo 1b00212740
Merge pull request #2 from status-im/simulator-initial
Round based data restoration completed
2022-11-24 14:59:23 +01:00
Leonardo Bautista-Gomez 15a3bd9c82 Round based data restoration completed 2022-11-24 14:53:36 +01:00
Leo 4c0ceec602
Merge pull request #1 from status-im/simulator-initial
Initial structure of the DAS simulator
2022-11-24 13:15:03 +01:00
Leonardo Bautista-Gomez 91c997c62e Initial structure of the DAS simulator 2022-11-21 16:30:39 +01:00
Leo b6e9485f96
Update README.md 2022-11-21 16:24:59 +01:00
Leo d2bda4742d
Update README.md 2022-11-21 15:32:16 +01:00
Leo 2a3c0faf38
Initial commit 2022-11-21 15:31:19 +01:00