开发者

Algorithm to represent Decision tables

开发者 https://www.devze.com 2023-01-01 06:22 出处:网络
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? Wh开发

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? Wh开发者_StackOverflow中文版at other choices to I have?


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消