Package org.jamesii.resultreport

Examples of org.jamesii.resultreport.ResultReport


  /**
   * Generates the report.
   */
  public void generateReport() {
    ResultReport report = generateReportElements();
    IResultReportRenderer renderer = configureRenderer();
    try {
      if (Files.makeDirectory(targetDirectory)) {
        (new ResultReportGenerator()).generateReport(report, renderer,
            targetDirectory);
View Full Code Here


   * Generates the report parts for all elements.
   *
   * @return the complete result report
   */
  protected ResultReport generateReportElements() {
    ResultReport report = new ResultReport(reportName, reportDescription);
    for (IExperimentReportElement reportElement : reportElements) {
      reportElement.executeExperiment();
      // TODO: Implement graceful failure handling and dependencies
      // between report elements
      if (reportElement.isSuccessful()) {
        ResultReportSection perfByModelHeading =
            reportElement.createReportSection();
        report.addSection(perfByModelHeading);
      } else {
        SimSystem.report(Level.SEVERE,
            "Report element '" + reportElement.toString()
                + "' did not execute succesfully.");
      }
View Full Code Here

   * Sets the test up.
   */
  @Override
  public void setUp() {
    renderer = new RTexResultReportRenderer();
    report = new ResultReport("Test Report", "This is a simple test report.");
    generator = new ResultReportGenerator();
  }
View Full Code Here

   *
   * @throws IOException
   *           Signals that an I/O exception has occurred.
   */
  public void testTutorialReport() throws IOException {
    ResultReport tutorialReport =
        new ResultReport("Test Report 2", "This is a simple test report.");
    ResultReportSection testSection =
        new ResultReportSection("Test Section", "This is a test section.");
    tutorialReport.addSection(testSection);

    testSection.addDataView(new ScatterPlotDataView(new Double[][] {
        testData[0], testData[3] }, "The scatter plot data view.",
        "This is a title for the scatter plot", new String[] { "Bogus X Label",
            "Bogus Y Label" }));
View Full Code Here

   *
   * @param ilsObserver
   *          the observer
   */
  private void createReport(ParamILSObserver ilsObserver) {
    ResultReport paramILSReport =
        new ResultReport(getReportName(), "Performance results for ParamILS.");
    ResultReportSection testSection = new ResultReportSection("ParamILS", "");
    paramILSReport.addSection(testSection);

    reportLastMinimum(testSection, ilsObserver);
    reportMinDataPlot(testSection, ilsObserver);
    reportHillClimbingPerformancePlot(testSection, ilsObserver);
    reportMinThetas(testSection, ilsObserver);
View Full Code Here

TOP

Related Classes of org.jamesii.resultreport.ResultReport

Copyright © 2018 www.massapicom. 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.