moveHeuristicMult
Multiplier for the heuristic function in the A* pathfinding algorithm, in percent (100 = exact octile distance). 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: 120. The path calculation clamps the value to the 0..1000 range.
In Python, use GetMoveHeuristicMult() / SetMoveHeuristicMult(value).
Множитель эвристической функции в алгоритме поиска пути A*, в процентах (100 = точная octile-дистанция). Большие значения заставляют поиск пути предпочитать более прямые маршруты (жадное поведение) ценой возможного пропуска коротких обходных путей. Меньшие значения дают более тщательный, но медленный поиск.
Значение по умолчанию: 120. При расчете пути значение ограничивается диапазоном 0..1000.
В 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()}')