System.out.println("test_JT");
pn.setCreateLog(false);
long time = System.nanoTime();
IInferenceAlgorithm algorithm = new JunctionTreeAlgorithm();
algorithm.setNetwork(pn);
algorithm.run();
System.out.println("compileJT: " + (System.nanoTime()- time) + " nano sec");
// insert evidence (finding)
// int indexFirstNode = 0;
// ProbabilisticNode findingNode = (ProbabilisticNode)pn.getNodes().get(indexFirstNode);
// int indexFirstState = 0;