Index

A B C D E F G H I J K L M N O P R S T V X Y Z 
All Classes and Interfaces|All Packages|Serialized Form

A

abort() - Method in interface de.bsommerfeld.pathetic.api.pathing.Pathfinder
Requests all currently running pathfinding operations of this pathfinder instance to abort.
abort() - Method in class de.bsommerfeld.pathetic.engine.pathfinder.AbstractPathfinder
Requests the current pathfinding operation to abort.
ABORTED - Enum constant in enum de.bsommerfeld.pathetic.api.pathing.result.PathState
The pathfinding process was aborted
AbstractPathfinder - Class in de.bsommerfeld.pathetic.engine.pathfinder
Provides a skeletal implementation of the Pathfinder interface, defining common behavior for pathfinding algorithms.
AbstractPathfinder(PathfinderConfiguration) - Constructor for class de.bsommerfeld.pathetic.engine.pathfinder.AbstractPathfinder
 
accept(T) - Method in interface de.bsommerfeld.pathetic.api.util.ParameterizedSupplier
Applies this supplier to the given argument.
add(double, double, double) - Method in class de.bsommerfeld.pathetic.api.wrapper.PathPosition
Creates a new PathPosition by adding the given values to the coordinates of this position.
add(PathVector) - Method in class de.bsommerfeld.pathetic.api.wrapper.PathPosition
Creates a new PathPosition by adding the components of the given vector to the coordinates of this position.
add(PathVector) - Method in class de.bsommerfeld.pathetic.api.wrapper.PathVector
Creates a new PathVector by adding another vector to this vector.
allOf(NodeValidationProcessor...) - Static method in class de.bsommerfeld.pathetic.api.pathing.processing.Validators
Creates a NodeValidationProcessor that evaluates to true if all of the provided validators evaluate to true.
allOf(List<NodeValidationProcessor>) - Static method in class de.bsommerfeld.pathetic.api.pathing.processing.Validators
Creates a NodeValidationProcessor that evaluates to true if all of the provided validators evaluate to true.
alwaysFalse() - Static method in class de.bsommerfeld.pathetic.api.pathing.processing.Validators
Returns a NodeValidationProcessor that always evaluates to false.
alwaysTrue() - Static method in class de.bsommerfeld.pathetic.api.pathing.processing.Validators
Returns a NodeValidationProcessor that always evaluates to true.
anyOf(NodeValidationProcessor...) - Static method in class de.bsommerfeld.pathetic.api.pathing.processing.Validators
Creates a NodeValidationProcessor that evaluates to true if any of the provided validators evaluate to true.
anyOf(List<NodeValidationProcessor>) - Static method in class de.bsommerfeld.pathetic.api.pathing.processing.Validators
Creates a NodeValidationProcessor that evaluates to true if any of the provided validators evaluate to true.
areNegativeCostsAllowed() - Method in class de.bsommerfeld.pathetic.api.pathing.configuration.PathfinderConfiguration
 
AStarPathfinder - Class in de.bsommerfeld.pathetic.engine.pathfinder
An A* pathfinding algorithm that uses a heuristic to guide the search toward the target.
AStarPathfinder(PathfinderConfiguration) - Constructor for class de.bsommerfeld.pathetic.engine.pathfinder.AStarPathfinder
 
AStarPathfinderFactory - Class in de.bsommerfeld.pathetic.engine.factory
 
AStarPathfinderFactory() - Constructor for class de.bsommerfeld.pathetic.engine.factory.AStarPathfinderFactory
 
async(boolean) - Method in class de.bsommerfeld.pathetic.api.pathing.configuration.PathfinderConfiguration.PathfinderConfigurationBuilder
 

B

bloomFilterFpp(double) - Method in class de.bsommerfeld.pathetic.api.pathing.configuration.PathfinderConfiguration.PathfinderConfigurationBuilder
 
bloomFilterSize(int) - Method in class de.bsommerfeld.pathetic.api.pathing.configuration.PathfinderConfiguration.PathfinderConfigurationBuilder
 
build() - Method in class de.bsommerfeld.pathetic.api.pathing.configuration.PathfinderConfiguration.PathfinderConfigurationBuilder
 
builder() - Static method in class de.bsommerfeld.pathetic.api.pathing.configuration.PathfinderConfiguration
 

C

calculate(HeuristicContext) - Method in interface de.bsommerfeld.pathetic.api.pathing.heuristic.IHeuristicStrategy
Calculates the heuristic value (estimated cost) from the current position to the target.
calculate(HeuristicContext) - Method in class de.bsommerfeld.pathetic.api.pathing.heuristic.LinearHeuristicStrategy
 
calculate(HeuristicContext) - Method in class de.bsommerfeld.pathetic.api.pathing.heuristic.SquaredHeuristicStrategy
 
calculate(PathfindingProgress) - Method in interface de.bsommerfeld.pathetic.api.pathing.calc.DistanceCalculator
Calculates and returns the distance metric for the given pathfinding progress.
calculateCostContribution(NodeEvaluationContext) - Method in interface de.bsommerfeld.pathetic.api.pathing.processing.NodeCostProcessor
Calculates the cost contribution of this processor for the transition to the current node (PathPosition).
calculateTransitionCost(PathPosition, PathPosition) - Method in interface de.bsommerfeld.pathetic.api.pathing.heuristic.IHeuristicStrategy
Calculates the actual transition cost between two adjacent positions.
calculateTransitionCost(PathPosition, PathPosition) - Method in class de.bsommerfeld.pathetic.api.pathing.heuristic.LinearHeuristicStrategy
 
calculateTransitionCost(PathPosition, PathPosition) - Method in class de.bsommerfeld.pathetic.api.pathing.heuristic.SquaredHeuristicStrategy
 
canEqual(Object) - Method in class de.bsommerfeld.pathetic.api.wrapper.Depth
 
canEqual(Object) - Method in class de.bsommerfeld.pathetic.api.wrapper.PathVector
 
clone() - Method in class de.bsommerfeld.pathetic.api.wrapper.PathPosition
 
clone() - Method in class de.bsommerfeld.pathetic.api.wrapper.PathVector
 
collect() - Method in interface de.bsommerfeld.pathetic.api.pathing.result.Path
Returns a new Collection of the Path Positions of the path.
collect() - Method in class de.bsommerfeld.pathetic.engine.result.PathImpl
 
compareTo(Node) - Method in class de.bsommerfeld.pathetic.engine.Node
 
compute(K, BiFunction<? super K, ? super ExpiringHashMap.Entry<V>, ? extends ExpiringHashMap.Entry<V>>) - Method in class de.bsommerfeld.pathetic.engine.util.ExpiringHashMap
 
computeDistance(PathVector, PathVector, PathVector) - Static method in class de.bsommerfeld.pathetic.api.wrapper.PathVector
Computes the distance between a point and a line segment.
computeIfAbsent(K, Function<? super K, ? extends ExpiringHashMap.Entry<V>>) - Method in class de.bsommerfeld.pathetic.engine.util.ExpiringHashMap
 
computeIfPresent(K, BiFunction<? super K, ? super ExpiringHashMap.Entry<V>, ? extends ExpiringHashMap.Entry<V>>) - Method in class de.bsommerfeld.pathetic.engine.util.ExpiringHashMap
 
ComputingCache<T> - Class in de.bsommerfeld.pathetic.engine.util
 
ComputingCache(Supplier<T>) - Constructor for class de.bsommerfeld.pathetic.engine.util.ComputingCache
 
concat(Iterable<? extends T>, Iterable<? extends T>) - Static method in class de.bsommerfeld.pathetic.engine.util.Iterables
Returns an iterable that concatenates two iterables.
containsKey(Object) - Method in class de.bsommerfeld.pathetic.engine.util.ExpiringHashMap
Returns true if the map contains a mapping for the specified key and the value has not expired.
containsRawValue(V) - Method in class de.bsommerfeld.pathetic.engine.util.ExpiringHashMap
Returns true if the map contains a mapping with the specified raw value and the entry has not expired.
containsValue(Object) - Method in class de.bsommerfeld.pathetic.engine.util.ExpiringHashMap
 
Cost - Class in de.bsommerfeld.pathetic.api.pathing.processing
Represents a cost value used in pathfinding.
create(double, double, double, double) - Static method in class de.bsommerfeld.pathetic.api.pathing.heuristic.HeuristicWeights
Creates a new HeuristicWeights instance with the specified weights.
createPathfinder() - Method in interface de.bsommerfeld.pathetic.api.factory.PathfinderFactory
Creates a new instance of a Pathfinder with a default PathfinderConfiguration.
createPathfinder() - Method in class de.bsommerfeld.pathetic.engine.factory.AStarPathfinderFactory
 
createPathfinder(PathfinderConfiguration) - Method in interface de.bsommerfeld.pathetic.api.factory.PathfinderFactory
Creates a new Pathfinder instance with the given configuration.
createPathfinder(PathfinderConfiguration) - Method in class de.bsommerfeld.pathetic.engine.factory.AStarPathfinderFactory
Creates a new AStarPathfinder instance with the given configuration.
createPathfinder(PathfinderConfiguration, PathfinderInitializer) - Method in interface de.bsommerfeld.pathetic.api.factory.PathfinderFactory
Creates a new Pathfinder instance with the given configuration and initializer.
createStartNode(PathPosition, PathPosition) - Method in class de.bsommerfeld.pathetic.engine.pathfinder.AbstractPathfinder
Creates the initial Node for the start position.
currentPosition() - Method in class de.bsommerfeld.pathetic.api.pathing.hook.PathfindingContext
The current position of the pathfinding step.
currentPosition() - Method in class de.bsommerfeld.pathetic.api.pathing.PathfindingProgress
Returns the current step (position) of the pathfinding process.

D

de.bsommerfeld.pathetic.api.annotation - package de.bsommerfeld.pathetic.api.annotation
 
de.bsommerfeld.pathetic.api.factory - package de.bsommerfeld.pathetic.api.factory
 
de.bsommerfeld.pathetic.api.pathing - package de.bsommerfeld.pathetic.api.pathing
 
de.bsommerfeld.pathetic.api.pathing.calc - package de.bsommerfeld.pathetic.api.pathing.calc
 
de.bsommerfeld.pathetic.api.pathing.configuration - package de.bsommerfeld.pathetic.api.pathing.configuration
 
de.bsommerfeld.pathetic.api.pathing.context - package de.bsommerfeld.pathetic.api.pathing.context
 
de.bsommerfeld.pathetic.api.pathing.heuristic - package de.bsommerfeld.pathetic.api.pathing.heuristic
 
de.bsommerfeld.pathetic.api.pathing.hook - package de.bsommerfeld.pathetic.api.pathing.hook
 
de.bsommerfeld.pathetic.api.pathing.processing - package de.bsommerfeld.pathetic.api.pathing.processing
Provides interfaces and classes for extending the core pathfinding logic of "pathetic" through a customizable processor pipeline.
de.bsommerfeld.pathetic.api.pathing.processing.context - package de.bsommerfeld.pathetic.api.pathing.processing.context
 
de.bsommerfeld.pathetic.api.pathing.result - package de.bsommerfeld.pathetic.api.pathing.result
 
de.bsommerfeld.pathetic.api.provider - package de.bsommerfeld.pathetic.api.provider
 
de.bsommerfeld.pathetic.api.util - package de.bsommerfeld.pathetic.api.util
 
de.bsommerfeld.pathetic.api.wrapper - package de.bsommerfeld.pathetic.api.wrapper
 
de.bsommerfeld.pathetic.engine - package de.bsommerfeld.pathetic.engine
 
de.bsommerfeld.pathetic.engine.factory - package de.bsommerfeld.pathetic.engine.factory
 
de.bsommerfeld.pathetic.engine.pathfinder - package de.bsommerfeld.pathetic.engine.pathfinder
 
de.bsommerfeld.pathetic.engine.pathfinder.processing - package de.bsommerfeld.pathetic.engine.pathfinder.processing
 
de.bsommerfeld.pathetic.engine.result - package de.bsommerfeld.pathetic.engine.result
 
de.bsommerfeld.pathetic.engine.util - package de.bsommerfeld.pathetic.engine.util
 
debug(String, Object...) - Static method in class de.bsommerfeld.pathetic.engine.util.ErrorLogger
 
deepCopy(PathfinderConfiguration) - Static method in class de.bsommerfeld.pathetic.api.pathing.configuration.PathfinderConfiguration
Creates a deep copy of the given PathfinderConfiguration.
DEFAULT_WEIGHTS - Static variable in class de.bsommerfeld.pathetic.api.pathing.heuristic.HeuristicWeights
Represents the default set of heuristic weights used for pathfinding calculations.
Depth - Class in de.bsommerfeld.pathetic.api.wrapper
Represents the depth of a pathfinding node or element.
DIAGONAL_3D - Static variable in class de.bsommerfeld.pathetic.api.pathing.NeighborStrategies
Checks all 26 surrounding nodes in a 3x3x3 cube.
distance(PathPosition) - Method in class de.bsommerfeld.pathetic.api.wrapper.PathPosition
Calculates the Euclidean distance between this position and another position.
distance(PathVector) - Method in class de.bsommerfeld.pathetic.api.wrapper.PathVector
Calculates the Euclidean distance between this vector and another vector.
DistanceCalculator<M> - Interface in de.bsommerfeld.pathetic.api.pathing.calc
Computes a distance metric for the current state of a pathfinding operation.
distanceSquared(PathPosition) - Method in class de.bsommerfeld.pathetic.api.wrapper.PathPosition
Calculates the squared distance between this position and another position.
divide(double) - Method in class de.bsommerfeld.pathetic.api.wrapper.PathVector
Creates a new PathVector by dividing this vector by a scalar value.
dot(PathVector) - Method in class de.bsommerfeld.pathetic.api.wrapper.PathVector
Calculates the dot product of this vector and another vector.

E

EMPTY_PATH_POSITIONS - Static variable in class de.bsommerfeld.pathetic.engine.pathfinder.AbstractPathfinder
 
Entry(V) - Constructor for class de.bsommerfeld.pathetic.engine.util.ExpiringHashMap.Entry
Creates a new Entry with the specified value and default expiration time.
Entry(V, long) - Constructor for class de.bsommerfeld.pathetic.engine.util.ExpiringHashMap.Entry
Creates a new Entry with the specified value and expiration time.
entrySetWithCleanup() - Method in class de.bsommerfeld.pathetic.engine.util.ExpiringHashMap
Removes expired entries and then returns the entry set.
EnvironmentContext - Interface in de.bsommerfeld.pathetic.api.pathing.context
A marker interface to implement, to provide environment-specific information to the Pathfinder.
equals(Object) - Method in class de.bsommerfeld.pathetic.api.pathing.configuration.PathfinderConfiguration
 
equals(Object) - Method in class de.bsommerfeld.pathetic.api.pathing.heuristic.HeuristicWeights
 
equals(Object) - Method in class de.bsommerfeld.pathetic.api.pathing.hook.PathfindingContext
 
equals(Object) - Method in class de.bsommerfeld.pathetic.api.pathing.PathfindingProgress
 
equals(Object) - Method in class de.bsommerfeld.pathetic.api.pathing.processing.Cost
 
equals(Object) - Method in class de.bsommerfeld.pathetic.api.wrapper.Depth
 
equals(Object) - Method in class de.bsommerfeld.pathetic.api.wrapper.PathPosition
 
equals(Object) - Method in class de.bsommerfeld.pathetic.api.wrapper.PathVector
 
equals(Object) - Method in class de.bsommerfeld.pathetic.engine.Node
 
equals(Object) - Method in class de.bsommerfeld.pathetic.engine.util.ExpiringHashMap.Entry
 
equals(Object) - Method in class de.bsommerfeld.pathetic.engine.util.Tuple3
 
ErrorLogger - Class in de.bsommerfeld.pathetic.engine.util
 
Experimental - Annotation Type in de.bsommerfeld.pathetic.api.annotation
Marks an API as experimental.
ExpiringHashMap<K,V> - Class in de.bsommerfeld.pathetic.engine.util
A ConcurrentHashMap that removes entries on access if they are expired.
ExpiringHashMap() - Constructor for class de.bsommerfeld.pathetic.engine.util.ExpiringHashMap
Creates a new ExpiringHashMap with default expiration time (5 minutes) and cleanup interval (5 minutes).
ExpiringHashMap(long, long, TimeUnit) - Constructor for class de.bsommerfeld.pathetic.engine.util.ExpiringHashMap
Creates a new ExpiringHashMap with the specified expiration time and cleanup interval.
ExpiringHashMap(long, TimeUnit) - Constructor for class de.bsommerfeld.pathetic.engine.util.ExpiringHashMap
Creates a new ExpiringHashMap with the specified expiration time and default cleanup interval (5 minutes).
ExpiringHashMap.Entry<V> - Class in de.bsommerfeld.pathetic.engine.util
A wrapper for values stored in the ExpiringHashMap that includes an expiration time.

F

FAILED - Enum constant in enum de.bsommerfeld.pathetic.api.pathing.result.PathState
The Path wasn't found, either it reached its max search depth or it couldn't find more positions
fallback(boolean) - Method in class de.bsommerfeld.pathetic.api.pathing.configuration.PathfinderConfiguration.PathfinderConfigurationBuilder
 
FALLBACK - Enum constant in enum de.bsommerfeld.pathetic.api.pathing.result.PathState
Signifies that the pathfinder fell back during the pathfinding attempt
finalizeSearch(SearchContext) - Method in interface de.bsommerfeld.pathetic.api.pathing.processing.Processor
Called once at the end of a path search operation, regardless of whether a path was found or the search was aborted.
findPath(PathPosition, PathPosition) - Method in interface de.bsommerfeld.pathetic.api.pathing.Pathfinder
Tries to find a Path between the two PathPositions.
findPath(PathPosition, PathPosition, EnvironmentContext) - Method in interface de.bsommerfeld.pathetic.api.pathing.Pathfinder
Tries to find a path between the specified start and target positions within the provided environment context.
findPath(PathPosition, PathPosition, EnvironmentContext) - Method in class de.bsommerfeld.pathetic.engine.pathfinder.AbstractPathfinder
 
floor() - Method in class de.bsommerfeld.pathetic.api.wrapper.PathPosition
Creates a new PathPosition with the coordinates floored to the nearest integer values.
forEach(Consumer<? super PathPosition>) - Method in class de.bsommerfeld.pathetic.engine.result.PathImpl
 
FOUND - Enum constant in enum de.bsommerfeld.pathetic.api.pathing.result.PathState
The Path was successfully found

G

get() - Method in class de.bsommerfeld.pathetic.engine.util.ComputingCache
 
get(Object) - Method in class de.bsommerfeld.pathetic.engine.util.ExpiringHashMap
 
getBaseTransitionCost() - Method in interface de.bsommerfeld.pathetic.api.pathing.processing.context.NodeEvaluationContext
Returns the base traversal cost for the transition from the previous PathPosition to the current PathPosition.
getBaseTransitionCost() - Method in class de.bsommerfeld.pathetic.engine.pathfinder.processing.NodeEvaluationContextImpl
 
getBloomFilter() - Method in class de.bsommerfeld.pathetic.engine.util.GridRegionData
 
getBloomFilterFpp() - Method in class de.bsommerfeld.pathetic.api.pathing.configuration.PathfinderConfiguration
 
getBloomFilterSize() - Method in class de.bsommerfeld.pathetic.api.pathing.configuration.PathfinderConfiguration
 
getCenteredX() - Method in class de.bsommerfeld.pathetic.api.wrapper.PathPosition
 
getCenteredY() - Method in class de.bsommerfeld.pathetic.api.wrapper.PathPosition
 
getCenteredZ() - Method in class de.bsommerfeld.pathetic.api.wrapper.PathPosition
 
getCleanupIntervalMs() - Method in class de.bsommerfeld.pathetic.engine.util.ExpiringHashMap
Returns the cleanup interval in milliseconds.
getCrossProduct(PathVector) - Method in class de.bsommerfeld.pathetic.api.wrapper.PathVector
Calculates the cross product of this vector and another vector.
getCurrentNodeDepth() - Method in interface de.bsommerfeld.pathetic.api.pathing.processing.context.NodeEvaluationContext
Returns the depth of the current PathPosition in the search tree.
getCurrentNodeDepth() - Method in class de.bsommerfeld.pathetic.engine.pathfinder.processing.NodeEvaluationContextImpl
 
getCurrentNodeHeuristicValue() - Method in interface de.bsommerfeld.pathetic.api.pathing.processing.context.NodeEvaluationContext
Returns the heuristic value (H-cost) calculated by the pathfinding engine for the current PathPosition towards the target.
getCurrentNodeHeuristicValue() - Method in class de.bsommerfeld.pathetic.engine.pathfinder.processing.NodeEvaluationContextImpl
 
getCurrentPathPosition() - Method in interface de.bsommerfeld.pathetic.api.pathing.processing.context.NodeEvaluationContext
Returns the PathPosition currently being evaluated.
getCurrentPathPosition() - Method in class de.bsommerfeld.pathetic.engine.pathfinder.processing.NodeEvaluationContextImpl
 
getDepth() - Method in class de.bsommerfeld.pathetic.api.pathing.hook.PathfindingContext
The current depth of the pathfinding step.
getDepth() - Method in class de.bsommerfeld.pathetic.engine.Node
 
getEnd() - Method in interface de.bsommerfeld.pathetic.api.pathing.result.Path
Returns the target position of the path
getEnd() - Method in class de.bsommerfeld.pathetic.engine.result.PathImpl
 
getEnvironmentContext() - Method in interface de.bsommerfeld.pathetic.api.pathing.processing.context.NodeEvaluationContext
Convenience method to access the EnvironmentContext of the overall search.
getEnvironmentContext() - Method in interface de.bsommerfeld.pathetic.api.pathing.processing.context.SearchContext
Returns the environment-specific context associated with the pathfinding operation.
getEnvironmentContext() - Method in class de.bsommerfeld.pathetic.engine.pathfinder.processing.SearchContextImpl
 
getExpirationTime() - Method in class de.bsommerfeld.pathetic.engine.util.ExpiringHashMap.Entry
Returns the expiration time of this entry in milliseconds since the epoch.
getExpirationTimeMs() - Method in class de.bsommerfeld.pathetic.engine.util.ExpiringHashMap
Returns the expiration time for entries in milliseconds.
getFCost() - Method in class de.bsommerfeld.pathetic.engine.Node
Calculates the estimated total cost (F-cost) of the path from the start node to the target node, passing through this node.
getFlooredX() - Method in class de.bsommerfeld.pathetic.api.wrapper.PathPosition
Returns the x-coordinate of the block this position is located in.
getFlooredY() - Method in class de.bsommerfeld.pathetic.api.wrapper.PathPosition
Returns the y-coordinate of the block this position is located in.
getFlooredZ() - Method in class de.bsommerfeld.pathetic.api.wrapper.PathPosition
Returns the z-coordinate of the block this position is located in.
getGCost() - Method in class de.bsommerfeld.pathetic.engine.Node
Gets the calculated G-cost (accumulated known cost from the start node) for this node.
getGridCellSize() - Method in class de.bsommerfeld.pathetic.api.pathing.configuration.PathfinderConfiguration
 
getHeightWeight() - Method in class de.bsommerfeld.pathetic.api.pathing.heuristic.HeuristicWeights
Returns the weight applied to the height difference (elevation change) component of the heuristic.
getHeuristic() - Method in class de.bsommerfeld.pathetic.engine.Node
 
getHeuristicStrategy() - Method in class de.bsommerfeld.pathetic.api.pathing.configuration.PathfinderConfiguration
 
getHeuristicWeights() - Method in class de.bsommerfeld.pathetic.api.pathing.configuration.PathfinderConfiguration
 
getLast(Iterable<T>) - Static method in class de.bsommerfeld.pathetic.engine.util.Iterables
Returns the last element of the specified iterable.
getManhattanWeight() - Method in class de.bsommerfeld.pathetic.api.pathing.heuristic.HeuristicWeights
Returns the weight applied to the Manhattan distance component of the heuristic.
getMaxIterations() - Method in class de.bsommerfeld.pathetic.api.pathing.configuration.PathfinderConfiguration
 
getMaxLength() - Method in class de.bsommerfeld.pathetic.api.pathing.configuration.PathfinderConfiguration
 
getNavigationPoint(PathPosition) - Method in interface de.bsommerfeld.pathetic.api.provider.NavigationPointProvider
Gets the navigation point at the given position.
getNavigationPoint(PathPosition, EnvironmentContext) - Method in interface de.bsommerfeld.pathetic.api.provider.NavigationPointProvider
Retrieves the navigation point at the specified position within the provided environment context.
getNavigationPointProvider() - Method in interface de.bsommerfeld.pathetic.api.pathing.processing.context.NodeEvaluationContext
Convenience method to access the navigation point provider.
getNavigationPointProvider() - Method in interface de.bsommerfeld.pathetic.api.pathing.processing.context.SearchContext
Returns the NavigationPointProvider configured for the search.
getNavigationPointProvider() - Method in class de.bsommerfeld.pathetic.engine.pathfinder.processing.SearchContextImpl
 
getNeighborStrategy() - Method in class de.bsommerfeld.pathetic.api.pathing.configuration.PathfinderConfiguration
 
getNodeCostProcessors() - Method in class de.bsommerfeld.pathetic.api.pathing.configuration.PathfinderConfiguration
 
getNodeValidationProcessors() - Method in class de.bsommerfeld.pathetic.api.pathing.configuration.PathfinderConfiguration
 
getOctileWeight() - Method in class de.bsommerfeld.pathetic.api.pathing.heuristic.HeuristicWeights
Returns the weight applied to the Octile distance component of the heuristic.
getOffsets() - Method in interface de.bsommerfeld.pathetic.api.pathing.INeighborStrategy
Gets the collection of vectors to check for neighbor nodes.
getOrLoadEngineVersion() - Static method in class de.bsommerfeld.pathetic.engine.Pathetic
 
getParent() - Method in class de.bsommerfeld.pathetic.engine.Node
 
getPath() - Method in interface de.bsommerfeld.pathetic.api.pathing.result.PathfinderResult
Returns the found Path regardless if successful or not.
getPath() - Method in class de.bsommerfeld.pathetic.engine.result.PathfinderResultImpl
 
getPathCostToPreviousPosition() - Method in interface de.bsommerfeld.pathetic.api.pathing.processing.context.NodeEvaluationContext
Returns the accumulated G-cost (actual known cost from start) up to the previous PathPosition.
getPathCostToPreviousPosition() - Method in class de.bsommerfeld.pathetic.engine.pathfinder.processing.NodeEvaluationContextImpl
 
getPathfinderConfiguration() - Method in interface de.bsommerfeld.pathetic.api.pathing.processing.context.NodeEvaluationContext
Convenience method to access the pathfinder configuration.
getPathfinderConfiguration() - Method in interface de.bsommerfeld.pathetic.api.pathing.processing.context.SearchContext
Returns the configuration used for this pathfinding search.
getPathfinderConfiguration() - Method in class de.bsommerfeld.pathetic.engine.pathfinder.processing.SearchContextImpl
 
getPathfindingProgress() - Method in class de.bsommerfeld.pathetic.api.pathing.heuristic.HeuristicContext
 
getPathState() - Method in interface de.bsommerfeld.pathetic.api.pathing.result.PathfinderResult
Returns the state of the pathfinding.
getPathState() - Method in class de.bsommerfeld.pathetic.engine.result.PathfinderResultImpl
 
getPerpendicularWeight() - Method in class de.bsommerfeld.pathetic.api.pathing.heuristic.HeuristicWeights
Returns the weight applied to the perpendicular distance component of the heuristic.
getPosition() - Method in class de.bsommerfeld.pathetic.engine.Node
 
getPreviousPathPosition() - Method in interface de.bsommerfeld.pathetic.api.pathing.processing.context.NodeEvaluationContext
Returns the PathPosition from which the current PathPosition is being reached.
getPreviousPathPosition() - Method in class de.bsommerfeld.pathetic.engine.pathfinder.processing.NodeEvaluationContextImpl
 
getProvider() - Method in class de.bsommerfeld.pathetic.api.pathing.configuration.PathfinderConfiguration
 
getRegionalExaminedPositions() - Method in class de.bsommerfeld.pathetic.engine.util.GridRegionData
 
getSearchContext() - Method in interface de.bsommerfeld.pathetic.api.pathing.processing.context.NodeEvaluationContext
Provides access to the overarching SearchContext for this pathfinding operation.
getSearchContext() - Method in class de.bsommerfeld.pathetic.engine.pathfinder.processing.NodeEvaluationContextImpl
 
getSharedData() - Method in interface de.bsommerfeld.pathetic.api.pathing.processing.context.NodeEvaluationContext
Convenience method to access the shared data map for the overall search.
getSharedData() - Method in interface de.bsommerfeld.pathetic.api.pathing.processing.context.SearchContext
Returns a mutable map that can be used by Processors to share data throughout the lifecycle of this search operation.
getSharedData() - Method in class de.bsommerfeld.pathetic.engine.pathfinder.processing.SearchContextImpl
 
getStart() - Method in interface de.bsommerfeld.pathetic.api.pathing.result.Path
Returns the start position of the path
getStart() - Method in class de.bsommerfeld.pathetic.engine.Node
 
getStart() - Method in class de.bsommerfeld.pathetic.engine.result.PathImpl
 
getStartPathPosition() - Method in interface de.bsommerfeld.pathetic.api.pathing.processing.context.NodeEvaluationContext
Convenience method to access the start PathPosition of the overall search.
getStartPathPosition() - Method in interface de.bsommerfeld.pathetic.api.pathing.processing.context.SearchContext
Returns the starting PathPosition of the path search.
getStartPathPosition() - Method in class de.bsommerfeld.pathetic.engine.pathfinder.processing.SearchContextImpl
 
getTarget() - Method in class de.bsommerfeld.pathetic.engine.Node
 
getTargetPathPosition() - Method in interface de.bsommerfeld.pathetic.api.pathing.processing.context.NodeEvaluationContext
Convenience method to access the target PathPosition of the overall search.
getTargetPathPosition() - Method in interface de.bsommerfeld.pathetic.api.pathing.processing.context.SearchContext
Returns the target (or goal) PathPosition of the path search.
getTargetPathPosition() - Method in class de.bsommerfeld.pathetic.engine.pathfinder.processing.SearchContextImpl
 
getTimeToLive() - Method in class de.bsommerfeld.pathetic.engine.util.ExpiringHashMap.Entry
Returns the time remaining until this entry expires in milliseconds.
getValue() - Method in class de.bsommerfeld.pathetic.api.pathing.processing.Cost
Returns the numerical cost value.
getValue() - Method in class de.bsommerfeld.pathetic.api.wrapper.Depth
 
getValue() - Method in class de.bsommerfeld.pathetic.engine.util.ExpiringHashMap.Entry
Returns the wrapped value.
getValue(Object) - Method in class de.bsommerfeld.pathetic.engine.util.ExpiringHashMap
Returns the value associated with the key, or null if the key is not in the map or the value has expired.
getX() - Method in class de.bsommerfeld.pathetic.api.wrapper.PathPosition
Returns the x-coordinate of this position.
getX() - Method in class de.bsommerfeld.pathetic.api.wrapper.PathVector
Returns the x-component of this vector.
getY() - Method in class de.bsommerfeld.pathetic.api.wrapper.PathPosition
Returns the y-coordinate of this position.
getY() - Method in class de.bsommerfeld.pathetic.api.wrapper.PathVector
Returns the y-component of this vector.
getZ() - Method in class de.bsommerfeld.pathetic.api.wrapper.PathPosition
Returns the z-coordinate of this position.
getZ() - Method in class de.bsommerfeld.pathetic.api.wrapper.PathVector
Returns the z-component of this vector.
gridCellSize(int) - Method in class de.bsommerfeld.pathetic.api.pathing.configuration.PathfinderConfiguration.PathfinderConfigurationBuilder
 
GridRegionData - Class in de.bsommerfeld.pathetic.engine.util
The GridRegionData class represents the data associated with a grid region.
GridRegionData(int, double) - Constructor for class de.bsommerfeld.pathetic.engine.util.GridRegionData
Creates a new GridRegionData with the specified Bloom filter settings.
GridRegionData(PathfinderConfiguration) - Constructor for class de.bsommerfeld.pathetic.engine.util.GridRegionData
Creates a new GridRegionData with Bloom filter settings from the provided configuration.

H

hasFailed() - Method in interface de.bsommerfeld.pathetic.api.pathing.result.PathfinderResult
Whether the pathfinder has failed to reach its target.
hasFailed() - Method in class de.bsommerfeld.pathetic.engine.result.PathfinderResultImpl
 
hasFallenBack() - Method in interface de.bsommerfeld.pathetic.api.pathing.result.PathfinderResult
Whether a pathfinder has resulted in a fallback.
hasFallenBack() - Method in class de.bsommerfeld.pathetic.engine.result.PathfinderResultImpl
 
hashCode() - Method in class de.bsommerfeld.pathetic.api.pathing.configuration.PathfinderConfiguration
 
hashCode() - Method in class de.bsommerfeld.pathetic.api.pathing.heuristic.HeuristicWeights
 
hashCode() - Method in class de.bsommerfeld.pathetic.api.pathing.hook.PathfindingContext
 
hashCode() - Method in class de.bsommerfeld.pathetic.api.pathing.PathfindingProgress
 
hashCode() - Method in class de.bsommerfeld.pathetic.api.pathing.processing.Cost
 
hashCode() - Method in class de.bsommerfeld.pathetic.api.wrapper.Depth
 
hashCode() - Method in class de.bsommerfeld.pathetic.api.wrapper.PathPosition
 
hashCode() - Method in class de.bsommerfeld.pathetic.api.wrapper.PathVector
 
hashCode() - Method in class de.bsommerfeld.pathetic.engine.Node
 
hashCode() - Method in class de.bsommerfeld.pathetic.engine.util.ExpiringHashMap.Entry
 
hashCode() - Method in class de.bsommerfeld.pathetic.engine.util.Tuple3
 
HeuristicContext - Class in de.bsommerfeld.pathetic.api.pathing.heuristic
 
HeuristicContext(PathfindingProgress, HeuristicWeights) - Constructor for class de.bsommerfeld.pathetic.api.pathing.heuristic.HeuristicContext
 
HeuristicContext(PathPosition, PathPosition, PathPosition, HeuristicWeights) - Constructor for class de.bsommerfeld.pathetic.api.pathing.heuristic.HeuristicContext
 
HeuristicStrategies - Class in de.bsommerfeld.pathetic.api.pathing.heuristic
 
heuristicStrategy(IHeuristicStrategy) - Method in class de.bsommerfeld.pathetic.api.pathing.configuration.PathfinderConfiguration.PathfinderConfigurationBuilder
 
heuristicWeights() - Method in class de.bsommerfeld.pathetic.api.pathing.heuristic.HeuristicContext
The heuristic weights used in the pathfinding process.
heuristicWeights(HeuristicWeights) - Method in class de.bsommerfeld.pathetic.api.pathing.configuration.PathfinderConfiguration.PathfinderConfigurationBuilder
 
HeuristicWeights - Class in de.bsommerfeld.pathetic.api.pathing.heuristic
Represents a set of weights used to calculate a heuristic for the A* pathfinding algorithm.

I

IHeuristicStrategy - Interface in de.bsommerfeld.pathetic.api.pathing.heuristic
Defines the contract for heuristic strategies used in pathfinding algorithms.
increment() - Method in class de.bsommerfeld.pathetic.api.wrapper.Depth
Increments the depth value by one.
INeighborStrategy - Interface in de.bsommerfeld.pathetic.api.pathing
 
initialize(Pathfinder, PathfinderConfiguration) - Method in interface de.bsommerfeld.pathetic.api.factory.PathfinderInitializer
Initializes the given Pathfinder with the given PathfinderConfiguration.
initializeSearch() - Method in class de.bsommerfeld.pathetic.engine.pathfinder.AbstractPathfinder
Prepares the algorithm-specific initial setup required before executing the pathfinding logic.
initializeSearch() - Method in class de.bsommerfeld.pathetic.engine.pathfinder.AStarPathfinder
 
initializeSearch(SearchContext) - Method in interface de.bsommerfeld.pathetic.api.pathing.processing.Processor
Called once at the beginning of a path search operation.
interpolate(double) - Method in interface de.bsommerfeld.pathetic.api.pathing.result.Path
Deprecated.
interpolate(double) - Method in class de.bsommerfeld.pathetic.engine.result.PathImpl
Deprecated.
Delegates to PathUtils - you should use that too!
interpolate(double, double, double) - Static method in class de.bsommerfeld.pathetic.api.util.NumberUtils
Interpolates between two values based on the given progress.
interpolate(Path, double) - Static method in class de.bsommerfeld.pathetic.engine.result.PathUtils
Interpolates a path by inserting intermediate positions between each pair of consecutive points.
interpolate(PathPosition, double) - Method in class de.bsommerfeld.pathetic.api.wrapper.PathPosition
Deprecated.
marked for removal
isAsync() - Method in class de.bsommerfeld.pathetic.api.pathing.configuration.PathfinderConfiguration
 
isExpired() - Method in class de.bsommerfeld.pathetic.engine.util.ExpiringHashMap.Entry
Returns true if this entry has expired.
isFallback() - Method in class de.bsommerfeld.pathetic.api.pathing.configuration.PathfinderConfiguration
 
isInSameBlock(PathPosition) - Method in class de.bsommerfeld.pathetic.api.wrapper.PathPosition
isTarget() - Method in class de.bsommerfeld.pathetic.engine.Node
 
isTraversable() - Method in interface de.bsommerfeld.pathetic.api.provider.NavigationPoint
Returns whether the position is traversable or not.
isValid(NodeEvaluationContext) - Method in interface de.bsommerfeld.pathetic.api.pathing.processing.NodeValidationProcessor
Checks if the current node (PathPosition) (or the transition to it from the previous node) is valid according to the logic of this validator.
Iterables - Class in de.bsommerfeld.pathetic.engine.util
Utility class that provides methods for working with Iterables.
iterator() - Method in class de.bsommerfeld.pathetic.engine.result.PathImpl
 

J

join(Path) - Method in interface de.bsommerfeld.pathetic.api.pathing.result.Path
Deprecated.
join(Path) - Method in class de.bsommerfeld.pathetic.engine.result.PathImpl
Deprecated.
Delegates to PathUtils - you should use that too!
join(Path, Path) - Static method in class de.bsommerfeld.pathetic.engine.result.PathUtils
Concatenates two paths into a single continuous path.

K

keySetWithCleanup() - Method in class de.bsommerfeld.pathetic.engine.util.ExpiringHashMap
Removes expired entries and then returns the key set.

L

length() - Method in interface de.bsommerfeld.pathetic.api.pathing.result.Path
The length of the Path compiled from the number of positions
length() - Method in class de.bsommerfeld.pathetic.api.wrapper.PathVector
Calculates the length (magnitude) of this vector.
length() - Method in class de.bsommerfeld.pathetic.engine.result.PathImpl
 
LENGTH_LIMITED - Enum constant in enum de.bsommerfeld.pathetic.api.pathing.result.PathState
Signifies that the pathfinder reached its length limit
limit(Iterable<T>, int) - Static method in class de.bsommerfeld.pathetic.engine.util.Iterables
Returns an iterable that contains the first limitSize elements of the specified iterable.
LINEAR - Static variable in class de.bsommerfeld.pathetic.api.pathing.heuristic.HeuristicStrategies
 
LinearHeuristicStrategy - Class in de.bsommerfeld.pathetic.api.pathing.heuristic
A linear heuristic strategy combining multiple distance metrics for pathfinding.
LinearHeuristicStrategy() - Constructor for class de.bsommerfeld.pathetic.api.pathing.heuristic.LinearHeuristicStrategy
 
logFatalError(String) - Static method in class de.bsommerfeld.pathetic.engine.util.ErrorLogger
 
logFatalError(String, Throwable) - Static method in class de.bsommerfeld.pathetic.engine.util.ErrorLogger
 
logFatalErrorWithStacktrace(String, Throwable) - Static method in class de.bsommerfeld.pathetic.engine.util.ErrorLogger
 

M

manhattanDistance(PathPosition) - Method in class de.bsommerfeld.pathetic.api.wrapper.PathPosition
Deprecated.
marked for removal
markNodeAsExpanded(Node) - Method in class de.bsommerfeld.pathetic.engine.pathfinder.AbstractPathfinder
Marks the given node as expanded (i.e., added to the "closed set").
markNodeAsExpanded(Node) - Method in class de.bsommerfeld.pathetic.engine.pathfinder.AStarPathfinder
 
MAX_ITERATIONS_REACHED - Enum constant in enum de.bsommerfeld.pathetic.api.pathing.result.PathState
Signifies that the pathfinder reached its iteration limit
maxIterations(int) - Method in class de.bsommerfeld.pathetic.api.pathing.configuration.PathfinderConfiguration.PathfinderConfigurationBuilder
 
maxLength(int) - Method in class de.bsommerfeld.pathetic.api.pathing.configuration.PathfinderConfiguration.PathfinderConfigurationBuilder
 
merge(K, ExpiringHashMap.Entry<V>, BiFunction<? super ExpiringHashMap.Entry<V>, ? super ExpiringHashMap.Entry<V>, ? extends ExpiringHashMap.Entry<V>>) - Method in class de.bsommerfeld.pathetic.engine.util.ExpiringHashMap
 
mid() - Method in class de.bsommerfeld.pathetic.api.wrapper.PathPosition
Creates a new PathPosition with the coordinates set to the center of the block they are in.
midPoint(PathPosition) - Method in class de.bsommerfeld.pathetic.api.wrapper.PathPosition
Calculates the midpoint between this position and another position.
multiply(double) - Method in class de.bsommerfeld.pathetic.api.wrapper.PathVector
Creates a new PathVector by multiplying this vector by a scalar value.
mutatePositions(Path, ParameterizedSupplier<PathPosition>) - Static method in class de.bsommerfeld.pathetic.engine.result.PathUtils
Applies a transformation function to every position in the path.
mutatePositions(ParameterizedSupplier<PathPosition>) - Method in interface de.bsommerfeld.pathetic.api.pathing.result.Path
Deprecated.
mutatePositions(ParameterizedSupplier<PathPosition>) - Method in class de.bsommerfeld.pathetic.engine.result.PathImpl
Deprecated.
Delegates to PathUtils - you should use that too!

N

NavigationPoint - Interface in de.bsommerfeld.pathetic.api.provider
Represents information about a position in the pathfinding environment.
navigationPointProvider - Variable in class de.bsommerfeld.pathetic.engine.pathfinder.AbstractPathfinder
 
NavigationPointProvider - Interface in de.bsommerfeld.pathetic.api.provider
The NavigationPointProvider interface defines methods for retrieving navigation point data at specific positions within a 3D environment.
negativeCostsAllowed(boolean) - Method in class de.bsommerfeld.pathetic.api.pathing.configuration.PathfinderConfiguration.PathfinderConfigurationBuilder
 
NeighborStrategies - Class in de.bsommerfeld.pathetic.api.pathing
 
neighborStrategy(INeighborStrategy) - Method in class de.bsommerfeld.pathetic.api.pathing.configuration.PathfinderConfiguration.PathfinderConfigurationBuilder
 
Node - Class in de.bsommerfeld.pathetic.engine
Represents a node in the pathfinding graph.
Node(PathPosition, PathPosition, PathPosition, HeuristicWeights, IHeuristicStrategy, int) - Constructor for class de.bsommerfeld.pathetic.engine.Node
Creates a new Node with the specified parameters.
NodeCostProcessor - Interface in de.bsommerfeld.pathetic.api.pathing.processing
A processor that calculates a specific cost contribution for traversing to a node (PathPosition).
nodeCostProcessors - Variable in class de.bsommerfeld.pathetic.engine.pathfinder.AbstractPathfinder
 
nodeCostProcessors(List<NodeCostProcessor>) - Method in class de.bsommerfeld.pathetic.api.pathing.configuration.PathfinderConfiguration.PathfinderConfigurationBuilder
 
NodeEvaluationContext - Interface in de.bsommerfeld.pathetic.api.pathing.processing.context
Provides context for the evaluation of a single node (PathPosition) during a pathfinding search.
NodeEvaluationContextImpl - Class in de.bsommerfeld.pathetic.engine.pathfinder.processing
 
NodeEvaluationContextImpl(SearchContext, Node, Node, IHeuristicStrategy) - Constructor for class de.bsommerfeld.pathetic.engine.pathfinder.processing.NodeEvaluationContextImpl
Creates a new NodeEvaluationContextImpl with the specified parameters.
NodeValidationProcessor - Interface in de.bsommerfeld.pathetic.api.pathing.processing
A processor that validates whether a node (PathPosition) or the transition to it is permissible during pathfinding.
nodeValidationProcessors - Variable in class de.bsommerfeld.pathetic.engine.pathfinder.AbstractPathfinder
 
nodeValidationProcessors(List<NodeValidationProcessor>) - Method in class de.bsommerfeld.pathetic.api.pathing.configuration.PathfinderConfiguration.PathfinderConfigurationBuilder
 
noneOf(NodeValidationProcessor...) - Static method in class de.bsommerfeld.pathetic.api.pathing.processing.Validators
Creates a NodeValidationProcessor that evaluates to true if none of the provided validators evaluate to true (i.e., all evaluate to false).
noneOf(List<NodeValidationProcessor>) - Static method in class de.bsommerfeld.pathetic.api.pathing.processing.Validators
Creates a NodeValidationProcessor that evaluates to true if none of the provided validators evaluate to true (i.e., all evaluate to false).
normalize() - Method in class de.bsommerfeld.pathetic.api.wrapper.PathVector
Creates a new PathVector by normalizing this vector.
not(NodeValidationProcessor) - Static method in class de.bsommerfeld.pathetic.api.pathing.processing.Validators
Creates a NodeValidationProcessor that inverts the result of the given validator.
NumberUtils - Class in de.bsommerfeld.pathetic.api.util
Utility class for common number operations.

O

octileDistance(PathPosition) - Method in class de.bsommerfeld.pathetic.api.wrapper.PathPosition
Deprecated.
marked for removal
of(double) - Static method in class de.bsommerfeld.pathetic.api.pathing.processing.Cost
Factory method to create a Cost instance.
of(int) - Static method in class de.bsommerfeld.pathetic.api.wrapper.Depth
 
offsets - Variable in class de.bsommerfeld.pathetic.engine.pathfinder.AbstractPathfinder
 
onPathfindingStep(PathfindingContext) - Method in interface de.bsommerfeld.pathetic.api.pathing.hook.PathfinderHook
Called on each step of the pathfinding process.

P

ParameterizedSupplier<T> - Interface in de.bsommerfeld.pathetic.api.util
A functional interface representing a supplier that accepts a parameter and returns a result.
Path - Interface in de.bsommerfeld.pathetic.api.pathing.result
A Path is a sequence of positions that represents a path through a 3D space.
Pathetic - Class in de.bsommerfeld.pathetic.engine
 
Pathfinder - Interface in de.bsommerfeld.pathetic.api.pathing
A Pathfinder is a class that can find a path between two positions while following a given set of rules.
pathfinderConfiguration - Variable in class de.bsommerfeld.pathetic.engine.pathfinder.AbstractPathfinder
 
PathfinderConfiguration - Class in de.bsommerfeld.pathetic.api.pathing.configuration
Defines a set of configurable parameters that govern the behavior of the A* pathfinding algorithm.
PathfinderConfiguration.PathfinderConfigurationBuilder - Class in de.bsommerfeld.pathetic.api.pathing.configuration
 
PathfinderFactory - Interface in de.bsommerfeld.pathetic.api.factory
A factory interface for creating Pathfinder instances.
PathfinderHook - Interface in de.bsommerfeld.pathetic.api.pathing.hook
Interface for hooks that are called during the pathfinding process.
PathfinderInitializer - Interface in de.bsommerfeld.pathetic.api.factory
An interface for initializing Pathfinder instances.
PathfinderResult - Interface in de.bsommerfeld.pathetic.api.pathing.result
The result of a pathfinding operation.
PathfinderResultImpl - Class in de.bsommerfeld.pathetic.engine.result
 
PathfinderResultImpl(PathState, Path) - Constructor for class de.bsommerfeld.pathetic.engine.result.PathfinderResultImpl
 
PathfindingContext - Class in de.bsommerfeld.pathetic.api.pathing.hook
Context for the current step of the pathfinding process.
PathfindingContext(PathPosition, Depth) - Constructor for class de.bsommerfeld.pathetic.api.pathing.hook.PathfindingContext
 
PathfindingProgress - Class in de.bsommerfeld.pathetic.api.pathing
Immutable container for the three core positions in a pathfinding operation.
PathfindingProgress(PathPosition, PathPosition, PathPosition) - Constructor for class de.bsommerfeld.pathetic.api.pathing.PathfindingProgress
 
PathImpl - Class in de.bsommerfeld.pathetic.engine.result
 
PathImpl(PathPosition, PathPosition, Iterable<PathPosition>) - Constructor for class de.bsommerfeld.pathetic.engine.result.PathImpl
 
PathPosition - Class in de.bsommerfeld.pathetic.api.wrapper
Represents a position.
PathPosition(double, double, double) - Constructor for class de.bsommerfeld.pathetic.api.wrapper.PathPosition
Constructs a PathPosition with the specified coordinates.
PathState - Enum in de.bsommerfeld.pathetic.api.pathing.result
The state of a finished pathfinding process.
PathUtils - Class in de.bsommerfeld.pathetic.engine.result
Utility class providing post-processing operations on Path objects.
PathVector - Class in de.bsommerfeld.pathetic.api.wrapper
Represents a 3D vector within a pathfinding context.
PathVector(double, double, double) - Constructor for class de.bsommerfeld.pathetic.api.wrapper.PathVector
Constructs a PathVector with the specified x, y, and z components.
performAlgorithmCleanup() - Method in class de.bsommerfeld.pathetic.engine.pathfinder.AbstractPathfinder
Abstract method for algorithm-specific cleanup, called after pathfinding execution.
performAlgorithmCleanup() - Method in class de.bsommerfeld.pathetic.engine.pathfinder.AStarPathfinder
 
position() - Method in class de.bsommerfeld.pathetic.api.pathing.heuristic.HeuristicContext
The current to-evaluate position.
Processor - Interface in de.bsommerfeld.pathetic.api.pathing.processing
Base interface for pathfinding processors.
processSuccessors(PathPosition, PathPosition, Node, FibonacciHeap<Double, Node>, SearchContext) - Method in class de.bsommerfeld.pathetic.engine.pathfinder.AbstractPathfinder
Abstract method representing the core logic of processing successor nodes for a given currentNode.
processSuccessors(PathPosition, PathPosition, Node, FibonacciHeap<Double, Node>, SearchContext) - Method in class de.bsommerfeld.pathetic.engine.pathfinder.AStarPathfinder
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.
provider(NavigationPointProvider) - Method in class de.bsommerfeld.pathetic.api.pathing.configuration.PathfinderConfiguration.PathfinderConfigurationBuilder
 
put(K, ExpiringHashMap.Entry<V>) - Method in class de.bsommerfeld.pathetic.engine.util.ExpiringHashMap
 
putAll(Map<? extends K, ? extends ExpiringHashMap.Entry<V>>) - Method in class de.bsommerfeld.pathetic.engine.util.ExpiringHashMap
 
putIfAbsent(K, ExpiringHashMap.Entry<V>) - Method in class de.bsommerfeld.pathetic.engine.util.ExpiringHashMap
 
putValue(K, V) - Method in class de.bsommerfeld.pathetic.engine.util.ExpiringHashMap
Puts a value in the map with the default expiration time.
putValueIfAbsent(K, V) - Method in class de.bsommerfeld.pathetic.engine.util.ExpiringHashMap
Puts a value in the map if the key is not already associated with a value or if the current value has expired.
putWithExpiration(K, V, long, TimeUnit) - Method in class de.bsommerfeld.pathetic.engine.util.ExpiringHashMap
Puts a value in the map with a custom expiration time.

R

reconstructPath(Node) - Method in class de.bsommerfeld.pathetic.engine.pathfinder.AbstractPathfinder
Reconstructs the path by tracing back from the given end node to the start node.
registerPathfindingHook(PathfinderHook) - Method in interface de.bsommerfeld.pathetic.api.pathing.Pathfinder
Registers a PathfinderHook that will be called on every step of the pathfinding process.
registerPathfindingHook(PathfinderHook) - Method in class de.bsommerfeld.pathetic.engine.pathfinder.AbstractPathfinder
 
remove(Object) - Method in class de.bsommerfeld.pathetic.engine.util.ExpiringHashMap
 
remove(Object, Object) - Method in class de.bsommerfeld.pathetic.engine.util.ExpiringHashMap
 
removeValue(Object) - Method in class de.bsommerfeld.pathetic.engine.util.ExpiringHashMap
Removes the mapping for the specified key and returns the value that was associated with the key.
replace(K, ExpiringHashMap.Entry<V>) - Method in class de.bsommerfeld.pathetic.engine.util.ExpiringHashMap
 
replace(K, ExpiringHashMap.Entry<V>, ExpiringHashMap.Entry<V>) - Method in class de.bsommerfeld.pathetic.engine.util.ExpiringHashMap
 
replaceAll(BiFunction<? super K, ? super ExpiringHashMap.Entry<V>, ? extends ExpiringHashMap.Entry<V>>) - Method in class de.bsommerfeld.pathetic.engine.util.ExpiringHashMap
 

S

SearchContext - Interface in de.bsommerfeld.pathetic.api.pathing.processing.context
Provides context for an entire pathfinding search operation.
SearchContextImpl - Class in de.bsommerfeld.pathetic.engine.pathfinder.processing
 
SearchContextImpl(PathPosition, PathPosition, PathfinderConfiguration, NavigationPointProvider, EnvironmentContext) - Constructor for class de.bsommerfeld.pathetic.engine.pathfinder.processing.SearchContextImpl
 
setGCost(double) - Method in class de.bsommerfeld.pathetic.engine.Node
Sets the calculated G-cost for this node.
setParent(Node) - Method in class de.bsommerfeld.pathetic.engine.Node
 
setX(double) - Method in class de.bsommerfeld.pathetic.api.wrapper.PathPosition
Creates a new PathPosition with the same coordinates as this one, but with the x-coordinate set to the given value.
setX(double) - Method in class de.bsommerfeld.pathetic.api.wrapper.PathVector
Creates a new PathVector with the same y and z components as this vector, but with the x-component set to the given value.
setY(double) - Method in class de.bsommerfeld.pathetic.api.wrapper.PathPosition
Creates a new PathPosition with the same coordinates as this one, but with the y-coordinate set to the given value.
setY(double) - Method in class de.bsommerfeld.pathetic.api.wrapper.PathVector
Creates a new PathVector with the same x and z components as this vector, but with the y-component set to the given value.
setZ(double) - Method in class de.bsommerfeld.pathetic.api.wrapper.PathPosition
Creates a new PathPosition with the same coordinates as this one, but with the z-coordinate set to the given value.
setZ(double) - Method in class de.bsommerfeld.pathetic.api.wrapper.PathVector
Creates a new PathVector with the same x and y components as this vector, but with the z-component set to the given value.
simplify(double) - Method in interface de.bsommerfeld.pathetic.api.pathing.result.Path
Deprecated.
simplify(double) - Method in class de.bsommerfeld.pathetic.engine.result.PathImpl
Deprecated.
Delegates to PathUtils - you should use that too!
simplify(Path, double) - Static method in class de.bsommerfeld.pathetic.engine.result.PathUtils
Simplifies a path by retaining only every nth point based on an epsilon value.
size(Iterable<?>) - Static method in class de.bsommerfeld.pathetic.engine.util.Iterables
Returns the number of elements in the specified iterable.
sqrt(double) - Static method in class de.bsommerfeld.pathetic.api.util.NumberUtils
Computes the square root of the given value using an approximation method.
square(double) - Static method in class de.bsommerfeld.pathetic.api.util.NumberUtils
Squares the given value.
SQUARED - Static variable in class de.bsommerfeld.pathetic.api.pathing.heuristic.HeuristicStrategies
 
SquaredHeuristicStrategy - Class in de.bsommerfeld.pathetic.api.pathing.heuristic
A performance-optimized heuristic strategy using squared distance metrics.
SquaredHeuristicStrategy() - Constructor for class de.bsommerfeld.pathetic.api.pathing.heuristic.SquaredHeuristicStrategy
 
startPosition() - Method in class de.bsommerfeld.pathetic.api.pathing.heuristic.HeuristicContext
The overall start position of the pathfinding.
startPosition() - Method in class de.bsommerfeld.pathetic.api.pathing.PathfindingProgress
Returns the start position of the overall pathfinding process.
subtract(double, double, double) - Method in class de.bsommerfeld.pathetic.api.wrapper.PathPosition
Creates a new PathPosition by subtracting the given values from the coordinates of this position.
subtract(PathVector) - Method in class de.bsommerfeld.pathetic.api.wrapper.PathPosition
Creates a new PathPosition by subtracting the components of the given vector from the coordinates of this position.
subtract(PathVector) - Method in class de.bsommerfeld.pathetic.api.wrapper.PathVector
Creates a new PathVector by subtracting another vector from this vector.
successful() - Method in interface de.bsommerfeld.pathetic.api.pathing.result.PathfinderResult
Returns whether the pathfinding was successful.
successful() - Method in class de.bsommerfeld.pathetic.engine.result.PathfinderResultImpl
 

T

targetPosition() - Method in class de.bsommerfeld.pathetic.api.pathing.heuristic.HeuristicContext
The overall target position of the pathfinding.
targetPosition() - Method in class de.bsommerfeld.pathetic.api.pathing.PathfindingProgress
Returns the destination (target) position of the overall pathfinding process.
toString() - Method in class de.bsommerfeld.pathetic.api.pathing.configuration.PathfinderConfiguration
 
toString() - Method in class de.bsommerfeld.pathetic.api.pathing.heuristic.HeuristicWeights
 
toString() - Method in class de.bsommerfeld.pathetic.api.pathing.hook.PathfindingContext
 
toString() - Method in class de.bsommerfeld.pathetic.api.pathing.PathfindingProgress
 
toString() - Method in class de.bsommerfeld.pathetic.api.pathing.processing.Cost
 
toString() - Method in class de.bsommerfeld.pathetic.api.wrapper.PathPosition
 
toString() - Method in class de.bsommerfeld.pathetic.engine.util.ExpiringHashMap.Entry
 
toString() - Method in class de.bsommerfeld.pathetic.engine.util.Tuple3
 
toVector() - Method in class de.bsommerfeld.pathetic.api.wrapper.PathPosition
Creates a new PathVector from the coordinates of this position.
trim(int) - Method in interface de.bsommerfeld.pathetic.api.pathing.result.Path
Deprecated.
trim(int) - Method in class de.bsommerfeld.pathetic.engine.result.PathImpl
Deprecated.
Delegates to PathUtils - you should use that too!
trim(Path, int) - Static method in class de.bsommerfeld.pathetic.engine.result.PathUtils
Truncates a path to a maximum number of positions.
Tuple3<T> - Class in de.bsommerfeld.pathetic.engine.util
 
Tuple3(T, T, T) - Constructor for class de.bsommerfeld.pathetic.engine.util.Tuple3
 

V

Validators - Class in de.bsommerfeld.pathetic.api.pathing.processing
Utility class for creating and combining NodeValidationProcessor instances.
valueOf(String) - Static method in enum de.bsommerfeld.pathetic.api.pathing.result.PathState
Returns the enum constant of this type with the specified name.
values() - Static method in enum de.bsommerfeld.pathetic.api.pathing.result.PathState
Returns an array containing the constants of this enum type, in the order they are declared.
valuesWithCleanup() - Method in class de.bsommerfeld.pathetic.engine.util.ExpiringHashMap
Removes expired entries and then returns the values.
VERTICAL_AND_HORIZONTAL - Static variable in class de.bsommerfeld.pathetic.api.pathing.NeighborStrategies
Just checks adjacent nodes (up, down, left, right, forward, back).

X

x - Variable in class de.bsommerfeld.pathetic.engine.util.Tuple3
 

Y

y - Variable in class de.bsommerfeld.pathetic.engine.util.Tuple3
 

Z

z - Variable in class de.bsommerfeld.pathetic.engine.util.Tuple3
 
ZERO - Static variable in class de.bsommerfeld.pathetic.api.pathing.processing.Cost
A shared instance for zero cost.
A B C D E F G H I J K L M N O P R S T V X Y Z 
All Classes and Interfaces|All Packages|Serialized Form