Common features between Knowledge Struture and Belief Structure for V, Theta, manager and pointed
@@ -256,9 +256,9 @@ class Structure(metaclass=ABCMeta):
"""
assertisinstance(v,list),f"vocabulary need to be a list of str, not {type(v).__name__}"
assertisinstance(theta,Formula)orisinstance(theta,RealFunction),f"state_law need to be a Formula or a RealFunction, not {type(pointed).__name__}"
assertisinstance(theta,Formula)orisinstance(theta,PseudoBooleanFunction),f"state_law need to be a Formula or a PseudoBooleanFunction, not {type(pointed).__name__}"
assertisinstance(pointed,list),f"Pointed need to be a list of str, not {type(pointed).__name__}"
assertisinstance(manager,RealFunctionManager),f"Manager need to be a Manager, not {type(pointed).__name__}"
assertisinstance(manager,PseudoBooleanFunctionManager),f"Manager need to be a Manager, not {type(pointed).__name__}"
assertisinstance(nb_apply,int),f"nb_apply need to be an int, not {type(pointed).__name__}"
self.nb_apply=nb_apply
@@ -527,7 +527,7 @@ class Structure(metaclass=ABCMeta):