BanditPolicySpec
Wire-portable specification for a BanditPolicy.
Each variant @SerialNames to its policy's class name so a JSON $type payload mirrors what a Kotlin reader would type. Construction lives in BanditFactory.
Specs that take an Arm or Posterior consume them directly; those hierarchies are already sealed-and-@Serializable so they round-trip on the wire alongside the policy.
Inheritors
Functions
Link copied to clipboard
Build a live BanditPolicy from its spec.