config.setGdScoreComputationAlgorithm(GDScoreComputationAlgorithmEnum.SCORE_RANDOMPATHS);
config.setGdScoreComputationAlgorithm_RandomWalk_NumberOfSequences(2);
config.setGdScoreComputationAlgorithm_RandomWalk_ExtraLength(0);
LearnerGraph gr=new LearnerGraph(FsmParser.buildGraph(NDGraph, "testCount_computeGraphs"), config);
GDLearnerGraph ndGraph = new GDLearnerGraph(gr,LearnerGraphND.ignoreRejectStates, true);
ndGraph.computeWalkSequences(new StateBasedRandom(new Random(80)), 1);
DetermineDiagonalAndRightHandSide matcher = ndGraph.new DDRH_BCR();
getMatcherValue(gr,ndGraph,ndGraph.matrixForward, matcher,"C","D");
Assert.assertEquals(0,matcher.getRightHandSide(),Configuration.fpAccuracy);
Assert.assertEquals(2*2,matcher.getDiagonal(),Configuration.fpAccuracy);