-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgenerate.py
More file actions
48 lines (44 loc) · 1.44 KB
/
generate.py
File metadata and controls
48 lines (44 loc) · 1.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
import automata_generator
def generate_automatons_connected_property():
# Example of how to generate automatons given the following parameters:
# - Property: connected
# - Amount: 10
# - Nominal size: 5
# - Alphabet size: 2
# - Path: automatas.pickle
automata_generator.generate_and_export_automatas(
property="connected",
amount=10_000,
nominal_size=5,
alphabet_size=2,
path="connected_property_automatas"
)
def generate_automatons_unique_accepting_property():
# Example of how to generate automatons given the following parameters:
# - Property: unique_accepting
# - Amount: 10
# - Nominal size: 5
# - Alphabet size: 2
# - Path: automatas.pickle
automata_generator.generate_and_export_automatas(
property="unique_accepting",
amount=10_000,
nominal_size=5,
alphabet_size=2,
path="unique_accepting_property_automatas"
)
def generate_automatons_minimal_property():
# Example of how to generate automatons given the following parameters:
# - Property: minimal
# - Amount: 10
# - Nominal size: 5
# - Alphabet size: 2
# - Path: automatas.pickle
automata_generator.generate_and_export_automatas(
property="minimal",
amount=10_000,
nominal_size=5,
alphabet_size=2,
path="minimal_property_automatas"
)
generate_automatons_minimal_property()