All Downloads are FREE. Search and download functionalities are using the official Maven repository.

xf.xfvrp.report.build.Context Maven / Gradle / Ivy

There is a newer version: 11.4.6-RELEASE
Show newest version
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