1
0
Fork 0
mirror of https://github.com/graphhopper/jsprit.git synced 2020-01-24 07:45:05 +01:00

create new plotter - with more options compared to static

solutionPlotter
This commit is contained in:
Stefan Schroeder 2013-08-28 18:21:36 +02:00
parent 99e8f7a385
commit a66be4bd0a

View file

@ -0,0 +1,43 @@
package analysis;
import basics.VehicleRoutingProblem;
import basics.VehicleRoutingProblemSolution;
public class Plotter {
public static enum Label {
ID, SIZE, NO_LABEL
}
private boolean showFirstActivity = true;
private Label label = Label.SIZE;
private VehicleRoutingProblem vrp;
private VehicleRoutingProblemSolution solution;
public void setShowFirstActivity(boolean show){
showFirstActivity = show;
}
public void setLabel(Label label){
this.label = label;
}
public Plotter(VehicleRoutingProblem vrp) {
super();
this.vrp = vrp;
}
public Plotter(VehicleRoutingProblem vrp, VehicleRoutingProblemSolution solution) {
super();
this.vrp = vrp;
this.solution = solution;
}
public void plot(String pngFileName, String plotTitle){
}
}