config.setGdScoreComputationAlgorithm_RandomWalk_PathLength(4);
LearnerGraph gr=buildLearnerGraph(NDGraph, "testCount_computeGraphs", config,converter);
GDLearnerGraph ndGraph = new GDLearnerGraph(gr,LearnerGraphND.ignoreRejectStates, true);
ndGraph.computeWalkSequences(new StateBasedRandom(80), 1);
DetermineDiagonalAndRightHandSide matcher = ndGraph.new DDRH_BCR();
getMatcherValue(gr,ndGraph,ndGraph.matrixForward, matcher,"C","D");
Assert.assertEquals(4.76190476190,matcher.getRightHandSide(),Configuration.fpAccuracy);
Assert.assertEquals(2*2,matcher.getDiagonal(),Configuration.fpAccuracy);
getMatcherValue(gr,ndGraph,ndGraph.matrixForward, matcher,"E","B");
Assert.assertEquals(6.374807987711213,matcher.getRightHandSide(),Configuration.fpAccuracy);
Assert.assertEquals(2*2,matcher.getDiagonal(),Configuration.fpAccuracy);
}