
org.opentripplanner.astar.spi.AStarVertex Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of otp Show documentation
Show all versions of otp Show documentation
The OpenTripPlanner multimodal journey planning system
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