/*
* (non-Javadoc)
* @see unbbayes.util.extension.bn.inference.ICompilationPanelBuilder#buildCompilationPanel(unbbayes.util.extension.bn.inference.IInferenceAlgorithm, unbbayes.controller.INetworkMediator)
*/
public JComponent buildCompilationPanel(IInferenceAlgorithm algorithm, INetworkMediator mediator) {
netWindow = new NetworkWindow((SingleEntityNetwork) algorithm.getNetwork());
netWindow.getController().setInferenceAlgorithm(algorithm);
netWindow.getController().setSingleEntityNetwork((SingleEntityNetwork) algorithm.getNetwork());
netWindow.setVisible(false);
//change to PNCompilationPane;