Vixen
caa30e12
csharp
public record class GoapSettings

What bounds a search.

Read the guide page for this →

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 Default

    The shipped bounds.

  • public int NodeBudget

    How many nodes one search may expand.

  • public int DepthLimit

    How long a chain may get.

  • public float DistanceCost

    How much a metre of distance adds to an action's cost.

Used by (7)

  • AiSystemVixen.Ai
  • GoapAgentTestsVixen.Ai.Tests
  • GoapBudgetTestsVixen.Ai.Tests
  • GoapDomainContentVixen.Ai
  • GoapPlanQueueVixen.Ai
  • GoapPlannerVixen.Ai
  • GoapThroughputTestsVixen.Ai.Tests