* @param findPlaces if true, compute origin and target from RoutingRequest using spatial indices.
*/
private RoutingContext(RoutingRequest routingRequest, Graph graph, Vertex from, Vertex to,
boolean findPlaces) {
if (graph == null) {
throw new GraphNotFoundException();
}
this.opt = routingRequest;
this.graph = graph;
this.debugOutput.startedCalculating();