Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Algorithm to represent Decision tables

What would be the best algorithm to use if you wanted to store Decision tables in code, i've looked at the Adjacency matrix and Binary tree would anyone consider this to be the right direction? What other choices to I have?

like image 966
driveBy Avatar asked Jun 01 '26 17:06

driveBy


1 Answers

If your focus is on space (for very large decision tables), you might want to consider applying Binary Decision Diagrams (BDDs). However, the canonical form would not tell you what action to take, just provide true/false answers for a large "input" of boolean input variables. This is less powerful than a decision table but very useful for certain applications.

like image 131
Uri Avatar answered Jun 04 '26 07:06

Uri



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!