pub trait Alphabet<S: Symbolic> {
    // Required method
    fn is_viable(&self, symbol: &S) -> bool;

    // Provided method
    fn default_symbol(&self) -> S { ... }
}
Expand description

Alphabet describes an immutable set of Symbolic elements

Required Methods§

source

fn is_viable(&self, symbol: &S) -> bool

Returns true if the symbol is in the alphabet

Provided Methods§

Implementations on Foreign Types§

source§

impl<S: Symbolic> Alphabet<S> for BTreeSet<S>

source§

fn is_viable(&self, symbol: &S) -> bool

source§

fn default_symbol(&self) -> S

source§

impl<S: Symbolic> Alphabet<S> for Vec<S>

source§

fn is_viable(&self, symbol: &S) -> bool

source§

fn default_symbol(&self) -> S

source§

impl<S: Symbolic> Alphabet<S> for HashSet<S>

source§

fn is_viable(&self, symbol: &S) -> bool

source§

fn default_symbol(&self) -> S

Implementors§

source§

impl<S: Symbolic> Alphabet<S> for Machine<S>

source§

impl<S: Symbolic> Alphabet<S> for Program<S>