public final void testPrecisionRecall4()
{
LearnerGraph mach = new LearnerGraph(TestFSMAlgo.buildGraph("AM-a->BM-a->AM\nBM-b->CM-a->DM","testPrecisionRecall4"),config);
PTASequenceEngine engine = new PTA_FSMStructure(mach);
SequenceSet partialPTA = engine.new SequenceSet();partialPTA.setIdentity();
partialPTA = partialPTA.cross(TestFSMAlgo.buildSet(new String[][] {
new String[] {"a","a","a","a","b"}, new String[]{"b"}, new String[]{"a", "b", "c"}, new String[]{"a", "b", "a"}
}));
PTA_computePrecisionRecall precComputer = new PTA_computePrecisionRecall(fsm);
precComputer.crossWith(engine);
assertEquals(5, precComputer.pos_relret);assertEquals(2, precComputer.neg_relret);