StatesToConsider filter = TestLearnerGraphND.createInstanceOfFilter(filterClass, gr);
double score_CC=1./2,score_BB=(2+score_CC*k)/4, score_AA=(1+k*score_BB)/2;
{
GDLearnerGraph ndGraph = new GDLearnerGraph(gr,LearnerGraphND.ignoreNone, false);
LSolver solver = ndGraph.buildMatrix(threadNumber);
DoubleMatrix2D Ax=solver.toDoubleMatrix2D();
Assert.assertEquals(6,Ax.columns());
}
Set<PairScore> pairsSet = addAllPermutations(gr.pairscores.chooseStatePairs(PAIR_INCOMPATIBLE*2,10,threadNumber,null,filter, new NonRandomRandom()));
Set<PairScore> exp = addAllPermutations(Arrays.asList(new PairScore[]{
new PairScore(gr.findVertex("A"),gr.findVertex("A"),(int)(10*score_AA),1),