Testing decision tree and strategy tree

Issue #372 resolved
Manuel Luque created an issue

After Jorge and I have been talking, it would be interesting to have following auxiliary methods for tests:

In a decision tree, verify that (1) in every decision node the expected utility (EU) is the max of the EU of the children, and (2) in every chance node the EU is the weighted sum (of the probabilities and utilities) of the children.

Create some helping data structure to specify the strategy tree that the user would expect to obtain when calling the inference. Use it to test the inference of some important networks like for example Mediastinet.

Comments (2)

  1. Log in to comment