public final void testPrecisionRecall_ign1() // long test sequence (which exists) which is rejected part-way, but first element of it is ignored.
{
LearnerGraph mach = new LearnerGraph(TestFSMAlgo.buildGraph("AM-a->AM-b->AM-c->AM","testPrecisionRecall_ign1"),config);
PTASequenceEngine engine = new PTA_FSMStructure(mach);
SequenceSet partialPTA = engine.new SequenceSet();partialPTA.setIdentity();
partialPTA = partialPTA.cross(TestFSMAlgo.buildSet(new String[][] {
new String[] {"a"},
}));
PTA_computePrecisionRecall precComputer = new PTA_computePrecisionRecall(fsm);
precComputer.crossWith(engine);
engine = new PTA_FSMStructure(mach);
partialPTA = engine.new SequenceSet();partialPTA.setIdentity();
partialPTA = partialPTA.cross(TestFSMAlgo.buildSet(new String[][] {
new String[] {"a","b","b","c","c"},
}));
precComputer.crossWith(engine);
assertEquals(1, precComputer.pos_relret);assertEquals(0, precComputer.neg_relret);
assertEquals(4, precComputer.pos_Rel);assertEquals(0, precComputer.neg_Rel);