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

org.opentripplanner.graph_builder.module.map.EndMatchState Maven / Gradle / Ivy

There is a newer version: 2.6.0
Show newest version
package org.opentripplanner.graph_builder.module.map;

import java.util.List;

/**
 * The end of a route's geometry, meaning that the search can quit
 *
 * @author novalis
 */
public class EndMatchState extends MatchState {

  public EndMatchState(MatchState parent, double error, double distance) {
    super(parent, null, distance);
    this.currentError = error;
  }

  @Override
  public List getNextStates() {
    return null;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy