@Test public void test() throws Exception { BayesianNetworkIOExample.main(null); }
public static void main(String[] args) throws Exception { BayesianNetwork bn = BayesianNetworkLoader.loadFromFile("./networks/simulated/WasteIncinerator.bn"); System.out.println(bn.toString()); bn.randomInitialization(new Random(0)); BayesianNetworkWriter.save(bn, "networks/simulated/tmp.bn"); }
BayesianNetworkIOExample { public static void main(String[] args) throws Exception { BayesianNetwork bn = BayesianNetworkLoader.loadFromFile("./networks/simulated/WasteIncinerator.bn"); System.out.println(bn.toString()); bn.randomInitialization(new Random(0)); BayesianNetworkWriter.save(bn, "networks/simulated/tmp.bn"); } }
BayesianNetworkIOExample { public static void main(String[] args) throws Exception { BayesianNetwork bn = BayesianNetworkLoader.loadFromFile("./networks/simulated/WasteIncinerator.bn"); System.out.println(bn.toString()); bn.randomInitialization(new Random(0)); BayesianNetworkWriter.save(bn, "networks/simulated/tmp.bn"); }  }
BayesianNetworkIOExample { public static void main(String[] args) throws Exception { BayesianNetwork bn = BayesianNetworkLoader.loadFromFile("./networks/simulated/WasteIncinerator.bn"); System.out.println(bn.toString()); bn.randomInitialization(new Random(0)); BayesianNetworkWriter.save(bn, "networks/simulated/tmp.bn"); }  static void main(String[] args); }
BayesianNetworkIOExample { public static void main(String[] args) throws Exception { BayesianNetwork bn = BayesianNetworkLoader.loadFromFile("./networks/simulated/WasteIncinerator.bn"); System.out.println(bn.toString()); bn.randomInitialization(new Random(0)); BayesianNetworkWriter.save(bn, "networks/simulated/tmp.bn"); }  static void main(String[] args);  }