SwitchRule
model.managers.DecisionManager.SwitchRule
case class SwitchRule(profile: RiskProfile, game: GameType, strategy: BetStratType, trigger: Trigger[A], nextStrategy: BetStratType, betPercentage: Double)
Defines a single rule for switching betting strategies or influencing customer decisions. These rules are evaluated by the Decision Tree.
Value parameters
- betPercentage
-
The percentage of the customer's bankroll to use for the new bet amount.
- game
-
The specific GameType to which this rule applies.
- nextStrategy
-
The BetStratType to switch to if the rule activates.
- profile
-
The RiskProfile to which this rule applies.
- strategy
-
The current BetStratType of the customer for this rule to be active.
- trigger
-
A TriggerDSL condition that must be met for the rule to activate.
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article