Hi,
I am using JSMILE and when i try to use setContEvidence for the nodes which have parents then it halts the program, but if node does not have parents then it works fine. I have experienced the same problem using Genie tool.
Is it a bug in JSMILE?
Regards,
khurram
Creation of Equation Nodes, problem with setContEvidence
-
- Site Admin
- Posts: 1417
- Joined: Mon Nov 26, 2007 5:51 pm
Re: Creation of Equation Nodes, problem with setContEvidence
By 'it halts the program', you mean the JVM crash or SMILEException thrown?khurrams wrote:I am using JSMILE and when i try to use setContEvidence for the nodes which have parents then it halts the program, but if node does not have parents then it works fine.
Re: Creation of Equation Nodes, problem with setContEvidence
I mean JVM crashes... no exception thrown.
I have also noticed that if the node has some concrete value then evidence does not have any effect, this is understandable but It would be nice if we get some kind of warning for conflicting evidences.
regards,
khurram
I have also noticed that if the node has some concrete value then evidence does not have any effect, this is understandable but It would be nice if we get some kind of warning for conflicting evidences.
regards,
khurram
-
- Site Admin
- Posts: 1417
- Joined: Mon Nov 26, 2007 5:51 pm
Re: Creation of Equation Nodes, problem with setContEvidence
Can you post your code and network here so we can investigate the issue?
Re: Creation of Equation Nodes, problem with setContEvidence
Hi,
I have attachted geine file which contains 4 nodes and if we try to set evidence on node C.C2 then program will crash.
Please have a look.
Regards,
Khurram
I have attachted geine file which contains 4 nodes and if we try to set evidence on node C.C2 then program will crash.
Please have a look.
Regards,
Khurram
- Attachments
-
- latest.iPrm_continuous.xdsl
- (1.64 KiB) Downloaded 268 times
-
- Site Admin
- Posts: 1417
- Joined: Mon Nov 26, 2007 5:51 pm
Re: Creation of Equation Nodes, problem with setContEvidence
I confirm the issue, but I'm getting an infinite loop, not the crash. What's the value you're using for evidence?
Re: Creation of Equation Nodes, problem with setContEvidence
Any double value...
Regards,
Khurram
Regards,
Khurram