- marked as critical
Decision node appears as having imposed policy after editing its domain
Issue #208
resolved
If the user has an influence diagram, modifies the domain of a decision variable (for example, adding a state), saves the network, closes it, and opens it again, then the GUI will show the edited decision node as having an imposed policy.
Comments (4)
-
reporter -
-
assigned issue to
-
assigned issue to
-
Issue
#152was marked as a duplicate of this issue. -
- changed status to resolved
There has been modified (with the help of Jorge Pérez) in the NodeStateEdit class of the org.openmarkov.core.action the 'Add' and 'Remove' branches of the case statement. The code was assigning uniform potentials also to Decision variables. An 'if' clause has been added for this not to happen.
- Log in to comment
I think this issue is critical because if the user does not want to have imposed policies on decisions, then the GUI should guarantee that before calling the inference algorithm. Otherwise, the results obtained from the inference may be completely wrong. And a very important note: Remember that "having no imposed on a decision node" is not the same as "having a uniform policy imposed".