From 51c8d727110e812eb41dae27fba7af4490258b8a Mon Sep 17 00:00:00 2001 From: tali Date: Sun, 16 Apr 2023 03:12:24 -0400 Subject: [PATCH] fix reexport of heuristic functions so they can be used by benches --- fish/src/eval.rs | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/fish/src/eval.rs b/fish/src/eval.rs index eaa0791..7e13cc6 100644 --- a/fish/src/eval.rs +++ b/fish/src/eval.rs @@ -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), ], ) }