netWindow.setMode(NetworkWindow.PN_MODE);
netWindow.changeToPNCompilationPane();
netWindow.setVisible(false);
// add listener to update compilation tree on propagate
algorithm.addInferencceAlgorithmListener(new IInferenceAlgorithmListener() {
public void onBeforeRun(IInferenceAlgorithm algorithm) {}
public void onBeforeReset(IInferenceAlgorithm algorithm) {}
public void onBeforePropagate(IInferenceAlgorithm algorithm) {}
public void onAfterRun(IInferenceAlgorithm algorithm) {}
public void onAfterReset(IInferenceAlgorithm algorithm) {}