pub struct InformationSet {
pub id: usize,
pub player: usize,
pub nodes: Vec<NodeId>,
pub actions: Vec<String>,
}Expand description
An information set groups nodes that a player cannot distinguish between.
Fields§
§id: usizeUnique identifier for this information set.
player: usizeThe player who owns this information set.
nodes: Vec<NodeId>The nodes in this information set.
actions: Vec<String>Available actions (shared across all nodes in the set).
Trait Implementations§
Source§impl Clone for InformationSet
impl Clone for InformationSet
Source§fn clone(&self) -> InformationSet
fn clone(&self) -> InformationSet
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for InformationSet
impl RefUnwindSafe for InformationSet
impl Send for InformationSet
impl Sync for InformationSet
impl Unpin for InformationSet
impl UnsafeUnpin for InformationSet
impl UnwindSafe for InformationSet
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