//l.setCertaintyThreshold(5);
testConfig.setLearnerIdMode(IDMode.POSITIVE_NEGATIVE);
LearnerGraph learntStructureA = new LearnerGraph(l.learnMachine(buildSet(plus,testConfig,getLabelConverter()), buildSet(minus,testConfig,getLabelConverter())),expected.config);
// Now do the same with ptasets instead of real sets
PTASequenceSet plusPTA = new PTASequenceSet();plusPTA.addAll(buildSet(plus,testConfig,getLabelConverter()));PTASequenceSet minusPTA = new PTASequenceSet();minusPTA.addAll(buildSet(minus,testConfig,getLabelConverter()));
LearnerGraph learntStructureB = new LearnerGraph(l.learnMachine(plusPTA, minusPTA),expected.config);
Assert.assertNull(WMethod.checkM(learntStructureA, learntStructureB));
LearnerGraph learntMachineNoRejects = new LearnerGraph(expected.config);
AbstractPathRoutines.removeRejectStates(learntStructureA,learntMachineNoRejects);
Assert.assertNull(WMethod.checkM(learntMachineNoRejects, expected));
}