int ptaSize = sMinus.numberOfLeafNodes();
l.init(sMinus, ptaSize,ptaSize);// our imaginary positives are prefixes of negatives.
DirectedSparseGraph learningOutcome = l.learnMachine();
l.setQuestionCounter(0);
LearnerGraph learned = new LearnerGraph(learningOutcome,config);
PTA_computePrecisionRecall precRec = new PTA_computePrecisionRecall(learned);
PTASequenceEngine engine = new PTA_FSMStructure(graph);
precRec.crossWith(sMinus);
SequenceSet ptaTestSet = engine.new SequenceSet();ptaTestSet.setIdentity();
ptaTestSet = ptaTestSet.cross(graph.wmethod.getFullTestSet(1));
PosNegPrecisionRecall prNeg = precRec.crossWith(engine);
System.out.println("pre: "+prNeg.getPrecision()+" rec: "+prNeg.getRecall());
/*
LearnerGraph.testMode=true;
StatePair p = new StatePair(graph.findVertex("P1062"),graph.findVertex("P1153"));
System.out.println("score: "+graph.pairscores.computePairCompatibilityScore(p));