csharp
public static class UtilitySelectorsThe selectors that ship.
Fields and properties (3)
public static IUtilitySelector HighestThe best one. Deterministic, and correct for anything a designer must be able to predict.
public static IUtilitySelector WeightedRandomScore as weight. Natural-looking and occasionally stupid.
public static IUtilitySelector BucketedDual utility: the best group wins, and only its members are considered.
Methods (2)
public static IUtilitySelector TopWeightedRandom(int count)Weighted random among the best few, which is the one most games actually want.
public static IUtilitySelector TopWeightedRandomFraction(float fraction)Weighted random among the best fraction.
Used by (5)
- BucketedSelectorVixen.Ai
- HighestSelectorVixen.Ai
- UtilitySelectorTestsVixen.Ai.Tests
- UtilitySetVixen.Ai
- UtilitySetContentVixen.Ai