#7 Error when calling "CPearlInfEngine::Create"

open
nobody
None
5
2005-08-17
2005-08-17
Anonymous
No

I am using PNL snapshot 2.0 on Windows.

I have been successful in using the library to create a
Bayes Net which is a DAG and topologically sorted and
also passes the CPearlInfEngine::IsInputModelValid
test. However, when I call

// Initialzed a valid bayes net pointed to by CBNet *myBNet
CPearlInfEngine::Create( myBNet )

I get the following RUNTIME error:

An unhandled exception of type
'System.Runtime.InteropServices.SEHException' occurred
in curis.exe

Additional information: External component has thrown
an exception.

Any ways I can fix this?

Thanks

chaitue@gmail.com

Discussion

  • Logged In: YES
    user_id=194612

    Could you please post the code for creating the myBNet
    (does not have to compile, just to get a quick idea)