public final void testCountMatchingOutgoing5b()
{
Configuration config = (Configuration)Configuration.getDefaultConfiguration().clone();
LearnerGraph gr=new LearnerGraph(TestFSMAlgo.buildGraph("A-a-#B\nA-b-#B1\nA-c->C\nQ-a->R\nQ-b->S", "testCountMatchingOutgoing1"), config);
gr.linear.moveRejectToHightlight();
DetermineDiagonalAndRightHandSide matcher = new Linear.DDRH_highlight();
matcher.compute(gr.transitionMatrix.get(gr.findVertex("A")),gr.transitionMatrix.get(gr.findVertex("C")));
Assert.assertEquals(0,matcher.getRightHandSide());
matcher.compute(gr.transitionMatrix.get(gr.findVertex("S")),gr.transitionMatrix.get(gr.findVertex("C")));
Assert.assertEquals(0,matcher.getRightHandSide());
matcher.compute(gr.transitionMatrix.get(gr.findVertex("C")),gr.transitionMatrix.get(gr.findVertex("A")));
Assert.assertEquals(0,matcher.getRightHandSide());
matcher.compute(gr.transitionMatrix.get(gr.findVertex("C")),gr.transitionMatrix.get(gr.findVertex("S")));
Assert.assertEquals(0,matcher.getRightHandSide());
}