How to set temporal probability matrix

The engine.
Post Reply
petcai
Posts: 20
Joined: Fri Nov 01, 2013 1:22 am

How to set temporal probability matrix

Post by petcai » Fri Nov 22, 2013 12:49 am

How can you set temporal probability when a node has a temporal arc to another node? I can see the node definition has a method call SetTemporalDefinition. It takes order and double array as parameters which seems only work for temporal arc to the node itself. Thanks.

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

Re: How to set temporal probability matrix

Post by shooltz[BayesFusion] » Fri Nov 22, 2013 2:21 pm

petcai wrote:How can you set temporal probability when a node has a temporal arc to another node? I can see the node definition has a method call SetTemporalDefinition. It takes order and double array as parameters which seems only work for temporal arc to the node itself. Thanks.
It should work for all types of temporal arcs. If you experience further problems, cast the definition to DSL_cpt and use one of its SetTemporalProbabilities methods.

Post Reply