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

org.opentripplanner.transit.raptor.rangeraptor.standard.ArrivedAtDestinationCheck Maven / Gradle / Ivy

There is a newer version: 2.5.0
Show newest version
package org.opentripplanner.transit.raptor.rangeraptor.standard;


/**
 * The responsibility of this interface is to allow the caller to check if the
 * destination is reached in the current Raptor round.
 */
@FunctionalInterface
public interface ArrivedAtDestinationCheck {


    /**
     * If the destination is reached, but the path is rejected as an optimal path at
     * the destination this method should return FALSE, only when a new optimal path
     * is fund should the method return TRUE.
     *
     * Return TRUE if the destination was reached in the current round; if not false.
     */
    boolean arrivedAtDestinationCurrentRound();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy