
org.opentripplanner.astar.spi.AStarVertex Maven / Gradle / Ivy
The newest version!
package org.opentripplanner.astar.spi;
import java.util.Collection;
public interface AStarVertex<
State extends AStarState,
Edge extends AStarEdge,
Vertex extends AStarVertex
> {
/**
* Get a collection containing all the edges leading from this vertex to other vertices. There is
* probably some overhead to creating the wrapper ArrayList objects, but this allows filtering and
* combining edge lists using stock Collection-based methods.
*/
Collection getOutgoing();
/** Get a collection containing all the edges leading from other vertices to this vertex. */
Collection getIncoming();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy