Search found 19 matches

by musicpxg
Tue Apr 15, 2014 8:17 am
Forum: SMILE
Topic: How to combine two BBNs
Replies: 2
Views: 4494

How to combine two BBNs

Hi, Given two instantiated objects of smile.Networks, i.e. net_a and net_b, can we make an arc from one node in net_a to net_b, and then update the network? If not, is there any alternative method to achieve the same goal? I just want to update beliefs on the basis of two BBNs. It is not allowed to ...
by musicpxg
Sat Mar 29, 2014 8:04 am
Forum: SMILE
Topic: How to change the Userproperties
Replies: 1
Views: 2859

How to change the Userproperties

Hi, I am using the Jsmile. I want to change the value of a node user property, using the following codes. It doesn't work. smile.UserProperty[] nodeproperty = net.getNodeUserProperties(handleID); for (int i1 = 0; i1 < nodeproperty.length; i1++) { if (nodeproperty[i1].name.equals("Get_evidence_f...
by musicpxg
Mon Feb 18, 2013 12:40 am
Forum: SMILE
Topic: How to read file from database?
Replies: 7
Views: 6997

Re: How to read file from database?

Hi Martijn, Thank you very much! I think your suggestions are right. If SMILE only have the readfile() function to obtain XDSL file, it is a good idea to save a temp file and then use readfile(); Actually, I wanted to use database to save hundreds of XSDL files to improve computing performance and r...
by musicpxg
Sun Feb 17, 2013 4:29 pm
Forum: SMILE
Topic: How to read file from database?
Replies: 7
Views: 6997

How to read file from database?

I want to save and read XSDL file to/from database. Is it possible?
Smile introduces readfile() to load XSDL file from disk. How can it read from a database? Is there any other readfile function available?

Thank you very much!