I need help to write two rules, that add and remove values from queue. Rule that removes value from queue must use forall
structure.
As far as I know, CLIPS does not have arrays, stack, lists or any other type of collections. So I have started with defining template queue
with a slot item
, that should represent value of a queue, but have not succeeded with the rules. Does anyone have any idea how this can be done?