Skip to main content

solverforge_scoring/constraint/
mod.rs

1/* Zero-erasure monomorphized constraint infrastructure.
2
3This module provides a fully monomorphized constraint evaluation system where
4all closures are stored as concrete generic types - no Arc, no dyn,
5fully monomorphized.
6
7# Key Benefits
8
9- **No hot-path erasure**: Filters and weights are generic type params
10- **Inline evaluation**: No boxing or downcasting per predicate call
11- **Monomorphized pipelines**: Each constraint is fully specialized
12*/
13
14#[macro_use]
15pub mod macros;
16pub mod balance;
17pub mod incremental;
18mod incremental_markers;
19pub mod list_precedence;
20pub mod projected;
21pub mod relational;
22pub mod shared;
23
24#[cfg(test)]
25mod tests;
26
27pub use balance::BalanceConstraint;
28pub use incremental::IncrementalUniConstraint;
29pub use list_precedence::ListPrecedenceMakespanConstraint;