* Driver for testing this parser
* @param args
*/
public static void main(String[] args) {
XmlBifReader r = new XmlBifReader();
XmlBifWriter w = new XmlBifWriter();
try {
BeliefNetwork bn = r.load(
new FileInputStream("examples/sprinkler.xml"));
System.out.println("----------------------------------");
w.save(System.out, bn);
} catch (Exception e) {
e.printStackTrace();
}
}