[][src]Trait nonogrid::solver::probing::ProbeSolver

pub trait ProbeSolver {
type BlockType: Block;
    fn with_board(board: MutRc<Board<Self::BlockType>>) -> Self;
fn unsolved_cells(&self) -> PQ<Point, OrderedFloat<f64>, DefaultHashBuilder>;
fn propagate_point<S>(
        &self,
        point: &Point
    ) -> Result<Vec<(Point, OrderedFloat<f64>)>, String>
    where
        S: LineSolver<BlockType = Self::BlockType>
;
fn run<S>(
        &self,
        probes: &mut PQ<Point, OrderedFloat<f64>, DefaultHashBuilder>
    ) -> Result<Impact<Self::BlockType>, String>
    where
        S: LineSolver<BlockType = Self::BlockType>
; fn run_unsolved<S>(&self) -> Result<Impact<Self::BlockType>, String>
    where
        S: LineSolver<BlockType = Self::BlockType>
, { ... } }

Associated Types

Loading content...

Required methods

fn with_board(board: MutRc<Board<Self::BlockType>>) -> Self

fn unsolved_cells(&self) -> PQ<Point, OrderedFloat<f64>, DefaultHashBuilder>

fn propagate_point<S>(
    &self,
    point: &Point
) -> Result<Vec<(Point, OrderedFloat<f64>)>, String> where
    S: LineSolver<BlockType = Self::BlockType>, 

fn run<S>(
    &self,
    probes: &mut PQ<Point, OrderedFloat<f64>, DefaultHashBuilder>
) -> Result<Impact<Self::BlockType>, String> where
    S: LineSolver<BlockType = Self::BlockType>, 

Loading content...

Provided methods

fn run_unsolved<S>(&self) -> Result<Impact<Self::BlockType>, String> where
    S: LineSolver<BlockType = Self::BlockType>, 

Loading content...

Implementors

impl<B> ProbeSolver for FullProbe1<B> where
    B: Block
[src]

type BlockType = B

fn run_unsolved<S>(&self) -> Result<Impact<Self::BlockType>, String> where
    S: LineSolver<BlockType = Self::BlockType>, 
[src]

Loading content...