Skip to content

Commit a058dd2

Browse files
committed
add PAPNI to top level imports and one vpa benchmark model
1 parent f97b06f commit a058dd2

File tree

3 files changed

+12
-1
lines changed

3 files changed

+12
-1
lines changed

DotModels/arithmetics.dot

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
digraph learnedModel {
2+
s0 [label="s0", shape=circle];
3+
s1 [label="s1", shape=doublecircle];
4+
s0 -> s1 [label="1"];
5+
s0 -> s0 [label="push(()"];
6+
s1 -> s0 [label="+"];
7+
s1 -> s1 [label=") / pop(()"];
8+
__start0 [label="", shape=none];
9+
__start0 -> s0 [label=""];
10+
}

aalpy/__init__.py

+1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
run_non_det_Lstar,
3838
run_RPNI,
3939
run_stochastic_Lstar,
40+
run_PAPNI
4041
)
4142
from .oracles import (
4243
BreadthFirstExplorationEqOracle,

aalpy/utils/BenchmarkVpaModels.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ def step(self, letter):
415415

416416
sul = ArithmeticSUL()
417417

418-
alphabet = VpaAlphabet(internal_alphabet=['1', '+', '-', '/', '0'], call_alphabet=['(', ], return_alphabet=[')', ])
418+
alphabet = VpaAlphabet(internal_alphabet=['1', '+',], call_alphabet=['(', ], return_alphabet=[')', ])
419419
merged_alphabet = alphabet.get_merged_alphabet()
420420
data = []
421421
while len(data) < num_sequances:

0 commit comments

Comments
 (0)