Package de.bsommerfeld.pathetic.api.pathing.processing
package de.bsommerfeld.pathetic.api.pathing.processing
The processor pipeline that extends per-neighbor evaluation.
ValidationProcessor accepts or rejects
a neighbor; CostProcessor contributes an
additional Cost to its G-cost. Both
extend Processor, whose
initializeSearch/finalizeSearch lifecycle runs once per search. Validators provides boolean composites (allOf,
anyOf, noneOf, not) that propagate the lifecycle to their children.
Processors are configured as ordered lists on the PathfinderConfiguration and run inside the
search's hot loop, once per surviving neighbor; allocations and blocking calls in
implementations directly affect search throughput. Exceptions thrown by a processor end the
search with a failed result.
- Since:
- 5.0.0
-
ClassDescriptionRepresents a cost value used in pathfinding.A processor that calculates a specific cost contribution for traversing to a node (PathPosition).Base interface for pathfinding processors.A processor that validates whether a node (PathPosition) or the transition to it is permissible during pathfinding.Utility class for creating and combining
ValidationProcessorinstances.