Archived
0

rename field

This commit is contained in:
iMoHax
2014-08-17 22:49:37 +04:00
committed by iMoHax
parent a9f2b301e9
commit b4baf8512e
2 changed files with 8 additions and 8 deletions

View File

@@ -15,7 +15,7 @@ public class MarketAnalyzer {
private Market market;
private Graph<Vendor> graph;
private double stock;
private double tank;
private double maxDistance;
private int jumps;
@@ -59,7 +59,7 @@ public class MarketAnalyzer {
}
private void rebuild(Vendor source){
graph = new Graph<>(source, market.get(), stock, maxDistance, true, jumps, PathRoute::new);
graph = new Graph<>(source, market.get(), tank, maxDistance, true, jumps, PathRoute::new);
}
private void setSource(Vendor source){
@@ -73,8 +73,8 @@ public class MarketAnalyzer {
}
public void setStock(double stock) {
this.stock = stock;
public void setTank(double tank) {
this.tank = tank;
}
public void setMaxDistance(double maxDistance) {