mirror of
https://github.com/graphhopper/jsprit.git
synced 2020-01-24 07:45:05 +01:00
added chaining capabilities to analysis.toolbox.Plotter.java
This commit is contained in:
parent
d017b7c7e1
commit
cea63fd5cc
1 changed files with 6 additions and 3 deletions
|
|
@ -105,16 +105,19 @@ public class Plotter {
|
||||||
|
|
||||||
private BoundingBox boundingBox = null;
|
private BoundingBox boundingBox = null;
|
||||||
|
|
||||||
public void setShowFirstActivity(boolean show){
|
public Plotter setShowFirstActivity(boolean show){
|
||||||
showFirstActivity = show;
|
showFirstActivity = show;
|
||||||
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setLabel(Label label){
|
public Plotter setLabel(Label label){
|
||||||
this.label = label;
|
this.label = label;
|
||||||
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setBoundingBox(double minX, double minY, double maxX, double maxY){
|
public Plotter setBoundingBox(double minX, double minY, double maxX, double maxY){
|
||||||
boundingBox = new BoundingBox(minX,minY,maxX,maxY);
|
boundingBox = new BoundingBox(minX,minY,maxX,maxY);
|
||||||
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Plotter(VehicleRoutingProblem vrp) {
|
public Plotter(VehicleRoutingProblem vrp) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue