![JAR search and dependency download from the Maven repository](/logo.png)
xf.xfvrp.report.build.Context Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xfvrp Show documentation
Show all versions of xfvrp Show documentation
Solver for realistic vehicle routing problems
package xf.xfvrp.report.build;
import java.util.List;
import java.util.Map;
import xf.xfvrp.base.Node;
import xf.xfvrp.opt.evaluation.RouteInfo;
class Context {
float time = 0;
float delay = 0;
float drivingTime = 0;
Node lastNode = null;
Node lastDepot = null;
Node currNode = null;
// Unresetted values
Map routeInfos;
int idx = -1;
int length = 0;
List activeNodes;
public void reset(Node currNode) {
time = 0;
delay = 0;
drivingTime = 0;
this.lastNode = currNode;
this.lastDepot = currNode;
this.currNode = currNode;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy