Package megamek.common.pathfinder
Interface DestinationMap<N,E>
- Type Parameters:
N
- the type of nodes in the graphE
- the type of directed edges used by the graph
- All Known Implementing Classes:
MovePathDestinationMap
public interface DestinationMap<N,E>
Represents a function for retrieving destination node of an edge.
-
Method Summary
Modifier and TypeMethodDescriptiongetDestination
(E e) Returns a destination node of a given edge.
-
Method Details
-
getDestination
Returns a destination node of a given edge.- Parameters:
e
- a directed edge- Returns:
- the destination node of the given edge
-