*/
@Test
public void testPredictTransitionsFromStatesWithPathBeyondCurrentState4()
{
final LearnerGraph graph = FsmParser.buildLearnerGraph("A-a->B-b->C / B-u-#D / A-c->E-u->F / E-c->G","testUpdateMarkovSideways3",config, converter);
MarkovModel m = new MarkovModel(2,true,true);
new MarkovClassifier(m,graph).updateMarkov(true);
Assert.assertEquals(4,m.predictionsMatrix.size());
final LearnerGraph graph2 = FsmParser.buildLearnerGraph("A-d->B / A-c->A/ T-u->T-b->T","testPredictTransitionsFromStatesForward2",config, converter);
Map<Label,MarkovOutcome> outgoing_labels_probabilities=new MarkovClassifier(m, graph2).predictTransitionsFromState(graph2.findVertex("B"),Arrays.asList(new Label[]{lblA}),m.getChunkLen(),null);
Assert.assertEquals(2,outgoing_labels_probabilities.size());
Assert.assertEquals(MarkovOutcome.negative,outgoing_labels_probabilities.get(lblU));
Assert.assertEquals(MarkovOutcome.positive,outgoing_labels_probabilities.get(lblB));
}