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