WIP: DATA Représentation Dilemna: Client <vs> XML Initial commit

This commit is contained in:
Jean Sirmai 2021-12-20 22:00:16 +01:00
parent f230ad3a73
commit 5a52450ae1
Signed by: jean
GPG Key ID: FB3115C340E057E3
3 changed files with 7 additions and 5 deletions

View File

@ -446,7 +446,9 @@ class Model:
self.__transitions = child
def get_space(self, space_id, x_val, site_val):
return testmodel.get_states().get_space(space_id).get_weight(x_val, site_val)
pass
# return testmodel.get_states().get_space(space_id).
# get_weight(x_val, site_val)
def get_identity(self):
return Identity(self.__identity)

View File

@ -101,6 +101,7 @@ with open('input.txt', 'r') as f:
##
testmodel.get_states().get_space(space_id).
print("\n*** Conditions tree ***")
print(type(model.testmodel.get_conditions()))

View File

@ -47,4 +47,3 @@ for k in range(0, size + 1):
print(k + 1, end=' ' + ' ' * sites * 2)
print('\n', end="")