Fixed #12: Events callbacks are duplicated

Fixed #11: Give order to services
Fixed #10: Give order to services
Fixed #8: ExpressionParser now supports 'not'
Fixed #7: Implement first version of execution rule engine
This commit is contained in:
2021-02-09 16:16:19 +01:00
parent a2a8d5c5e5
commit 3a12ea58df
+1
View File
@@ -35,6 +35,7 @@ class ReteNetwork:
""" """
def __init__(self): def __init__(self):
self.alpha_hash: Dict[Tuple[Hashable, Hashable, Hashable], List[AlphaMemory]] = {} self.alpha_hash: Dict[Tuple[Hashable, Hashable, Hashable], List[AlphaMemory]] = {}
self.beta_root = ReteNode() self.beta_root = ReteNode()
self.pnodes: List[PNode] = [] # list of all production nodes self.pnodes: List[PNode] = [] # list of all production nodes