Skip to content

Commit 541b749

Browse files
committed
docs
1 parent 0b6e245 commit 541b749

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,13 @@ step_right_probs = [0.3, 0.5, 0.7, 0.4, 0.8, 0.9]
6363
walk = MarkovWalk(step_right_probs)
6464
```
6565

66-
- `ever_reach_probs[startPos][endPos]` is the probability, that after
67-
infinite wandering started at `startPos` we will ever reach the point `endPos`
66+
- `ever_reach_probs[start_state][end_state]` is the probability, that after
67+
infinite wandering started at `start_state` we will ever reach the point `end_state`
6868

69-
- `walk.right_edge_probs[pos]` is the probability for a starting point `pos`, that after infinite wandering we will leave
69+
- `walk.right_edge_probs[state]` is the probability for a starting `state`, that after infinite wandering we will leave
7070
the table on the right, and not on the left
7171

72-
By positions we mean indexes in `step_right_probs`. The point 1 from the example has index `0` in the list. So we will decrease all indices from the example by one.
72+
By states we mean `int` indexes in `step_right_probs`.
7373

7474
```python3
7575
# the motion begins at state 2.

0 commit comments

Comments
 (0)