// Path: src/main/java/info/andreaswolf/roadhopper/RoadHopper.java
// public class RoadHopper extends GraphHopper
// {
// 
// 	protected QueryGraph queryGraph;
// 
// 	public Route createRoute(GHRequest request) {
// 		return new Route(getPaths(request));
// 	}
// 
// 	public List<Path> getPaths(GHRequest request)
// 	{
// 		GHResponse response = new GHResponse();
// 		List<Path> paths = getPaths(request, response);
// 
// 		return paths;
// 	}
// 
// 	@Override
// 	protected QueryGraph createQueryGraph(Graph routingGraph)
// 	{
// 		// store the query graph for usage outside this class
// 		queryGraph = super.createQueryGraph(routingGraph);
// 
// 		return queryGraph;
// 	}
// 
// 	public QueryGraph getQueryGraph()
// 	{
// 		return queryGraph;
// 	}
// }


import com.graphhopper.GHRequest;
import com.graphhopper.routing.Path;
import com.graphhopper.routing.util.FlagEncoder;
import com.graphhopper.util.shapes.GHPoint;
import com.graphhopper.util.shapes.GHPoint3D;
import info.andreaswolf.roadhopper.RoadHopper;
import info.andreaswolf.roadhopper.road.Route;
import java.util.List;
package info.andreaswolf.roadhopper.server;




public class RouteCalculator
{

	protected RoadHopper hopper;
	private String weighting, algorithm, locale;

	public RouteCalculator(RoadHopper hopper)
	{
		this.hopper = hopper;
	}

	public RouteCalculator setWeighting(String weighting)
	{
		this.weighting = weighting;
		return this;
	}

	public RouteCalculator setAlgorithm(String algorithm)
	{
		this.algorithm = algorithm;
		return this;
	}

// Path: src/main/java/info/andreaswolf/roadhopper/RoadHopper.java
// public class RoadHopper extends GraphHopper
// {
// 
// 	protected QueryGraph queryGraph;
// 
// 	public Route createRoute(GHRequest request) {
// 		return new Route(getPaths(request));
// 	}
// 
// 	public List<Path> getPaths(GHRequest request)
// 	{
// 		GHResponse response = new GHResponse();
// 		List<Path> paths = getPaths(request, response);
// 
// 		return paths;
// 	}
// 
// 	@Override
// 	protected QueryGraph createQueryGraph(Graph routingGraph)
// 	{
// 		// store the query graph for usage outside this class
// 		queryGraph = super.createQueryGraph(routingGraph);
// 
// 		return queryGraph;
// 	}
// 
// 	public QueryGraph getQueryGraph()
// 	{
// 		return queryGraph;
// 	}
// }


// Path: src/main/java/info/andreaswolf/roadhopper/server/RouteCalculator.java
import com.graphhopper.GHRequest;
import com.graphhopper.routing.Path;
import com.graphhopper.routing.util.FlagEncoder;
import com.graphhopper.util.shapes.GHPoint;
import com.graphhopper.util.shapes.GHPoint3D;
import info.andreaswolf.roadhopper.RoadHopper;
import info.andreaswolf.roadhopper.road.Route;
import java.util.List;

package info.andreaswolf.roadhopper.server;




public class RouteCalculator
{

	protected RoadHopper hopper;
	private String weighting, algorithm, locale;

	public RouteCalculator(RoadHopper hopper)
	{
		this.hopper = hopper;
	}

	public RouteCalculator setWeighting(String weighting)
	{
		this.weighting = weighting;
		return this;
	}

	public RouteCalculator setAlgorithm(String algorithm)
	{
		this.algorithm = algorithm;
		return this;
	}

	public RouteCalculator setLocale(String locale)