BuildableWithInteger

Trait BuildableWithInteger 

Source
pub trait BuildableWithInteger<Space> {
    // Required method
    fn create_with_integer(s: Rc<RefCell<Space>>, d: usize) -> Self;
}
Expand description

indicates that the algorithm can be created using an integer parameter d (for instance beam search, MBA*, etc.) useful for iterative beam search, iterative MBA*, etc.

Required Methods§

Source

fn create_with_integer(s: Rc<RefCell<Space>>, d: usize) -> Self

constructor taking an integer as a parameter.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<N, B, G, Space> BuildableWithInteger<Space> for BeamSearch<N, B, G, Space>
where N: Clone, B: PartialOrd + Copy,

Source§

impl<N, B, G, Tree> BuildableWithInteger<Tree> for PEBeamSearch<N, B, G, Tree>
where N: Clone, B: PartialOrd + Copy,