csharp
public record class GoapSettingsWhat bounds a search.
Remarks
⚠ A GOAP search is exponential in depth and the engine must not hang on a badly authored action set. That is doc 37 § D10's mandatory bound, and the two numbers are the whole of it: exceeding either produces BudgetExhausted or DepthExceeded naming the goal, which the debugger shows and a test asserts. The defaults target doc 28's stated scale — "the few dozen agents where emergent behaviour is the point, not the thousand critters" — and a project that wants deeper plans says so and pays for them.
Fields and properties (4)
public static GoapSettings DefaultThe shipped bounds.
public int NodeBudgetHow many nodes one search may expand.
public int DepthLimitHow long a chain may get.
public float DistanceCostHow much a metre of distance adds to an action's cost.
Used by (8)
- VillageTestsAiVillage.Agent.Tests
- AiSystemVixen.Ai
- GoapAgentTestsVixen.Ai.Tests
- GoapBudgetTestsVixen.Ai.Tests
- GoapDomainContentVixen.Ai
- GoapPlanQueueVixen.Ai
- GoapPlannerVixen.Ai
- GoapThroughputTestsVixen.Ai.Tests