Examples of StateBasedRandom


Examples of statechum.analysis.learning.rpnicore.GDLearnerGraph.StateBasedRandom

    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);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.