adding support for network of automata...
This commit is contained in:
14
rs/network_of_context_automata.py
Normal file
14
rs/network_of_context_automata.py
Normal 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)
|
||||
Reference in New Issue
Block a user