public void runExperiment(boolean verbose) { while (hasMoreIterations()) { try { if (verbose) { String current = "Iteration:"; if (getUsePropertyIterator()) { int cnum = getCurrentPropertyNumber(); String ctype = getPropertyArray().getClass().getComponentType() .getName(); int lastDot = ctype.lastIndexOf('.'); if (lastDot != -1) { ctype = ctype.substring(lastDot + 1); } String cname = " " + ctype + "=" + (cnum + 1) + ":" + getPropertyArrayValue(cnum).getClass().getName(); current += cname; } String dname = ((File) getDatasets().elementAt( getCurrentDatasetNumber())).getName(); current += " Dataset=" + dname + " Run=" + (getCurrentRunNumber()); System.out.println(current); } nextIteration(); } catch (Exception ex) { ex.printStackTrace(); System.err.println(ex.getMessage()); advanceCounters(); // Try to keep plowing through } } }
public void runExperiment(boolean verbose) { while (hasMoreIterations()) { try { if (verbose) { String current = "Iteration:"; if (getUsePropertyIterator()) { int cnum = getCurrentPropertyNumber(); String ctype = getPropertyArray().getClass().getComponentType() .getName(); int lastDot = ctype.lastIndexOf('.'); if (lastDot != -1) { ctype = ctype.substring(lastDot + 1); } String cname = " " + ctype + "=" + (cnum + 1) + ":" + getPropertyArrayValue(cnum).getClass().getName(); current += cname; } String dname = ((File) getDatasets().elementAt( getCurrentDatasetNumber())).getName(); current += " Dataset=" + dname + " Run=" + (getCurrentRunNumber()); System.out.println(current); } nextIteration(); } catch (Exception ex) { ex.printStackTrace(); System.err.println(ex.getMessage()); advanceCounters(); // Try to keep plowing through } } }
+ m_ExpCopy.getPropertyArrayValue(cnum).getClass().getName(); current += cname;
+ m_ExpCopy.getPropertyArrayValue(cnum).getClass().getName(); current += cname;
.getName(); } else if (getSplitByProperty()) { subTaskType = "property: " + m_subExperiments[wexp].getPropertyArrayValue(0).getClass().getName() + " :" + m_subExperiments[wexp].getPropertyArrayValue(0); } else { subTaskType = "run: " + m_subExperiments[wexp].getRunLower();
.getName(); } else if (getSplitByProperty()) { subTaskType = "property: " + m_subExperiments[wexp].getPropertyArrayValue(0).getClass().getName() + " :" + m_subExperiments[wexp].getPropertyArrayValue(0); } else { subTaskType = "run: " + m_subExperiments[wexp].getRunLower();
m_subExperiments[i] = (Experiment) so.getObject(); Object[] a = new Object[1]; a[0] = m_baseExperiment.getPropertyArrayValue(i); m_subExperiments[i].setPropertyArray(a); m_subExpQueue.push(new Integer(i));
m_subExperiments[i] = (Experiment) so.getObject(); Object[] a = new Object[1]; a[0] = m_baseExperiment.getPropertyArrayValue(i); m_subExperiments[i].setPropertyArray(a); m_subExpQueue.push(new Integer(i));