Commit 9df10a7
committed
This reverts a majority of the initial implementation of the partial L* algorithm, including the partial observation table and some of the SLI-specific interfaces.
While the concept of state local inputs showed huge improvements regarding query performance, the implementation via specific partial versions of learning algorithms was hard to maintain, as essentially every currently existing learning algorithm would have to be re-implemented.
Instead, this commit introduces the SLI concept as a SUL filter and introduces a special StateLocalInputSULOracle which early-answers queries that would traverse unavailable inputs with a previously specified symbol. This way, queries that would traverse undefined input symbols still won't be executed on the SUL but the SUL appears as a 'total' Mealy system to the learner, allowing one to use every currently existing Mealy learner as-is.
The only 'drawback' of this approach is that the internal datastructures of the learners are bigger (consume more memory) compared to a 'partial' version of the learner, since the system appears to be total when it is not. But since this is often not the limiting factor in practical AAL, this is a worthwhile trade-off.
1 parent e479076 commit 9df10a7
48 files changed
Lines changed: 1434 additions & 2054 deletions
File tree
- algorithms/active/lstar
- src
- main/java/de/learnlib/algorithms/lstar
- mealy
- test/java/de/learnlib/algorithms/lstar
- it
- api/src/main/java/de/learnlib/api/oracle
- build-parent
- datastructures/observation-table
- src/main/java/de/learnlib/datastructure/observationtable
- examples/src/main/java/de/learnlib/examples/sli
- oracles
- equivalence-oracles
- src/main/java/de/learnlib/oracle/equivalence/mealy
- filters
- cache/src
- main/java/de/learnlib/filter/cache
- mealy
- sul
- test/java/de/learnlib/filter/cache
- mealy
- parallelism
- sul
- statistics/src/main/java/de/learnlib/filter/statistic/sul
- membership-oracles/src/main/java/de/learnlib/oracle/membership
- test-support
- learner-it-support/src/main/java/de/learnlib/testsupport/it/learner
- learning-examples/src/main/java/de/learnlib/examples
- mealy
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | 73 | | |
79 | 74 | | |
80 | 75 | | |
| |||
Lines changed: 4 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
| 79 | + | |
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
| 128 | + | |
128 | 129 | | |
129 | | - | |
130 | | - | |
| 130 | + | |
131 | 131 | | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
| 132 | + | |
136 | 133 | | |
137 | 134 | | |
138 | 135 | | |
| |||
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | 28 | | |
30 | 29 | | |
31 | 30 | | |
| |||
59 | 58 | | |
60 | 59 | | |
61 | 60 | | |
62 | | - | |
| 61 | + | |
63 | 62 | | |
64 | 63 | | |
65 | 64 | | |
| |||
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
Lines changed: 0 additions & 209 deletions
This file was deleted.
Lines changed: 0 additions & 74 deletions
This file was deleted.
0 commit comments