final LearnerGraph graph = FsmParser.buildLearnerGraph("A-a->B / A-c->B / B-d-#F / T-b->T-u->T-d->T","testCheckFanoutInconsistency1f",config, converter);
Configuration shallowCopy = graph.config.copy();shallowCopy.setLearnerCloneGraph(false);
LearnerGraphND Inverse_Graph = new LearnerGraphND(shallowCopy);
AbstractPathRoutines.buildInverse(graph,LearnerGraphND.ignoreNone,Inverse_Graph); // do the inverse to the tentative graph
Assert.assertEquals(1,m.checkFanoutInconsistency(Inverse_Graph,true,graph,graph.findVertex("B"),m.getChunkLen(), new MarkovUniversalLearner.DifferentPredictionsInconsistency()));
Assert.assertEquals(4.,MarkovUniversalLearner.computeInconsistency(graph, true, m, new MarkovUniversalLearner.DifferentPredictionsInconsistency(),false),Configuration.fpAccuracy);// inconsistencies detected are mostly due to state T
}
/** Two inconsistencies, transition u and transition b which should not exist after c. */