adding support for network of automata...

This commit is contained in:
Artur Meski
2016-12-28 21:36:49 +01:00
parent a1b660abea
commit 5ddc549245
7 changed files with 59 additions and 12 deletions

View File

@@ -0,0 +1,14 @@
from sys import exit
class NetworkOfContextAutomata(object):
def __init__(self, context_automata):
self.cas = list(context_automata)
def show(self):
for ca in self.cas:
print()
ca.show()
def add(self, aut):
self.cas.append(aut)