Class PathfinderConfiguration
java.lang.Object
de.bsommerfeld.pathetic.api.pathing.configuration.PathfinderConfiguration
Defines a set of configurable parameters that govern the behavior of the A* pathfinding
algorithm. By adjusting these parameters, you can fine-tune the pathfinding process to suit the
specific needs of your 3D environment.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Method Summary
Modifier and TypeMethodDescriptionbooleanbuilder()static PathfinderConfigurationdeepCopy(PathfinderConfiguration pathfinderConfiguration) Creates a deep copy of the givenPathfinderConfiguration.booleandoubleintintintintinthashCode()booleanisAsync()booleantoString()
-
Method Details
-
deepCopy
Creates a deep copy of the givenPathfinderConfiguration.This method constructs a new instance of
PathfinderConfigurationwith the same values as the input. It ensures a deep copy by copying the values of primitive and boolean fields directly.- Parameters:
pathfinderConfiguration- ThePathfinderConfigurationto copy.- Returns:
- A new
PathfinderConfigurationinstance with the same values as the input.
-
builder
-
getMaxIterations
public int getMaxIterations() -
getMaxLength
public int getMaxLength() -
isAsync
public boolean isAsync() -
isFallback
public boolean isFallback() -
areNegativeCostsAllowed
public boolean areNegativeCostsAllowed() -
getProvider
-
getHeuristicWeights
-
getNodeCostProcessors
-
getNodeValidationProcessors
-
getNeighborStrategy
-
getGridCellSize
public int getGridCellSize() -
getBloomFilterSize
public int getBloomFilterSize() -
getBloomFilterFpp
public double getBloomFilterFpp() -
getHeuristicStrategy
-
toString
-
equals
-
hashCode
public int hashCode()
-