Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
| lfa:lab05-nfa-python [2020/11/03 09:45] lfa | lfa:lab05-nfa-python [2020/11/08 13:11] (current) dmihai | ||
|---|---|---|---|
| Line 53: | Line 53: | ||
| 3. **accept(self, word: Word)** | 3. **accept(self, word: Word)** | ||
| * True or False if the NFA accepts the given word. | * True or False if the NFA accepts the given word. | ||
| - | * to simplify this task, you can use the //kstep// function. | ||
| 4. **epsilonClosure(self, state: State)** | 4. **epsilonClosure(self, state: State)** | ||