ArshPelia / Budgeting-Expert-System

0 stars 0 forks source link

implement stack structure #5

Closed ArshPelia closed 1 year ago

ArshPelia commented 1 year ago

also add stack:

In such systems, the stack can be used to store the intermediate results of inferences made during the forward chaining process, where rules are applied to the facts in the knowledge base to draw conclusions. The stack can also be used to store the intermediate state of the system when performing backward chaining, where the system starts with a goal and works backwards to find the necessary facts or rules to support the goal.