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 Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product