writeMatrix(gr, "cvsExample.csv");
}
public static void writeMatrix(LearnerGraph gr, String name){
Stack<PairScore> pairScores = gr.pairscores.chooseStatePairs(GDLearnerGraph.PAIR_INCOMPATIBLE*2,10,1,null,LearnerGraphND.ignoreNone, new StateBasedRandom(new Random(1)));
ArrayList<StringVertex> vertexList = new ArrayList<StringVertex>();
DirectedSparseGraph dsg = gr.pathroutines.getGraph();
vertexList.addAll(dsg.getVertices());
writeMatrix(pairScores,vertexList,vertexList, name);
}