Fork me on GitHub
#clara
<
2017-09-22
>
dadair00:09:36

Do facts inserted by rules with accumulators in the LHS observe truth maintenance retractions if the accumulator changes? i.e., if I have a max accumulator, and 5 facts are inserted, will the RHS facts be retracted for the four facts that aren't the max?

wparker14:09:08

@U0E2EQFME: Yes, accumulator conditions will adjust as necessary to respect truth maintenance. This test is a concrete example: https://github.com/cerner/clara-rules/blob/master/src/test/common/clara/test_accumulation.cljc#L1102

dadair17:09:53

awesome thanks!