fix reexport of heuristic functions so they can be used by benches

This commit is contained in:
tali 2023-04-16 03:12:24 -04:00
parent 78f4c80e8e
commit 51c8d72711
1 changed files with 7 additions and 4 deletions

View File

@ -3,6 +3,9 @@ use mino::Mat;
mod basic;
mod downstacking;
pub use basic::{i_deps, max_height, row_trans};
pub use downstacking::mystery_mdse;
#[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
pub struct Features(pub usize, pub [i32; 4]);
@ -12,10 +15,10 @@ pub fn features(mat: &Mat, pcnt: usize) -> Features {
Features(
pcnt,
[
basic::max_height(mat),
basic::i_deps(mat),
basic::row_trans(mat),
downstacking::mystery_mdse(mat),
max_height(mat),
i_deps(mat),
row_trans(mat),
mystery_mdse(mat),
],
)
}