TreeSearchPolicy
public protocol TreeSearchPolicy
Policy for more direct control over a strategy’s execution
-
Filter out moves to be ignored at any stage of the game.
Declaration
Swift
func filterMoves<G: GeneratorType where G.Element == Game.Move>(state: Game, depth: Int, moves: G) -> AnyGenerator<Game.Move>
-
The given game type to be reasoned about.
Declaration
Swift
associatedtype Game: Strategist.Game
-
Whether the strategy should abort a given exploration.
Declaration
Swift
func hasReachedMaxExplorationDepth(depth: Int) -> Bool