Menu

#23 Nested IF for MEBN CPT

closed
None
8
2012-09-14
2008-08-04
No

Change MEBN CPT pseudocode to allow nested ifs.

if any x have ( BOOLEAN_EXPRESSION1 )
if any Y have ( BOOLEAN_EXPRESSION2 ) [ TABLE1

else [
if any Z have ( BOOLEAN_EXPRESSION2 ) [ TABLE2 ]

else [ TABLE3 ]
]
] else [ TABLE4]

Discussion


Log in to post a comment.