You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i am looking for a way to just pathfind faster, not looking for optimal paths, but deciding on a path and getting to work faster.
in other words, i dont want the "most optimal path that is the shortest way", i want a path that "works but isn't the optimal", in a shorter amount of time
what settings should i be tweaking? which features could i completely disable in order to make the pathfind faster?
secondary question: what about the other way around? what if i want baritone to spend, lets say, 5x more time on pathfinding but find more optimal paths?
The text was updated successfully, but these errors were encountered:
You can always play with timeouts (primaryTimeoutMS, failureTimeoutMS, failureTimeoutMS, planAheadFailureTimeoutMS) to make it spend more or less time on finding a path all the way to the goal. Reducing the timeouts will force it to guess which segment is best more often and hence lead to worse paths (or looping in really difficult terrain) while being faster for obvious reasons.
By default any segment is guaranteed to be a shortest path from its start to its end (barring a very unlikely edge case where the optimal path goes through unknown terrain but a suboptimal path can be found without hitting more than 50 dead ends caused by unknown terrain)
If you want to actually mess with that guarantee you can increase costHeuristic, making A* more greedy and potentially faster if the path actually goes more or less straight towards the goal. Increasing that setting will bias search towards the goal, but also allow for suboptimal paths. (iirc increasing the setting by some factor allows path length to increase by roughly the same factor).
What do you need help with?
i am looking for a way to just pathfind faster, not looking for optimal paths, but deciding on a path and getting to work faster.
in other words, i dont want the "most optimal path that is the shortest way", i want a path that "works but isn't the optimal", in a shorter amount of time
what settings should i be tweaking? which features could i completely disable in order to make the pathfind faster?
secondary question: what about the other way around? what if i want baritone to spend, lets say, 5x more time on pathfinding but find more optimal paths?
The text was updated successfully, but these errors were encountered: