/* (non-Javadoc)
* @see unbbayes.controller.INetworkMediator#evaluateNetwork()
*/
public void evaluateNetwork() {
if (singleEntityNetwork != null && singleEntityNetwork instanceof ProbabilisticNetwork) {
EvaluationController evaluationController = new EvaluationController((ProbabilisticNetwork)singleEntityNetwork);
screen.changeToPNEvaluationPane(evaluationController.getView());
} else {
JOptionPane.showMessageDialog(screen, "Evaluation can only be done in probabilistic networks.", "Evaluation Error", JOptionPane.ERROR_MESSAGE);
}
}