I’ve been looking for a correct solution to characterize the above information circulate (that is only a small case), and I am undecided if I discovered a great way to do it. Our present implementation simply consider all of the earlier information like:
(if consumer.isMarried && consumer.age > 23 & ....), so may be very onerous to take care of.
Mainly, what I would like is a solution to calculate the subsequent step based mostly on present enter and former circumstances. I have been fascinated with a finite state machine, however my essential challenge is that it’s going to not solely depend upon the enter, however earlier information already answered.
It additionally got here to my thoughts utilizing one thing like a choice tree, however I am unable to characterize it correctly. Any gentle on the topic can be actually appreciated.
Notice: Verify that the clean questions would not depend upon the enter, however on earlier solutions (married or not).