Uses of Interface
de.bsommerfeld.pathetic.api.pathing.processing.context.SearchContext
Packages that use SearchContext
Package
Description
Provides interfaces and classes for extending the core pathfinding logic of "pathetic" through a
customizable processor pipeline.
-
Uses of SearchContext in de.bsommerfeld.pathetic.api.pathing.processing
Methods in de.bsommerfeld.pathetic.api.pathing.processing with parameters of type SearchContextModifier and TypeMethodDescriptiondefault voidProcessor.finalizeSearch(SearchContext context) Called once at the end of a path search operation, regardless of whether a path was found or the search was aborted.default voidProcessor.initializeSearch(SearchContext context) Called once at the beginning of a path search operation. -
Uses of SearchContext in de.bsommerfeld.pathetic.api.pathing.processing.context
Methods in de.bsommerfeld.pathetic.api.pathing.processing.context that return SearchContextModifier and TypeMethodDescriptionNodeEvaluationContext.getSearchContext()Provides access to the overarchingSearchContextfor this pathfinding operation. -
Uses of SearchContext in de.bsommerfeld.pathetic.engine.pathfinder
Methods in de.bsommerfeld.pathetic.engine.pathfinder with parameters of type SearchContextModifier and TypeMethodDescriptionprotected abstract voidAbstractPathfinder.processSuccessors(PathPosition requestStart, PathPosition requestTarget, Node currentNode, org.jheaps.tree.FibonacciHeap<Double, Node> openSet, SearchContext searchContext) Abstract method representing the core logic of processing successor nodes for a givencurrentNode.protected voidAStarPathfinder.processSuccessors(PathPosition start, PathPosition target, Node currentNode, org.jheaps.tree.FibonacciHeap<Double, Node> openSet, SearchContext searchContext) Processes the successors of the current node, checking if they're in the open or closed set, calculating costs, validating traversability, and updating the open set as needed. -
Uses of SearchContext in de.bsommerfeld.pathetic.engine.pathfinder.processing
Classes in de.bsommerfeld.pathetic.engine.pathfinder.processing that implement SearchContextMethods in de.bsommerfeld.pathetic.engine.pathfinder.processing that return SearchContextConstructors in de.bsommerfeld.pathetic.engine.pathfinder.processing with parameters of type SearchContextModifierConstructorDescriptionNodeEvaluationContextImpl(SearchContext searchContext, Node engineNode, Node parentEngineNode, IHeuristicStrategy heuristicStrategy) Creates a new NodeEvaluationContextImpl with the specified parameters.