Vixen
caa30e12
csharp
public interface IUtilitySelector

Which of the scored actions wins.

Read the guide page for this →

Remarks

doc 37 § D9's seam. Highest-scoring is one rule and it is not always the right one — but all four of the shipped rules are about the scores, and none of them knows that there is an action already running. ⚠ Inertia is deliberately not here; it is on the set, because it is about the running action.

A selector must be a pure function of the scores and the agent's own random stream, so that doc 37 § D18's determinism holds: a replay of the same tick makes the same choice.

Methods (1)

Used by (9)

  • BucketedSelectorVixen.Ai
  • HighestSelectorVixen.Ai
  • SeamTestsVixen.Ai.Nodes.Tests
  • TopWeightedRandomSelectorVixen.Ai
  • UtilitySelectorTestsVixen.Ai.Tests
  • UtilitySelectorsVixen.Ai
  • UtilitySetVixen.Ai
  • UtilitySetContentVixen.Ai
  • WeightedRandomSelectorVixen.Ai