@Test public void test() throws Exception { String args[] = {"3","2000", "5", "true"}; GenerateData.main(args); }
public static void main(String[] args) throws Exception { int numVars = Integer.parseInt(args[0]); int SAMPLESIZE = Integer.parseInt(args[1]); int NSETS = Integer.parseInt(args[2]); boolean sampleFromDBN = Boolean.parseBoolean(args[3]); if (sampleFromDBN) createDataSetsDBN(null, null, numVars, SAMPLESIZE, NSETS); else createDataSets(null, null, numVars, SAMPLESIZE, NSETS); }
GenerateData { public static void main(String[] args) throws Exception { int numVars = Integer.parseInt(args[0]); int SAMPLESIZE = Integer.parseInt(args[1]); int NSETS = Integer.parseInt(args[2]); boolean sampleFromDBN = Boolean.parseBoolean(args[3]); if (sampleFromDBN) createDataSetsDBN(null, null, numVars, SAMPLESIZE, NSETS); else createDataSets(null, null, numVars, SAMPLESIZE, NSETS); } }
GenerateData { public static void main(String[] args) throws Exception { int numVars = Integer.parseInt(args[0]); int SAMPLESIZE = Integer.parseInt(args[1]); int NSETS = Integer.parseInt(args[2]); boolean sampleFromDBN = Boolean.parseBoolean(args[3]); if (sampleFromDBN) createDataSetsDBN(null, null, numVars, SAMPLESIZE, NSETS); else createDataSets(null, null, numVars, SAMPLESIZE, NSETS); }  }
GenerateData { public static void main(String[] args) throws Exception { int numVars = Integer.parseInt(args[0]); int SAMPLESIZE = Integer.parseInt(args[1]); int NSETS = Integer.parseInt(args[2]); boolean sampleFromDBN = Boolean.parseBoolean(args[3]); if (sampleFromDBN) createDataSetsDBN(null, null, numVars, SAMPLESIZE, NSETS); else createDataSets(null, null, numVars, SAMPLESIZE, NSETS); }  static BayesianNetwork createBN(int nVars); static void createDataSets(List<String> hiddenVars, List<String> noisyVars, int numVars, int SAMPLESIZE,
                                      int NSETS); static DynamicBayesianNetwork createDBN1(int numVars); static void createDataSetsDBN(List<String> hiddenVars, List<String> noisyVars, int numVars, int SAMPLESIZE,
                                         int NSETS); static void main(String[] args); }
GenerateData { public static void main(String[] args) throws Exception { int numVars = Integer.parseInt(args[0]); int SAMPLESIZE = Integer.parseInt(args[1]); int NSETS = Integer.parseInt(args[2]); boolean sampleFromDBN = Boolean.parseBoolean(args[3]); if (sampleFromDBN) createDataSetsDBN(null, null, numVars, SAMPLESIZE, NSETS); else createDataSets(null, null, numVars, SAMPLESIZE, NSETS); }  static BayesianNetwork createBN(int nVars); static void createDataSets(List<String> hiddenVars, List<String> noisyVars, int numVars, int SAMPLESIZE,
                                      int NSETS); static DynamicBayesianNetwork createDBN1(int numVars); static void createDataSetsDBN(List<String> hiddenVars, List<String> noisyVars, int numVars, int SAMPLESIZE,
                                         int NSETS); static void main(String[] args); static int BATCHSIZE; static boolean connectDBN; }