summaryrefslogtreecommitdiff
path: root/src/solver.rs
blob: c289cd657333d463988293b3ba419a68fccce4cd (plain)
1
2
3
4
5
6
7
8
9
use crate::structs::StoneWall;

pub trait Solver {
    fn new(n: u32) -> Self;
    fn solve(&mut self) -> StoneWall;
    fn n(&self) -> u32;
    fn h(&self) -> u32;
    fn w(&self) -> u32;
}