Class PathfinderConfiguration.PathfinderConfigurationBuilder
java.lang.Object
de.bsommerfeld.pathetic.api.pathing.configuration.PathfinderConfiguration.PathfinderConfigurationBuilder
- Enclosing class:
- PathfinderConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionasync(boolean async) bloomFilterFpp(double bloomFilterFpp) Deprecated.Marked for removal.bloomFilterSize(int bloomFilterSize) Deprecated.Marked for removal.build()costProcessor(List<CostProcessor> costProcessors) executorService(ExecutorService executorService) fallback(boolean allowingFallback) gridCellSize(int gridCellSize) Deprecated.Marked for removal.heuristicStrategy(IHeuristicStrategy heuristicStrategy) heuristicWeights(HeuristicWeights heuristicWeights) maxIterations(int maxIterations) maxLength(int maxLength) neighborStrategy(INeighborStrategy neighborStrategy) nodeCostProcessors(List<CostProcessor> costProcessors) Deprecated.nodeValidationProcessors(List<ValidationProcessor> validationProcessors) Deprecated.pathfindingHooks(List<PathfinderHook> pathfindingHooks) provider(NavigationPointProvider provider) reopenClosedNodes(boolean reopenClosedNodes) validationProcessors(List<ValidationProcessor> validationProcessors)
-
Method Details
-
maxIterations
-
maxLength
-
async
-
fallback
-
heuristicWeights
public PathfinderConfiguration.PathfinderConfigurationBuilder heuristicWeights(HeuristicWeights heuristicWeights) -
nodeValidationProcessors
@Deprecated public PathfinderConfiguration.PathfinderConfigurationBuilder nodeValidationProcessors(List<ValidationProcessor> validationProcessors) Deprecated. -
validationProcessors
public PathfinderConfiguration.PathfinderConfigurationBuilder validationProcessors(List<ValidationProcessor> validationProcessors) -
nodeCostProcessors
@Deprecated public PathfinderConfiguration.PathfinderConfigurationBuilder nodeCostProcessors(List<CostProcessor> costProcessors) Deprecated. -
costProcessor
public PathfinderConfiguration.PathfinderConfigurationBuilder costProcessor(List<CostProcessor> costProcessors) -
neighborStrategy
public PathfinderConfiguration.PathfinderConfigurationBuilder neighborStrategy(INeighborStrategy neighborStrategy) -
gridCellSize
@Deprecated public PathfinderConfiguration.PathfinderConfigurationBuilder gridCellSize(int gridCellSize) Deprecated.Marked for removal. The bundled A* engine no longer buckets its closed set into bloom-filtered grid regions; the value is accepted but unused and will be removed in a future release. -
bloomFilterSize
@Deprecated public PathfinderConfiguration.PathfinderConfigurationBuilder bloomFilterSize(int bloomFilterSize) Deprecated.Marked for removal. The bundled A* engine no longer uses bloom filters for its closed set; the value is accepted but unused and will be removed in a future release. -
bloomFilterFpp
@Deprecated public PathfinderConfiguration.PathfinderConfigurationBuilder bloomFilterFpp(double bloomFilterFpp) Deprecated.Marked for removal. The bundled A* engine no longer uses bloom filters for its closed set; the value is accepted but unused and will be removed in a future release. -
heuristicStrategy
public PathfinderConfiguration.PathfinderConfigurationBuilder heuristicStrategy(IHeuristicStrategy heuristicStrategy) -
reopenClosedNodes
public PathfinderConfiguration.PathfinderConfigurationBuilder reopenClosedNodes(boolean reopenClosedNodes) -
pathfindingHooks
public PathfinderConfiguration.PathfinderConfigurationBuilder pathfindingHooks(List<PathfinderHook> pathfindingHooks) -
executorService
public PathfinderConfiguration.PathfinderConfigurationBuilder executorService(ExecutorService executorService) -
build
-