pub struct InnocentStrategy {
pub responses: HashMap<Vec<usize>, usize>,
}Expand description
An innocent strategy: a prefix-closed set of P-views (encoded as sequences of move ids) along with the P-response for each view.
Fields§
§responses: HashMap<Vec<usize>, usize>Map from P-view (sequence of move ids) → P-move id chosen in response.
Implementations§
Trait Implementations§
Source§impl Clone for InnocentStrategy
impl Clone for InnocentStrategy
Source§fn clone(&self) -> InnocentStrategy
fn clone(&self) -> InnocentStrategy
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InnocentStrategy
impl Debug for InnocentStrategy
Auto Trait Implementations§
impl Freeze for InnocentStrategy
impl RefUnwindSafe for InnocentStrategy
impl Send for InnocentStrategy
impl Sync for InnocentStrategy
impl Unpin for InnocentStrategy
impl UnsafeUnpin for InnocentStrategy
impl UnwindSafe for InnocentStrategy
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more