[−][src]Trait ggpf::policies::MultiplayerPolicy
A static policy.
Required methods
#[must_use]fn play<'life0, 'life1, 'async_trait>(
&'life0 mut self,
board: &'life1 T
) -> Pin<Box<dyn Future<Output = T::Move> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
&'life0 mut self,
board: &'life1 T
) -> Pin<Box<dyn Future<Output = T::Move> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
Chooses the next action given the current game state.
Implementors
impl<G> MultiplayerPolicy<G> for MuzPolicy<G> where
G: Features + 'static,
[src]
G: Features + 'static,
fn play<'life0, 'life1, 'async_trait>(
&'life0 mut self,
board: &'life1 G
) -> Pin<Box<dyn Future<Output = G::Move> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 mut self,
board: &'life1 G
) -> Pin<Box<dyn Future<Output = G::Move> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
impl<G, M> MultiplayerPolicy<G> for PPAPolicy<G, M> where
G: Game + SingleWinner + Clone + Eq + Hash,
M: MoveCode<G>,
[src]
G: Game + SingleWinner + Clone + Eq + Hash,
M: MoveCode<G>,
fn play<'life0, 'life1, 'async_trait>(
self: &'life0 mut PPAPolicy<G, M>,
board: &'life1 G
) -> Pin<Box<dyn Future<Output = G::Move> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
[src]
self: &'life0 mut PPAPolicy<G, M>,
board: &'life1 G
) -> Pin<Box<dyn Future<Output = G::Move> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
impl<G, MCTS> MultiplayerPolicy<G> for WithMCTSPolicy<G, MCTS> where
G: MCTSGame,
MCTS: BaseMCTSPolicy<G> + Sync + Send,
[src]
G: MCTSGame,
MCTS: BaseMCTSPolicy<G> + Sync + Send,
fn play<'life0, 'life1, 'async_trait>(
&'life0 mut self,
board: &'life1 G
) -> Pin<Box<dyn Future<Output = G::Move> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 mut self,
board: &'life1 G
) -> Pin<Box<dyn Future<Output = G::Move> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
impl<G: Game + SingleWinner + Clone> MultiplayerPolicy<G> for FlatMonteCarloPolicy<G>
[src]
fn play<'life0, 'life1, 'async_trait>(
self: &'life0 mut FlatMonteCarloPolicy<G>,
board: &'life1 G
) -> Pin<Box<dyn Future<Output = G::Move> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
[src]
self: &'life0 mut FlatMonteCarloPolicy<G>,
board: &'life1 G
) -> Pin<Box<dyn Future<Output = G::Move> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
impl<G: Game + SingleWinner + Clone> MultiplayerPolicy<G> for FlatUCBMonteCarloPolicy<G>
[src]
fn play<'life0, 'life1, 'async_trait>(
self: &'life0 mut FlatUCBMonteCarloPolicy<G>,
board: &'life1 G
) -> Pin<Box<dyn Future<Output = G::Move> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
[src]
self: &'life0 mut FlatUCBMonteCarloPolicy<G>,
board: &'life1 G
) -> Pin<Box<dyn Future<Output = G::Move> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
impl<G: Game + SingleWinner + Clone> MultiplayerPolicy<G> for MultiNMCSPolicy<G>
[src]
fn play<'life0, 'life1, 'async_trait>(
self: &'life0 mut MultiNMCSPolicy<G>,
board: &'life1 G
) -> Pin<Box<dyn Future<Output = G::Move> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
[src]
self: &'life0 mut MultiNMCSPolicy<G>,
board: &'life1 G
) -> Pin<Box<dyn Future<Output = G::Move> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,