AITealConverseStrategist
class AITealConverseStrategist : AITreeStrategy
A decision tree-based agent that uses a model trained with CoreML to produce results.
-
The ML model the agent will use to make decisions.
Declaration
Swift
var model: TealConverse? -
Initialize the strategist.
Declaration
Swift
override init() -
Returns the best move for the active player.
Declaration
Swift
override func bestMoveForActivePlayer() -> GKGameModelUpdate? -
Returns an input that satisfies the ML model with a state assessement.
Declaration
Swift
func assessToInput(state: AIAbstractGameState) -> TealConverseInput