BfsCallback

Trait BfsCallback 

Source
pub trait BfsCallback {
    // Required methods
    fn new_state(&mut self, depth: usize, state: u64);
    fn end_of_chunk(&self, depth: usize, chunk_idx: usize);
}
Expand description

Defines callback functions that run during the BFS.

Required Methods§

Source

fn new_state(&mut self, depth: usize, state: u64)

Called when a new node is visited.

Source

fn end_of_chunk(&self, depth: usize, chunk_idx: usize)

Called when a chunk of the bit array has finished processing.

Implementors§