Examples of plot()


Examples of flanagan.plot.PlotGraph.plot()

                int[] lopt = {0,3};
                pg.setLine(lopt);

                if(weightOpt)pg.setErrorBars(0,this.weight);

                pg.plot();
          }
      }
        return flag;
  }
View Full Code Here

Examples of gem.util.Histogram2D.plot()

        else if (t.M.status[i] == PRESENT)
          h2.count(t.F.value[i], t.T.value[i]);
      }

      h1.plot(false);
      h2.plot(true);
    }
  }

  private static void printFTEffect()
  {
View Full Code Here

Examples of gem.util.Histogram2D.plot()

      double gamma = Difference.calcGamma(t);
      double support = Difference.getGammaSupport(t.cnt, true);
      h.count(gamma, (2 * support) - 1);
    }
    h.takeLog();
    h.plot();
  }

  public static void printSymInFile()
  {
    Set<String> set = Triplet.readGeneIDs("resource/factor-trips/AR.txt");
View Full Code Here

Examples of jsprit.analysis.toolbox.Plotter.plot()

     * Finally, the problem can be built. By default, transportCosts are crowFlyDistances (as usually used for vrp-instances).
     */
    VehicleRoutingProblem vrp = vrpBuilder.build();
   
    Plotter pblmPlotter = new Plotter(vrp);
    pblmPlotter.plot("output/solomon_C101_specifiedVehicleEndLocations.png","C101");
   
    /*
     * Define the required vehicle-routing algorithms to solve the above problem.
     *
     * The algorithm can be defined and configured in an xml-file.
View Full Code Here

Examples of jsprit.analysis.toolbox.Plotter.plot()

    /*
     * Plot solution.
     */
//    SolutionPlotter.plotSolutionAsPNG(vrp, solution, "output/solomon_C101_specifiedVehicleEndLocations_solution.png","C101");
    Plotter solPlotter = new Plotter(vrp, solution);
    solPlotter.plot("output/solomon_C101_specifiedVehicleEndLocations_solution.png","C101");
   
   
    new GraphStreamViewer(vrp, solution).setRenderDelay(50).labelWith(Label.ID).setEnableAutoLayout(true).display();
 
   
View Full Code Here

Examples of jsprit.analysis.toolbox.Plotter.plot()

    /*
     * Plot solution.
     */
    Plotter plotter = new Plotter(vrp,solution);
//    plotter.setBoundingBox(30, 0, 50, 20);
    plotter.plot("output/solomon_C101_solution.png", "C101");

    new GraphStreamViewer(vrp,solution).setCameraView(30, 30, 0.25).labelWith(Label.ID).setRenderDelay(100).display();
   
  }

View Full Code Here

Examples of jsprit.analysis.toolbox.Plotter.plot()

     * Plot solution.
     */
//    SolutionPlotter.plotSolutionAsPNG(vrp, solution, "output/pd_solomon_r101_solution.png","pd_r101");
    Plotter plotter = new Plotter(vrp, solution);
    plotter.setLabel(Label.SIZE);
    plotter.plot("output/pd_solomon_r101_solution.png","pd_r101");

        //some stats
        SolutionAnalyser analyser = new SolutionAnalyser(vrp,solution,new SolutionAnalyser.DistanceCalculator() {

            @Override
View Full Code Here

Examples of jsprit.analysis.toolbox.Plotter.plot()

     * Plot solution.
     */
//    SolutionPlotter.plotSolutionAsPNG(vrp, solution, "output/pd_solomon_r101_solution.png","pd_r101");
    Plotter plotter = new Plotter(vrp, solution);
    plotter.setLabel(Label.SIZE);
    plotter.plot("output/pd_solomon_r101_solution_open.png","pd_r101");
 
   
   
  }

View Full Code Here

Examples of jsprit.analysis.toolbox.Plotter.plot()

    /*
     * plot problem without solution
     */
    Plotter problemPlotter = new Plotter(problem);
    problemPlotter.plotShipments(true);
    problemPlotter.plot("output/simpleEnRoutePickupAndDeliveryExample_problem.png", "en-route pickup and delivery");
   
    /*
     * plot problem with solution
     */
    Plotter solutionPlotter = new Plotter(problem,Arrays.asList(Solutions.bestOf(solutions).getRoutes().iterator().next()));
View Full Code Here

Examples of jsprit.analysis.toolbox.Plotter.plot()

    /*
     * plot problem with solution
     */
    Plotter solutionPlotter = new Plotter(problem,Arrays.asList(Solutions.bestOf(solutions).getRoutes().iterator().next()));
    solutionPlotter.plotShipments(true);
    solutionPlotter.plot("output/simpleEnRoutePickupAndDeliveryExample_solution.png", "en-route pickup and delivery");
   
    new GraphStreamViewer(problem).setRenderShipments(true).display();
   
  }

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.