moveHeuristicMult
Multiplier for the heuristic function in the A* pathfinding algorithm. Higher values make the pathfinder prefer more direct routes (greedy behavior) at the cost of potentially missing shorter detour paths. Lower values produce more thorough but slower searches.
Default value: 93.
In Python, use GetMoveHeuristicMult() / SetMoveHeuristicMult(value).
Множитель эвристической функции в алгоритме поиска пути A*. Большие значения заставляют поиск пути предпочитать более прямые маршруты (жадное поведение) ценой возможного пропуска коротких обходных путей. Меньшие значения дают более тщательный, но медленный поиск.
Значение по умолчанию: 93.
В Python используйте GetMoveHeuristicMult() / SetMoveHeuristicMult(value).
var moveHeuristicMult: Integer;
def GetMoveHeuristicMult() -> int: ...
def SetMoveHeuristicMult(Value: int) -> None: ...
begin
moveHeuristicMult := 120;
AddToSystemJournal('moveHeuristicMult = ' + IntToStr(moveHeuristicMult));
end.
SetMoveHeuristicMult(120)
AddToSystemJournal(f'moveHeuristicMult = {GetMoveHeuristicMult()}')