Interface SearchContext
public interface SearchContext
Provides context for an entire pathfinding search operation.
This context is typically created once per search request and passed to
processor lifecycle methods (e.g.,
Processor.initializeSearch(SearchContext)
)
and is accessible via the NodeEvaluationContext
.-
Method Summary
Modifier and TypeMethodDescriptionReturns the NavigationPointProvider configured for the search.Returns the configuration used for this pathfinding search.Returns a mutable map that can be used byProcessor
s to share data throughout the lifecycle of this search operation.Returns the starting PathPosition of the path search.Returns the target (or goal) PathPosition of the path search.
-
Method Details
-
getStartPathPosition
PathPosition getStartPathPosition()Returns the starting PathPosition of the path search.- Returns:
- The start PathPosition.
-
getTargetPathPosition
PathPosition getTargetPathPosition()Returns the target (or goal) PathPosition of the path search.- Returns:
- The target PathPosition.
-
getPathfinderConfiguration
PathfinderConfiguration getPathfinderConfiguration()Returns the configuration used for this pathfinding search. Processors can use this to access settings like heuristic weights, max length, etc.- Returns:
- The PathfinderConfiguration instance.
-