Using control values with SMILE

The engine.
Post Reply
david_yang
Posts: 2
Joined: Wed Oct 01, 2014 7:30 pm

Using control values with SMILE

Post by david_yang »

Hi, i'm wondering how to use control values with SMILE. In the GENIE tutorial 10, it has been shown that control values can be used to model intervene to the network. However, I didn't find any method in nodeval.h or in SMILE documentation about how this operation can be conducted with SMILE. Any suggestion? Thanks a lot in advance!

David
shooltz[BayesFusion]
Site Admin
Posts: 1417
Joined: Mon Nov 26, 2007 5:51 pm

Re: Using control values with SMILE

Post by shooltz[BayesFusion] »

The methods you're looking for are defined in DSL_beliefVector class, which is dervied from DSL_nodeValue and is used for change nodes (including noisyMAX). The signatures are:

Code: Select all

	
	int ControlValue(int theValue);
	int ClearControlledValue();
	int GetControlledValue();
	int IsControlled();
	bool IsControllable();
Post Reply