DBN with SMILE

The engine.
Post Reply
sylee92
Posts: 3
Joined: Wed Jun 11, 2008 6:33 pm

DBN with SMILE

Post by sylee92 »

Hi, I try to creat a DBN with SMILE. I set temporal types and temporal arc as follows.

theDBN.SetTemporalType(umbrella, dsl_plateNode);
theDBN.SetTemporalType(rain, dsl_plateNode);
theDBN.AddTemporalArc(rain, rain, 1);

When I try to set the temporal probabilities of the CPT of rain, I got an error like "SetTemporalProbabilities is not a member of DSL_nodeDefinition." (I am using SMILE for VC 7.1 SP1).

How should i setup temporal probabilities?

Thanks,

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

Re: DBN with SMILE

Post by shooltz[BayesFusion] »

The method defined at DSL_nodeDefinition level is called SetTemporalDefinition (not SetTemporalProbabilities).

There's a method called SetTemporalProbabilities, but it's a member of DSL_cpt class. DSL_cpt is derived from DSL_nodeDefinition.
Post Reply