DecisionProgramming.jl icon indicating copy to clipboard operation
DecisionProgramming.jl copied to clipboard

Single state decision/chance nodes

Open jdelab1 opened this issue 3 years ago • 1 comments

Currently, the package doesn't allow the creation of chances of decision nodes with a single state

ERROR: DomainError with Each chance and decision node should have more than one state.

This can be useful in some cases, e.g., having a degenerate chance node to simulate different scenarios in parallel. I think it can be useful to just show a warning instead of stopping the code when this situation occurs.

jdelab1 avatar Nov 09 '22 15:11 jdelab1

Limitation removed in orderredict pull request

esahon avatar Jul 03 '24 08:07 esahon

v 2.0.0 contains a fix that enables single state nodes

toubinaattori avatar Sep 04 '24 08:09 toubinaattori