Skip to content

Commit

Permalink
Expose DefaultTasoOptimiser
Browse files Browse the repository at this point in the history
  • Loading branch information
lmondada committed Sep 26, 2023
1 parent 1eebccd commit 27c48d4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/optimiser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
//! Currently, the only optimiser is TASO
pub mod taso;
pub use taso::TasoOptimiser;
pub use taso::{DefaultTasoOptimiser, TasoOptimiser};
3 changes: 3 additions & 0 deletions src/optimiser/taso.rs
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,7 @@ mod taso_default {

use super::*;

/// The default TASO optimiser using ECC sets.
pub type DefaultTasoOptimiser = TasoOptimiser<
ECCRewriter,
ExhaustiveRewriteStrategy<fn(&OpType) -> bool>,
Expand All @@ -326,3 +327,5 @@ mod taso_default {
.count()
}
}
#[cfg(feature = "portmatching")]
pub use taso_default::DefaultTasoOptimiser;

0 comments on commit 27c48d4

Please sign in to comment.