Skip to content

Commit 2707fc1

Browse files
committed
Completed basic documentation of the executable program
1 parent cba67b1 commit 2707fc1

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

analysis/markov/ReadMe.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
# Markov-model simulation for Linear Leios
22

3+
This Markovian model of Linear Leios computes the probability of EB certifications as RBs are produced.
4+
35

46
## Example
57

8+
The `linleios` program executes the Markov model for EB production in Linear Leios. The protocol parameters and network characteristic are specified as flags on the command line. The program outputs the following information:
9+
10+
- The efficiency of EB production, defined as the expected number of certified EBs per RB.
11+
- The "missing probability" resulting from the finite-resolution arithmetic of the computations.
12+
- Optionally, a JSON file containing the probabilities of the given number of certified EBs.
13+
614
```console
7-
$ lake exe linleios \
8-
--l-header 1 \
9-
--l-vote 4 \
10-
--l-diff 5 \
11-
--committee-size 600 \
12-
--quorum-fraction 0.80 \
13-
--p-rb-header-arrives 0.95 \
14-
--p-eb-validates 0.85 \
15-
--output-file tmp.json
15+
$ lake exe linleios --l-header 1 --l-vote 4 --l-diff 5 --committee-size 600 --quorum-fraction 0.80 --p-rb-header-arrives 0.95 --p-eb-validates 0.85 --rb-count 100 --output-file tmp.json
1616

1717
Efficiency: 0.358416
1818
Missing probability: 0.000001

0 commit comments

Comments
 (0)