innerLearner = new ErlangOracleLearner(ErlangOracleVisualiser.this, conf);
} else {
innerLearner = new ErlangOracleLearner(ErlangOracleVisualiser.this, conf);// at this point ifthenSequences will always be null.
}
innerLearner.addObserver(ErlangOracleVisualiser.this);
Learner mainDecorator = new AutoAnswers(innerLearner);
if (conf.labelDetails != null) {
mainDecorator = new SmtLearnerDecorator(mainDecorator, conf.labelDetails);
}
if (whomToNotify != null) {
whomToNotify.threadStarted();
}
LearnerGraph initGraph = mainDecorator.init(sPlus, sMinus);
initGraph.getLayoutOptions().showNegatives = false;
LearnerGraph graph = mainDecorator.learnMachine();
if (graph != null) {
DirectedSparseGraph learnt = graph.pathroutines.getGraph();
if (conf.config.isGenerateTextOutput()) {
OutputUtil.generateTextOutput(learnt, "textOutput.txt");
}