[−][src]Trait ggpf::policies::SingleplayerPolicy
Single-player policy.
Required methods
#[must_use]fn solve<'life0, 'life1, 'async_trait>(
&'life0 mut self,
board: &'life1 T
) -> Pin<Box<dyn Future<Output = Vec<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 = Vec<T::Move>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
Plans the sequence of moves to finish the game.
Implementors
impl<G: Singleplayer + Clone> SingleplayerPolicy<G> for RandomPolicy
[src]
fn solve<'life0, 'life1, 'async_trait>(
self: &'life0 mut RandomPolicy,
board: &'life1 G
) -> Pin<Box<dyn Future<Output = Vec<G::Move>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
[src]
self: &'life0 mut RandomPolicy,
board: &'life1 G
) -> Pin<Box<dyn Future<Output = Vec<G::Move>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
impl<G: Singleplayer + Clone> SingleplayerPolicy<G> for NMCSPolicy
[src]
fn solve<'life0, 'life1, 'async_trait>(
self: &'life0 mut NMCSPolicy,
board: &'life1 G
) -> Pin<Box<dyn Future<Output = Vec<G::Move>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
[src]
self: &'life0 mut NMCSPolicy,
board: &'life1 G
) -> Pin<Box<dyn Future<Output = Vec<G::Move>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,